Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 166.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.239/1.239, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.151e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6579/0.6579, allocations: 147.7 MB / 0.7628 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009317/0.6673, allocations: 5.997 MB / 0.7687 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/0.6678, allocations: 16.5 kB / 0.7687 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.6685, allocations: 178.1 kB / 0.7689 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.6709, allocations: 0.8616 MB / 0.7697 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.672, allocations: 401.6 kB / 0.7701 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008993/0.6729, allocations: 0.7137 MB / 0.7708 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.6733, allocations: 215.1 kB / 0.771 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.6751, allocations: 0.827 MB / 0.7718 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.6755, allocations: 233.9 kB / 0.772 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.6756, allocations: 22.56 kB / 0.772 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.6762, allocations: 289.5 kB / 0.7723 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.6763, allocations: 115.7 kB / 0.7724 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.6765, allocations: 122.6 kB / 0.7725 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007552/0.6773, allocations: 481.6 kB / 0.773 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6773, allocations: 0 / 0.773 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6773, allocations: 1.219 kB / 0.773 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.6773, allocations: 0 / 0.773 GB, free: 8.891 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001/0.6783, allocations: 0.5466 MB / 0.7735 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6783, allocations: 12.56 kB / 0.7735 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.6786, allocations: 63.47 kB / 0.7736 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.6792, allocations: 265.6 kB / 0.7739 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.6792, allocations: 23.25 kB / 0.7739 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.6793, allocations: 24.16 kB / 0.7739 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.6798, allocations: 316.7 kB / 0.7742 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.6799, allocations: 7.938 kB / 0.7742 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.6799, allocations: 10.53 kB / 0.7742 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.6799, allocations: 8.25 kB / 0.7742 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.6803, allocations: 196.3 kB / 0.7744 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.6818, allocations: 1.124 MB / 0.7755 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.682, allocations: 113.2 kB / 0.7756 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6822, allocations: 83.64 kB / 0.7757 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/0.6827, allocations: 78.98 kB / 0.7758 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6827, allocations: 30.56 kB / 0.7758 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.6827, allocations: 3.938 kB / 0.7758 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007809/0.6835, allocations: 267.7 kB / 0.7761 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6835, allocations: 55.41 kB / 0.7761 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.6838, allocations: 226.7 kB / 0.7763 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.6838, allocations: 28.42 kB / 0.7764 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.684, allocations: 198.8 kB / 0.7766 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.6841, allocations: 52.59 kB / 0.7766 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.6841, allocations: 31.12 kB / 0.7766 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.6843, allocations: 332.3 kB / 0.777 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.6845, allocations: 57.58 kB / 0.777 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.6848, allocations: 195.2 kB / 0.7772 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.6851, allocations: 175.5 kB / 0.7774 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6851, allocations: 0 / 0.7774 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004379/0.6856, allocations: 209.8 kB / 0.7776 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6856, allocations: 14.19 kB / 0.7776 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6856, allocations: 4.812 kB / 0.7776 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6856, allocations: 2.625 kB / 0.7776 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.6858, allocations: 36.3 kB / 0.7776 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6858, allocations: 8.531 kB / 0.7776 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.686, allocations: 16.5 kB / 0.7776 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.686, allocations: 13.55 kB / 0.7777 GB, free: 5.184 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.6862, allocations: 150.3 kB / 0.7778 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.6862, allocations: 26.67 kB / 0.7778 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004745/0.6867, allocations: 208.3 kB / 0.778 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6867, allocations: 0 / 0.778 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6867, allocations: 2.875 kB / 0.778 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6867, allocations: 0 / 0.778 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6877, allocations: 0.5966 MB / 0.7786 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6877, allocations: 0 / 0.7786 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.6879, allocations: 30.17 kB / 0.7786 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6879, allocations: 2.25 kB / 0.7786 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.6879, allocations: 6.859 kB / 0.7786 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6879, allocations: 3.156 kB / 0.7786 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6879, allocations: 2.844 kB / 0.7787 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.6884, allocations: 332.2 kB / 0.779 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.6885, allocations: 37.22 kB / 0.779 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.6885, allocations: 10.98 kB / 0.779 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.6887, allocations: 5.219 kB / 0.779 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.6887, allocations: 17.98 kB / 0.779 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6888, allocations: 5.281 kB / 0.779 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001562/0.6889, allocations: 170.5 kB / 0.7792 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.6889, allocations: 2.438 kB / 0.7792 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003722/0.6893, allocations: 77.81 kB / 0.7793 GB, free: 3.961 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.6895, allocations: 138.8 kB / 0.7794 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.6899, allocations: 162.1 kB / 0.7796 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.69, allocations: 0 / 0.7796 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.6901, allocations: 80.95 kB / 0.7796 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006211/0.6907, allocations: 103.5 kB / 0.7797 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.6918, allocations: 0.5149 MB / 0.7802 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.692, allocations: 175.6 kB / 0.7804 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.6921, allocations: 46.8 kB / 0.7805 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.6922, allocations: 23.69 kB / 0.7805 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.6922, allocations: 4 kB / 0.7805 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of Templates: time 0.008733/0.7009, allocations: 3.658 MB / 0.7841 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.568946301937103] Failed to read output from testmodel.py, exit status != 0: 0.7098659127950668 0.723230943 0.043047572 Calling exit ...