Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001062/0.001062, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001858/0.001858, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.9879/0.9879, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.001604/0.001604, allocations: 245.8 kB / 260.5 MB, free: 12.65 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.8283/0.8283, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.265e-05, allocations: 5.969 kB / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005471/0.005494, allocations: 4.157 MB / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.005679, allocations: 163.4 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.005708, allocations: 0 / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.975e-05/0.005807, allocations: 8 kB / 0.5598 GB, free: 11.58 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.005883, allocations: 11.92 kB / 0.5598 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.006213, allocations: 83.62 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.006293, allocations: 43.77 kB / 0.5599 GB, free: 11.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.006329, allocations: 4 kB / 0.5599 GB, free: 11.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.006397, allocations: 15.97 kB / 0.5599 GB, free: 11.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.006467, allocations: 11.98 kB / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.006481, allocations: 4 kB / 0.5599 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.006657, allocations: 55.81 kB / 0.56 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.006696, allocations: 7.984 kB / 0.56 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.006715, allocations: 11.94 kB / 0.56 GB, free: 11.33 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.006857, allocations: 67.8 kB / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006859, allocations: 0 / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006859, allocations: 0 / 0.5601 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.006863, allocations: 0 / 0.5601 GB, free: 11.27 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.0003173/0.00718, allocations: 360.6 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.007218, allocations: 13.94 kB / 0.5604 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.00725, allocations: 8.891 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.19e-05/0.007331, allocations: 112.6 kB / 0.5605 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.007388, allocations: 51.97 kB / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.007397, allocations: 384 / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.007508, allocations: 84.59 kB / 0.5607 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.007516, allocations: 192 / 0.5607 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.007529, allocations: 15.91 kB / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.00755, allocations: 4 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.007572, allocations: 4 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.00788, allocations: 236.5 kB / 0.5609 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.007915, allocations: 38.94 kB / 0.561 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.007928, allocations: 7.688 kB / 0.561 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.007975, allocations: 8.047 kB / 0.561 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.008, allocations: 45.33 kB / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.008001, allocations: 0 / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001049/0.008106, allocations: 29.7 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.008139, allocations: 55.41 kB / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.008215, allocations: 165.9 kB / 0.5613 GB, free: 9.875 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.008242, allocations: 25.7 kB / 0.5613 GB, free: 9.844 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.008294, allocations: 131 kB / 0.5614 GB, free: 9.711 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.008301, allocations: 7.953 kB / 0.5614 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.008334, allocations: 31.3 kB / 0.5614 GB, free: 9.664 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.008483, allocations: 492.1 kB / 0.5619 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-06/0.008491, allocations: 0 / 0.5619 GB, free: 9.172 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.008511, allocations: 23.36 kB / 0.5619 GB, free: 9.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.236e-05/0.008543, allocations: 27.39 kB / 0.562 GB, free: 9.105 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008545, allocations: 0 / 0.562 GB, free: 9.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.776e-05/0.008613, allocations: 53.58 kB / 0.562 GB, free: 9.047 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.008625, allocations: 4 kB / 0.562 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.00863, allocations: 0 / 0.562 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008641, allocations: 0 / 0.562 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.391e-05/0.008675, allocations: 11.98 kB / 0.562 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.008678, allocations: 0 / 0.562 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.008695, allocations: 0 / 0.562 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.008703, allocations: 4 kB / 0.562 GB, free: 9.027 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.324e-05/0.008766, allocations: 152.6 kB / 0.5622 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.008791, allocations: 7.891 kB / 0.5622 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.008901, allocations: 183.7 kB / 0.5624 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001261/0.009027, allocations: 268.1 kB / 0.5626 GB, free: 8.398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-05/0.009091, allocations: 268 kB / 0.5629 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/0.009153, allocations: 264.1 kB / 0.5631 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.009347, allocations: 484.5 kB / 0.5636 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.009385, allocations: 148.9 kB / 0.5637 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.009421, allocations: 148.9 kB / 0.5639 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-05/0.009486, allocations: 268 kB / 0.5641 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.009553, allocations: 272.1 kB / 0.5644 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001861/0.009739, allocations: 283.9 kB / 0.5647 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.084e-05/0.0098, allocations: 268.1 kB / 0.5649 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.009938, allocations: 444 kB / 0.5653 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.009981, allocations: 152.9 kB / 0.5655 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.01006, allocations: 268 kB / 0.5657 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01019, allocations: 156.8 kB / 0.5659 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.01026, allocations: 264.1 kB / 0.5661 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.01029, allocations: 152.8 kB / 0.5663 GB, free: 4.484 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.01034, allocations: 127.2 kB / 0.5664 GB, free: 4.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01034, allocations: 0 / 0.5664 GB, free: 4.359 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.01058, allocations: 12 kB / 0.5664 GB, free: 4.348 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.0001601/0.01074, allocations: 242.6 kB / 0.5666 GB, free: 4.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.173e-05/0.0108, allocations: 15.67 kB / 0.5667 GB, free: 4.082 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01081, allocations: 3.938 kB / 0.5667 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.01081, allocations: 0 / 0.5667 GB, free: 4.078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.01122, allocations: 0.7139 MB / 0.5674 GB, free: 3.359 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.01159, allocations: 233.6 kB / 0.5676 GB, free: 3.102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.349e-05/0.01162, allocations: 59.47 kB / 0.5676 GB, free: 3.023 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.179e-05/0.01166, allocations: 9.078 kB / 0.5676 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.915e-05/0.01174, allocations: 90.11 kB / 0.5677 GB, free: 2.926 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01174, allocations: 0 / 0.5677 GB, free: 2.926 MB / 490.7 MB Notification: Performance of Templates: time 0.002858/0.01459, allocations: 0.7483 MB / 0.5685 GB, free: 2.195 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.60878142202273]