Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.00222/0.00222, allocations: 93.47 kB / 19.44 MB, free: 332 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.002685/0.002685, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.004246/0.004246, allocations: 238.2 kB / 259.8 MB, free: 12.84 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 1.234/1.234, allocations: 138.4 MB / 454.7 MB, free: 1.488 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.335e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005315/0.005339, allocations: 3.396 MB / 0.5577 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001105/0.005449, allocations: 59.67 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.005471, allocations: 0 / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.408e-05/0.005565, allocations: 0 / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.005643, allocations: 19.84 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.006217, allocations: 183.2 kB / 0.5579 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.006302, allocations: 39.84 kB / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.772e-05/0.006329, allocations: 0 / 0.5579 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.006397, allocations: 27.84 kB / 0.558 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.00647, allocations: 11.98 kB / 0.558 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.006487, allocations: 8 kB / 0.558 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.0068, allocations: 135.5 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.006848, allocations: 7.984 kB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.006873, allocations: 7.984 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.00717, allocations: 131.6 kB / 0.5583 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007172, allocations: 0 / 0.5583 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007174, allocations: 0 / 0.5583 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.007177, allocations: 0 / 0.5583 GB, free: 12.82 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.000451/0.007628, allocations: 376.1 kB / 0.5586 GB, free: 12.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.007666, allocations: 12.03 kB / 0.5586 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.007709, allocations: 4.938 kB / 0.5586 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.007817, allocations: 108.6 kB / 0.5587 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.007895, allocations: 51.97 kB / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.007905, allocations: 384 / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.008059, allocations: 71.94 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.008066, allocations: 192 / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.00808, allocations: 3.938 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.008101, allocations: 4 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.008141, allocations: 11.92 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.008686, allocations: 303.6 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.00874, allocations: 31.06 kB / 0.5592 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.00876, allocations: 11.62 kB / 0.5592 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.008864, allocations: 36.03 kB / 0.5592 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.0089, allocations: 37.33 kB / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.008901, allocations: 4 kB / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000149/0.00905, allocations: 33.69 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.009099, allocations: 55.41 kB / 0.5594 GB, free: 11.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.009243, allocations: 161.9 kB / 0.5595 GB, free: 11.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.009264, allocations: 25.7 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.009345, allocations: 135 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.009351, allocations: 8 kB / 0.5597 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.009389, allocations: 19.36 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.009625, allocations: 0.4884 MB / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.009638, allocations: 0 / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.009673, allocations: 27.3 kB / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.009716, allocations: 27.38 kB / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.009717, allocations: 0 / 0.5602 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.138e-05/0.009808, allocations: 57.52 kB / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.009824, allocations: 12.06 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.009828, allocations: 0 / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.009841, allocations: 0 / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.009897, allocations: 4 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.009904, allocations: 3.984 kB / 0.5603 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.009925, allocations: 7.938 kB / 0.5603 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.009934, allocations: 0 / 0.5603 GB, free: 10.48 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 0.0001067/0.01004, allocations: 156.6 kB / 0.5605 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.01007, allocations: 3.938 kB / 0.5605 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.01023, allocations: 179.7 kB / 0.5606 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/0.01035, allocations: 264.1 kB / 0.5609 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001323/0.01049, allocations: 272 kB / 0.5611 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002514/0.01074, allocations: 268.1 kB / 0.5614 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.01108, allocations: 495.9 kB / 0.5619 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.376e-05/0.01115, allocations: 152.8 kB / 0.562 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.01123, allocations: 152.9 kB / 0.5622 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.01136, allocations: 276 kB / 0.5624 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.0115, allocations: 268.1 kB / 0.5627 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001359/0.01164, allocations: 268.1 kB / 0.5629 GB, free: 7.664 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001484/0.01179, allocations: 268 kB / 0.5632 GB, free: 7.395 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.01204, allocations: 451.9 kB / 0.5636 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.01212, allocations: 156.8 kB / 0.5638 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.01226, allocations: 264.1 kB / 0.564 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.01244, allocations: 160.8 kB / 0.5642 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.01257, allocations: 264.1 kB / 0.5644 GB, free: 6.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.01264, allocations: 152.8 kB / 0.5646 GB, free: 5.914 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.755e-05/0.01272, allocations: 127.2 kB / 0.5647 GB, free: 5.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01272, allocations: 0 / 0.5647 GB, free: 5.789 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.01303, allocations: 35.86 kB / 0.5647 GB, free: 5.754 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.0003232/0.01335, allocations: 281.1 kB / 0.565 GB, free: 5.473 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.801e-05/0.01343, allocations: 11.69 kB / 0.565 GB, free: 5.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01343, allocations: 4 kB / 0.565 GB, free: 5.453 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.01344, allocations: 12.05 kB / 0.565 GB, free: 5.441 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.01413, allocations: 0.7072 MB / 0.5657 GB, free: 4.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.01451, allocations: 226 kB / 0.5659 GB, free: 4.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.01459, allocations: 55.36 kB / 0.566 GB, free: 4.406 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.253e-05/0.01463, allocations: 7.984 kB / 0.566 GB, free: 4.398 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.01466, allocations: 8.5 kB / 0.566 GB, free: 4.391 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01466, allocations: 4 kB / 0.566 GB, free: 4.387 MB / 490.7 MB Notification: Performance of Templates: time 0.004747/0.01941, allocations: 1.317 MB / 0.5673 GB, free: 3.125 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.986280416022055]