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.0009404/0.0009404, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00111/0.00111, allocations: 169 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.9801/0.9801, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.002446/0.002446, allocations: 245.7 kB / 260.5 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.7908/0.7908, allocations: 138.4 MB / 455.5 MB, free: 30.05 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.503e-06/1.503e-06, allocations: 0 / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.487e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003895/0.00391, allocations: 3.448 MB / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 8.03e-05/0.00399, allocations: 51.8 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.004026, allocations: 0 / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.004156, allocations: 4 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.004244, allocations: 23.78 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.004725, allocations: 207.1 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.004808, allocations: 43.84 kB / 0.5593 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.004846, allocations: 7.984 kB / 0.5593 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.004905, allocations: 23.92 kB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.004981, allocations: 7.984 kB / 0.5593 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.004995, allocations: 4 kB / 0.5593 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.005212, allocations: 135.5 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.005257, allocations: 11.98 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.005274, allocations: 4 kB / 0.5594 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.005454, allocations: 135.6 kB / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005456, allocations: 0 / 0.5596 GB, free: 11.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005457, allocations: 4 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.00546, allocations: 0 / 0.5596 GB, free: 11.74 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.0003135/0.005774, allocations: 368.5 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.005808, allocations: 9.219 kB / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.005838, allocations: 16.89 kB / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.005906, allocations: 116.6 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.005951, allocations: 51.97 kB / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.005958, allocations: 384 / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.519e-05/0.006053, allocations: 80.59 kB / 0.5602 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.006059, allocations: 4.188 kB / 0.5602 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.006068, allocations: 3.938 kB / 0.5602 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.006087, allocations: 7.922 kB / 0.5602 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.006106, allocations: 11.98 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.006439, allocations: 268.4 kB / 0.5605 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.006472, allocations: 31.05 kB / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.006486, allocations: 15.62 kB / 0.5605 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.853e-05/0.006545, allocations: 39.31 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.006568, allocations: 37.33 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.006569, allocations: 0 / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001037/0.006672, allocations: 37.7 kB / 0.5606 GB, free: 10.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.006698, allocations: 55.41 kB / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.006769, allocations: 161.9 kB / 0.5608 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.00678, allocations: 25.7 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.006825, allocations: 130.9 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/0.00683, allocations: 11.89 kB / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.006855, allocations: 27.36 kB / 0.561 GB, free: 10.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.006964, allocations: 492.1 kB / 0.5615 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.00697, allocations: 0 / 0.5615 GB, free: 9.578 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.006988, allocations: 19.38 kB / 0.5615 GB, free: 9.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.007016, allocations: 31.48 kB / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007017, allocations: 0 / 0.5615 GB, free: 9.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.275e-05/0.00707, allocations: 49.58 kB / 0.5616 GB, free: 9.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.007082, allocations: 4 kB / 0.5616 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.007087, allocations: 0 / 0.5616 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007098, allocations: 0 / 0.5616 GB, free: 9.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.162e-05/0.007129, allocations: 11.98 kB / 0.5616 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.007133, allocations: 0 / 0.5616 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.007145, allocations: 4 kB / 0.5616 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.007154, allocations: 8 kB / 0.5616 GB, free: 9.43 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.073e-05/0.007215, allocations: 156.6 kB / 0.5618 GB, free: 9.266 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.007231, allocations: 11.83 kB / 0.5618 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.007324, allocations: 171.7 kB / 0.5619 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.035e-05/0.007394, allocations: 268.1 kB / 0.5622 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.239e-05/0.007456, allocations: 268 kB / 0.5624 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.678e-05/0.007513, allocations: 264.1 kB / 0.5627 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.007673, allocations: 484.5 kB / 0.5632 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/0.007705, allocations: 148.9 kB / 0.5633 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.007736, allocations: 148.9 kB / 0.5634 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.368e-05/0.00779, allocations: 268 kB / 0.5637 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.007847, allocations: 268.1 kB / 0.564 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.722e-05/0.007904, allocations: 279.9 kB / 0.5642 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.744e-05/0.007962, allocations: 264.1 kB / 0.5645 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.008109, allocations: 452 kB / 0.5649 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.008144, allocations: 149.1 kB / 0.5651 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.008207, allocations: 276 kB / 0.5653 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.008302, allocations: 156.9 kB / 0.5655 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003518/0.008653, allocations: 268.1 kB / 0.5657 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.008683, allocations: 153.1 kB / 0.5659 GB, free: 4.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.008717, allocations: 127.2 kB / 0.566 GB, free: 4.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008717, allocations: 0 / 0.566 GB, free: 4.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.008894, allocations: 35.88 kB / 0.566 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.0001914/0.009085, allocations: 282.2 kB / 0.5663 GB, free: 4.445 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.281e-05/0.009138, allocations: 15.62 kB / 0.5663 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009139, allocations: 0 / 0.5663 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.00914, allocations: 0 / 0.5663 GB, free: 4.426 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.009449, allocations: 0.714 MB / 0.567 GB, free: 3.707 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.009761, allocations: 229.6 kB / 0.5672 GB, free: 3.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.00979, allocations: 55.47 kB / 0.5673 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.009816, allocations: 12.59 kB / 0.5673 GB, free: 3.367 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.009876, allocations: 86.17 kB / 0.5674 GB, free: 3.281 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.009876, allocations: 3.938 kB / 0.5674 GB, free: 3.277 MB / 490.7 MB Notification: Performance of Templates: time 0.002701/0.01258, allocations: 1.356 MB / 0.5687 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.5296600768342614]