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.001521/0.001521, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001629/0.001629, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9535/0.9535, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.001626/0.001626, allocations: 233.5 kB / 261.3 MB, free: 12.67 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.8287/0.8287, allocations: 138.4 MB / 456.3 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.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.323e-06/1.323e-06, allocations: 0 / 0.5563 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.557e-05, allocations: 5.688 kB / 0.5564 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003316/0.003332, allocations: 3.443 MB / 0.5597 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 6.555e-05/0.003397, allocations: 47.8 kB / 0.5598 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.003423, allocations: 0 / 0.5598 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.003528, allocations: 11.88 kB / 0.5598 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.0036, allocations: 7.922 kB / 0.5598 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.003994, allocations: 227 kB / 0.56 GB, free: 12.1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.004066, allocations: 31.84 kB / 0.56 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.0041, allocations: 7.984 kB / 0.56 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.004147, allocations: 19.98 kB / 0.5601 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.73e-05/0.004225, allocations: 15.92 kB / 0.5601 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.004237, allocations: 0 / 0.5601 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.004435, allocations: 135.6 kB / 0.5602 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.004478, allocations: 11.92 kB / 0.5602 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.004528, allocations: 12 kB / 0.5602 GB, free: 11.87 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.004716, allocations: 131.6 kB / 0.5603 GB, free: 11.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004718, allocations: 3.984 kB / 0.5603 GB, free: 11.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004719, allocations: 0 / 0.5603 GB, free: 11.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004722, allocations: 0 / 0.5603 GB, free: 11.73 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.0003038/0.005026, allocations: 368.5 kB / 0.5607 GB, free: 11.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.005057, allocations: 13.22 kB / 0.5607 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.005088, allocations: 4.891 kB / 0.5607 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.005162, allocations: 112.6 kB / 0.5608 GB, free: 11.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.005209, allocations: 51.97 kB / 0.5609 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.005217, allocations: 12.31 kB / 0.5609 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.005309, allocations: 76.66 kB / 0.561 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005317, allocations: 192 / 0.561 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.005326, allocations: 3.938 kB / 0.561 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.005346, allocations: 7.984 kB / 0.561 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.561e-05/0.005362, allocations: 4 kB / 0.561 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.005696, allocations: 276.4 kB / 0.5612 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/0.005727, allocations: 27 kB / 0.5613 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.019e-05/0.005737, allocations: 11.69 kB / 0.5613 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.005786, allocations: 39.97 kB / 0.5613 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.005807, allocations: 45.31 kB / 0.5614 GB, free: 10.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.005808, allocations: 0 / 0.5614 GB, free: 10.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.727e-05/0.005905, allocations: 37.64 kB / 0.5614 GB, free: 10.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.005933, allocations: 55.41 kB / 0.5614 GB, free: 10.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.005996, allocations: 165.9 kB / 0.5616 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.006005, allocations: 25.7 kB / 0.5616 GB, free: 10.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.006055, allocations: 126.9 kB / 0.5617 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-06/0.00606, allocations: 7.953 kB / 0.5618 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.006083, allocations: 23.36 kB / 0.5618 GB, free: 10.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.006202, allocations: 0.4924 MB / 0.5623 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-06/0.006207, allocations: 0 / 0.5623 GB, free: 9.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.006224, allocations: 19.38 kB / 0.5623 GB, free: 9.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.006248, allocations: 27.36 kB / 0.5623 GB, free: 9.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.006249, allocations: 0 / 0.5623 GB, free: 9.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.935e-05/0.006299, allocations: 49.58 kB / 0.5624 GB, free: 9.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.006308, allocations: 4 kB / 0.5624 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.006313, allocations: 0 / 0.5624 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.006321, allocations: 4.062 kB / 0.5624 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.006375, allocations: 11.98 kB / 0.5624 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006379, allocations: 3.938 kB / 0.5624 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.006396, allocations: 3.938 kB / 0.5624 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.006402, allocations: 4 kB / 0.5624 GB, free: 9.422 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 5.176e-05/0.006454, allocations: 152.6 kB / 0.5625 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.006472, allocations: 7.891 kB / 0.5625 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.006557, allocations: 166.6 kB / 0.5627 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/0.006612, allocations: 276 kB / 0.563 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.147e-05/0.006664, allocations: 264.1 kB / 0.5632 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.617e-05/0.00676, allocations: 268.1 kB / 0.5635 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.006912, allocations: 488.4 kB / 0.5639 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/0.006944, allocations: 144.9 kB / 0.5641 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.006974, allocations: 152.8 kB / 0.5642 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-05/0.007027, allocations: 264.1 kB / 0.5645 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.007086, allocations: 268.1 kB / 0.5647 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-05/0.007144, allocations: 279.9 kB / 0.565 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001657/0.007309, allocations: 268 kB / 0.5652 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.007432, allocations: 444 kB / 0.5657 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.00747, allocations: 153.1 kB / 0.5658 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.007529, allocations: 272 kB / 0.5661 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.007619, allocations: 164.9 kB / 0.5662 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.007676, allocations: 268 kB / 0.5665 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.007709, allocations: 148.9 kB / 0.5666 GB, free: 4.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.007745, allocations: 127.2 kB / 0.5667 GB, free: 4.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007745, allocations: 0 / 0.5667 GB, free: 4.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.007924, allocations: 35.88 kB / 0.5668 GB, free: 4.73 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.0001844/0.008109, allocations: 278.2 kB / 0.567 GB, free: 4.449 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.175e-05/0.008161, allocations: 15.62 kB / 0.5671 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.008162, allocations: 0 / 0.5671 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.008163, allocations: 0 / 0.5671 GB, free: 4.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.008471, allocations: 0.7179 MB / 0.5678 GB, free: 3.707 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.008801, allocations: 237.7 kB / 0.568 GB, free: 3.445 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.008829, allocations: 55.34 kB / 0.568 GB, free: 3.371 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.008851, allocations: 4.281 kB / 0.568 GB, free: 3.367 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.00891, allocations: 86.17 kB / 0.5681 GB, free: 3.281 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00891, allocations: 0 / 0.5681 GB, free: 3.281 MB / 490.7 MB Notification: Performance of Templates: time 0.00291/0.01182, allocations: 1.366 MB / 0.5695 GB, free: 1.977 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: 3.697432063985616]