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.001519/0.001519, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001706/0.001706, allocations: 219.2 kB / 23 MB, free: 4.914 MB / 14.72 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 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.00252/0.00252, allocations: 283.5 kB / 313.5 MB, free: 2.645 MB / 238.1 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 14.41 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 111.3 kB / 0.7407 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1651, allocations: 95.39 MB / 0.8339 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006718/0.1719, allocations: 3.903 MB / 0.8377 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.1721, allocations: 143.6 kB / 0.8378 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.1721, allocations: 0 / 0.8378 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.1722, allocations: 0 / 0.8378 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.1723, allocations: 19.92 kB / 0.8378 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1726, allocations: 87.61 kB / 0.8379 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.811e-05/0.1727, allocations: 35.91 kB / 0.8379 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1728, allocations: 0 / 0.8379 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.1728, allocations: 15.88 kB / 0.838 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.1729, allocations: 19.97 kB / 0.838 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1729, allocations: 0 / 0.838 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1731, allocations: 59.8 kB / 0.838 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.1731, allocations: 7.938 kB / 0.838 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.1732, allocations: 15.92 kB / 0.8381 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1733, allocations: 55.88 kB / 0.8381 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1733, allocations: 0 / 0.8381 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1733, allocations: 0 / 0.8381 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.1733, allocations: 0 / 0.8381 GB, free: 3.363 MB / 0.5762 GB 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.0004175/0.1737, allocations: 270.2 kB / 0.8384 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1738, allocations: 9.938 kB / 0.8384 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.1738, allocations: 0.9375 kB / 0.8384 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.174, allocations: 118.5 kB / 0.8385 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.17e-05/0.174, allocations: 51.97 kB / 0.8385 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.174, allocations: 4.375 kB / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1742, allocations: 71.33 kB / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1742, allocations: 0 / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1742, allocations: 0 / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1742, allocations: 0 / 0.8386 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.1743, allocations: 15.98 kB / 0.8386 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.1747, allocations: 212.5 kB / 0.8388 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.1747, allocations: 18.58 kB / 0.8388 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1747, allocations: 12.92 kB / 0.8389 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.1748, allocations: 7.984 kB / 0.8389 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1748, allocations: 30.56 kB / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1748, allocations: 0 / 0.8389 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.175, allocations: 37.64 kB / 0.8389 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.175, allocations: 51.41 kB / 0.839 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.1751, allocations: 109.8 kB / 0.8391 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1751, allocations: 25.7 kB / 0.8391 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.1752, allocations: 88.09 kB / 0.8392 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.1752, allocations: 8.078 kB / 0.8392 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1752, allocations: 17.7 kB / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1754, allocations: 322.8 kB / 0.8395 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.1754, allocations: 0 / 0.8395 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.1754, allocations: 17.72 kB / 0.8395 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.1755, allocations: 25.64 kB / 0.8396 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1755, allocations: 0 / 0.8396 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.7e-05/0.1756, allocations: 49.69 kB / 0.8396 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1756, allocations: 8.062 kB / 0.8396 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1756, allocations: 0 / 0.8396 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1756, allocations: 0 / 0.8396 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.384e-05/0.1756, allocations: 7.938 kB / 0.8396 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1756, allocations: 4 kB / 0.8396 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.1756, allocations: 3.938 kB / 0.8396 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1757, allocations: 3.938 kB / 0.8396 GB, free: 1.594 MB / 0.5762 GB 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 8.18e-05/0.1757, allocations: 114.4 kB / 0.8397 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1758, allocations: 0 / 0.8397 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.1759, allocations: 124.9 kB / 0.8399 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-05/0.176, allocations: 188.5 kB / 0.84 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.935e-05/0.1761, allocations: 176.3 kB / 0.8402 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.043e-05/0.1762, allocations: 184.2 kB / 0.8404 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1764, allocations: 356.8 kB / 0.8407 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-05/0.1765, allocations: 109 kB / 0.8408 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.1765, allocations: 108.9 kB / 0.8409 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.516e-05/0.1766, allocations: 180.3 kB / 0.8411 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.1767, allocations: 184.2 kB / 0.8413 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-05/0.1768, allocations: 180.3 kB / 0.8415 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.734e-05/0.1769, allocations: 176.3 kB / 0.8416 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.177, allocations: 315.7 kB / 0.8419 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.1771, allocations: 108.9 kB / 0.842 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1772, allocations: 180.3 kB / 0.8422 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1774, allocations: 105 kB / 0.8423 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.1775, allocations: 184.2 kB / 0.8425 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.1775, allocations: 105 kB / 0.8426 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.1776, allocations: 87.27 kB / 0.8427 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1776, allocations: 0 / 0.8427 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002392/0.1778, allocations: 19.94 kB / 0.8427 GB, free: 14.3 MB / 0.5919 GB 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.0002056/0.178, allocations: 186.5 kB / 0.8429 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.1781, allocations: 15.94 kB / 0.8429 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1781, allocations: 4 kB / 0.8429 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.1781, allocations: 0 / 0.8429 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.1786, allocations: 466 kB / 0.8433 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.1789, allocations: 211.8 kB / 0.8435 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.056e-05/0.179, allocations: 59.34 kB / 0.8436 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.179, allocations: 11.44 kB / 0.8436 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.179, allocations: 4.125 kB / 0.8436 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.002621/0.1816, allocations: 0.7278 MB / 0.8443 GB, free: 12.57 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.956947077997029] Failed to read output from testmodel.py, exit status != 0: 0.18946227384731174 0.20468797900000002 0.028287696 Calling exit ...