Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009582/0.0009582, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001044/0.001044, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001829/0.001829, allocations: 233.8 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7169/0.7169, allocations: 138.4 MB / 455.2 MB, free: 1.547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.982e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004034/0.004053, allocations: 3.839 MB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.004195, allocations: 171.3 kB / 0.559 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.004216, allocations: 0 / 0.559 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.004321, allocations: 0 / 0.559 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.004401, allocations: 15.91 kB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.004688, allocations: 91.61 kB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.088e-05/0.004769, allocations: 35.84 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.004805, allocations: 4 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.004857, allocations: 15.92 kB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.004927, allocations: 15.97 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.00494, allocations: 0 / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.005391, allocations: 207.3 kB / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.005429, allocations: 4 kB / 0.5594 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.005451, allocations: 15.92 kB / 0.5594 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.005572, allocations: 67.8 kB / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005575, allocations: 0 / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005575, allocations: 0 / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00558, allocations: 0 / 0.5595 GB, free: 12.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003217/0.005901, allocations: 364.6 kB / 0.5598 GB, free: 11.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005937, allocations: 12.75 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.005983, allocations: 0.9375 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.006064, allocations: 112.6 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.006125, allocations: 55.97 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.006136, allocations: 4.375 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.006255, allocations: 84.58 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.006263, allocations: 192 / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.006275, allocations: 3.938 kB / 0.5601 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.006301, allocations: 4 kB / 0.5601 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.006328, allocations: 11.98 kB / 0.5601 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.006671, allocations: 251.8 kB / 0.5603 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/0.006709, allocations: 31 kB / 0.5604 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.006724, allocations: 15.69 kB / 0.5604 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.006764, allocations: 7.984 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.006785, allocations: 33.39 kB / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.006786, allocations: 4 kB / 0.5604 GB, free: 10.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.0069, allocations: 37.66 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.006931, allocations: 51.41 kB / 0.5605 GB, free: 10.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.007004, allocations: 169.9 kB / 0.5607 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.007015, allocations: 25.7 kB / 0.5607 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.007063, allocations: 138.8 kB / 0.5608 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.007068, allocations: 3.938 kB / 0.5608 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.007094, allocations: 19.38 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.007241, allocations: 0.4923 MB / 0.5613 GB, free: 9.941 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.00725, allocations: 128 / 0.5613 GB, free: 9.941 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.00727, allocations: 23.38 kB / 0.5613 GB, free: 9.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.007297, allocations: 23.38 kB / 0.5614 GB, free: 9.879 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.007298, allocations: 4 kB / 0.5614 GB, free: 9.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.28e-05/0.007351, allocations: 53.52 kB / 0.5614 GB, free: 9.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.007362, allocations: 4 kB / 0.5614 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.007366, allocations: 0 / 0.5614 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.007377, allocations: 0 / 0.5614 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.007413, allocations: 11.98 kB / 0.5614 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.007418, allocations: 4.062 kB / 0.5614 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.00743, allocations: 0 / 0.5614 GB, free: 9.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.007439, allocations: 4 kB / 0.5614 GB, free: 9.793 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.052e-05/0.007499, allocations: 156.6 kB / 0.5616 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.007513, allocations: 7.875 kB / 0.5616 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.265e-05/0.007606, allocations: 163.7 kB / 0.5618 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/0.007662, allocations: 272.1 kB / 0.562 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.00772, allocations: 268 kB / 0.5623 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/0.007775, allocations: 264.1 kB / 0.5625 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.00795, allocations: 0.4959 MB / 0.563 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/0.007984, allocations: 148.9 kB / 0.5631 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.008018, allocations: 144.9 kB / 0.5633 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-05/0.008076, allocations: 272 kB / 0.5635 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.008139, allocations: 280.2 kB / 0.5638 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.814e-05/0.008197, allocations: 268 kB / 0.5641 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-05/0.00825, allocations: 264.1 kB / 0.5643 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.00837, allocations: 448 kB / 0.5647 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.008412, allocations: 156.8 kB / 0.5649 GB, free: 6.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.008483, allocations: 276 kB / 0.5652 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.008579, allocations: 149.2 kB / 0.5653 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.008643, allocations: 276 kB / 0.5656 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.008677, allocations: 148.9 kB / 0.5657 GB, free: 5.227 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.888e-05/0.008716, allocations: 123.2 kB / 0.5658 GB, free: 5.105 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008716, allocations: 0 / 0.5658 GB, free: 5.105 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.008885, allocations: 23.88 kB / 0.5658 GB, free: 5.082 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001436/0.009028, allocations: 234.3 kB / 0.5661 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.009101, allocations: 31.59 kB / 0.5661 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009103, allocations: 0 / 0.5661 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.009104, allocations: 128 / 0.5661 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.009413, allocations: 0.7101 MB / 0.5668 GB, free: 4.094 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.009804, allocations: 229.7 kB / 0.567 GB, free: 3.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.009839, allocations: 63.14 kB / 0.5671 GB, free: 3.758 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.782e-05/0.009867, allocations: 6.75 kB / 0.5671 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.009888, allocations: 16.5 kB / 0.5671 GB, free: 3.738 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009888, allocations: 0 / 0.5671 GB, free: 3.738 MB / 490.7 MB Notification: Performance of Templates: time 0.002275/0.01216, allocations: 0.7508 MB / 0.5678 GB, free: 3.012 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.577970478218049]