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.001228/0.001228, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001511/0.001511, allocations: 181 kB / 23.36 MB, free: 1.133 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.9519/0.9519, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.00226/0.00226, allocations: 245.6 kB / 260.5 MB, free: 12.69 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.7233/0.7233, allocations: 138.4 MB / 402.2 MB, free: 0.5039 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.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.683e-06/1.683e-06, allocations: 1.438 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.185e-05, allocations: 3.188 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00503/0.005052, allocations: 4.181 MB / 466.5 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001674/0.005219, allocations: 155.5 kB / 466.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.005243, allocations: 0 / 466.6 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.005344, allocations: 5.312 kB / 466.6 MB, free: 14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.005419, allocations: 14.7 kB / 466.6 MB, free: 14 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.005729, allocations: 89.75 kB / 466.7 MB, free: 13.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.005809, allocations: 37.16 kB / 466.8 MB, free: 13.94 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.005845, allocations: 7.438 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.005902, allocations: 16.45 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.005968, allocations: 7.938 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.00598, allocations: 3.5 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.006147, allocations: 60.19 kB / 466.9 MB, free: 13.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.006188, allocations: 9.172 kB / 466.9 MB, free: 13.9 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.006204, allocations: 8.422 kB / 466.9 MB, free: 13.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.00633, allocations: 68.17 kB / 466.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006333, allocations: 0 / 466.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006334, allocations: 0.6875 kB / 466.9 MB, free: 13.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.006336, allocations: 0 / 466.9 MB, free: 13.88 MB / 426.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.0002623/0.006599, allocations: 235.4 kB / 467.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.006629, allocations: 11.09 kB / 467.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.006654, allocations: 2.906 kB / 467.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.072e-05/0.006724, allocations: 111.1 kB / 467.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.006772, allocations: 53.31 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.006783, allocations: 3.406 kB / 467.3 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.006916, allocations: 82.03 kB / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.006924, allocations: 192 / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006937, allocations: 6.5 kB / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.006963, allocations: 6 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.298e-05/0.006996, allocations: 6.766 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.007321, allocations: 161.5 kB / 467.6 MB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.746e-05/0.007359, allocations: 22.66 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.00737, allocations: 7.094 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.529e-05/0.007425, allocations: 7.203 kB / 467.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.007458, allocations: 37.92 kB / 467.7 MB, free: 13.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.007459, allocations: 0.625 kB / 467.7 MB, free: 13.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001052/0.007565, allocations: 38.41 kB / 467.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.007599, allocations: 53.86 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.007672, allocations: 106.3 kB / 467.9 MB, free: 12.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007686, allocations: 27.11 kB / 467.9 MB, free: 12.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.00773, allocations: 90.16 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.007736, allocations: 3.078 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.007775, allocations: 22.8 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.007865, allocations: 312.7 kB / 468.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.007874, allocations: 4.156 kB / 468.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.007896, allocations: 15.2 kB / 468.3 MB, free: 12.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.007927, allocations: 22.88 kB / 468.4 MB, free: 12.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00793, allocations: 0 / 468.4 MB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.009e-05/0.008, allocations: 46.47 kB / 468.4 MB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.008014, allocations: 7.938 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.00802, allocations: 4.609 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.008033, allocations: 0.625 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.008073, allocations: 6.328 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008076, allocations: 0 / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.008099, allocations: 11.2 kB / 468.4 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.008108, allocations: 4 kB / 468.4 MB, free: 12.35 MB / 426.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.082e-05/0.008168, allocations: 109.3 kB / 468.5 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.008195, allocations: 8.594 kB / 468.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.008295, allocations: 124 kB / 468.7 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-05/0.008346, allocations: 185.6 kB / 468.9 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.153e-05/0.008398, allocations: 185.8 kB / 469 MB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/0.008447, allocations: 185.1 kB / 469.2 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.008624, allocations: 318 kB / 469.5 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.008654, allocations: 105 kB / 469.6 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.008684, allocations: 102 kB / 469.7 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.334e-05/0.008737, allocations: 184.2 kB / 469.9 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.008788, allocations: 177.5 kB / 470.1 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-05/0.008839, allocations: 188.1 kB / 470.3 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.175e-05/0.008891, allocations: 186.2 kB / 470.4 MB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.009004, allocations: 299.8 kB / 470.7 MB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.009039, allocations: 105 kB / 470.8 MB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.009119, allocations: 186.3 kB / 471 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.009233, allocations: 112.9 kB / 471.1 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.009277, allocations: 184.2 kB / 471.3 MB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.0093, allocations: 107.9 kB / 471.4 MB, free: 9.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.481e-05/0.009315, allocations: 13.38 kB / 471.4 MB, free: 9.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009315, allocations: 0 / 471.4 MB, free: 9.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000256/0.009571, allocations: 21.31 kB / 471.5 MB, free: 9.172 MB / 426.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.0001787/0.009749, allocations: 168.2 kB / 471.6 MB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.511e-05/0.009804, allocations: 9.547 kB / 471.6 MB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.00981, allocations: 9.188 kB / 471.6 MB, free: 8.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.009811, allocations: 0 / 471.6 MB, free: 8.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.01015, allocations: 468.9 kB / 472.1 MB, free: 8.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.01057, allocations: 191.4 kB / 472.3 MB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.0106, allocations: 51.36 kB / 472.3 MB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.49e-05/0.01064, allocations: 5.469 kB / 472.3 MB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.01072, allocations: 68.03 kB / 472.4 MB, free: 8.172 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01072, allocations: 0 / 472.4 MB, free: 8.172 MB / 426.7 MB Notification: Performance of Templates: time 0.003043/0.01376, allocations: 0.7488 MB / 473.2 MB, free: 7.508 MB / 426.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.4633795088157058]