Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001639/0.001639, allocations: 75.27 kB / 20.51 MB, free: 1.285 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.001911/0.001911, allocations: 164.4 kB / 23.76 MB, free: 4.465 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.459/1.459, allocations: 177.2 MB / 204.1 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9265/0.9265, allocations: 113.9 MB / 374.5 MB, free: 12.84 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: IBPSA 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.002163/0.002163, allocations: 71.88 kB / 0.555 GB, free: 2.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1656, allocations: 89.14 MB / 0.6421 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005785/0.1714, allocations: 3.89 MB / 0.6459 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.1716, allocations: 155.5 kB / 0.646 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.1716, allocations: 3.938 kB / 0.646 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.295e-05/0.1717, allocations: 3.938 kB / 0.646 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.1718, allocations: 15.92 kB / 0.646 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1721, allocations: 75.75 kB / 0.6461 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.426e-05/0.1722, allocations: 39.84 kB / 0.6461 GB, free: 5.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.1722, allocations: 4 kB / 0.6462 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.047e-05/0.1723, allocations: 19.97 kB / 0.6462 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.1723, allocations: 11.92 kB / 0.6462 GB, free: 5.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1723, allocations: 4 kB / 0.6462 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1725, allocations: 47.81 kB / 0.6462 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.1726, allocations: 11.98 kB / 0.6462 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.242e-05/0.1726, allocations: 4 kB / 0.6462 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1727, allocations: 63.75 kB / 0.6463 GB, free: 5.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1727, allocations: 0 / 0.6463 GB, free: 5.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1727, allocations: 7.984 kB / 0.6463 GB, free: 5.172 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1727, allocations: 0 / 0.6463 GB, free: 5.172 MB / 0.545 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.0003651/0.1731, allocations: 262.3 kB / 0.6466 GB, free: 4.887 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1731, allocations: 12.03 kB / 0.6466 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1732, allocations: 0.9375 kB / 0.6466 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1733, allocations: 102.5 kB / 0.6467 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/0.1734, allocations: 55.97 kB / 0.6467 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.1734, allocations: 384 / 0.6467 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1735, allocations: 71.33 kB / 0.6468 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1735, allocations: 11.98 kB / 0.6468 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1735, allocations: 0 / 0.6468 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.1735, allocations: 3.984 kB / 0.6468 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.1736, allocations: 15.94 kB / 0.6468 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1739, allocations: 212.5 kB / 0.647 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.174, allocations: 18.58 kB / 0.6471 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.174, allocations: 4.859 kB / 0.6471 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.1741, allocations: 8.062 kB / 0.6471 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1741, allocations: 30.56 kB / 0.6471 GB, free: 4.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1741, allocations: 0 / 0.6471 GB, free: 4.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.1742, allocations: 53.58 kB / 0.6471 GB, free: 4.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1743, allocations: 51.41 kB / 0.6472 GB, free: 4.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.1744, allocations: 97.84 kB / 0.6473 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1744, allocations: 33.64 kB / 0.6473 GB, free: 3.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.1744, allocations: 88.09 kB / 0.6474 GB, free: 3.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.1744, allocations: 0 / 0.6474 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1745, allocations: 13.72 kB / 0.6474 GB, free: 3.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1746, allocations: 318.8 kB / 0.6477 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.1746, allocations: 7.984 kB / 0.6477 GB, free: 3.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.1747, allocations: 21.66 kB / 0.6477 GB, free: 3.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.1747, allocations: 29.78 kB / 0.6478 GB, free: 3.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1747, allocations: 0 / 0.6478 GB, free: 3.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.115e-05/0.1748, allocations: 53.58 kB / 0.6478 GB, free: 3.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1748, allocations: 6.344 kB / 0.6478 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1748, allocations: 4 kB / 0.6478 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1748, allocations: 0 / 0.6478 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.1749, allocations: 7.984 kB / 0.6478 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1749, allocations: 0 / 0.6478 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1749, allocations: 8.062 kB / 0.6479 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.1749, allocations: 0 / 0.6479 GB, free: 3.402 MB / 0.545 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.415e-05/0.175, allocations: 116.8 kB / 0.648 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.175, allocations: 0 / 0.648 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1751, allocations: 124.9 kB / 0.6481 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.726e-05/0.1752, allocations: 176.3 kB / 0.6482 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.051e-05/0.1753, allocations: 180.3 kB / 0.6484 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.788e-05/0.1754, allocations: 180.2 kB / 0.6486 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1756, allocations: 360.8 kB / 0.6489 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.403e-05/0.1756, allocations: 104.9 kB / 0.649 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.1757, allocations: 105 kB / 0.6491 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-05/0.1758, allocations: 184.3 kB / 0.6493 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.1758, allocations: 184.2 kB / 0.6495 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.451e-05/0.1759, allocations: 180.2 kB / 0.6497 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.131e-05/0.176, allocations: 184.2 kB / 0.6498 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1762, allocations: 303.8 kB / 0.6501 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1762, allocations: 116.9 kB / 0.6502 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.1763, allocations: 176.3 kB / 0.6504 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1765, allocations: 108.9 kB / 0.6505 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.1766, allocations: 180.2 kB / 0.6507 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.1766, allocations: 109 kB / 0.6508 GB, free: 224 kB / 0.545 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.1767, allocations: 95.16 kB / 0.6509 GB, free: 128 kB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1767, allocations: 0 / 0.6509 GB, free: 128 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002459/0.1769, allocations: 15.94 kB / 0.6509 GB, free: 112 kB / 0.545 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.0001974/0.1771, allocations: 190.4 kB / 0.6511 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.1772, allocations: 12 kB / 0.6511 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1772, allocations: 0 / 0.6511 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1772, allocations: 0 / 0.6511 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.1777, allocations: 470.2 kB / 0.6515 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1779, allocations: 190.1 kB / 0.6517 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.178, allocations: 59.34 kB / 0.6518 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.178, allocations: 4.281 kB / 0.6518 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.1781, allocations: 12.5 kB / 0.6518 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1781, allocations: 0 / 0.6518 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.002934/0.181, allocations: 0.6622 MB / 0.6524 GB, free: 14.47 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.480756334029138] Failed to read output from testmodel.py, exit status != 0: 0.18999022501520813 0.203844407 0.028021046 Calling exit ...