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.001298/0.001298, allocations: 110.2 kB / 19.58 MB, free: 2.34 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.002204/0.002204, allocations: 219.2 kB / 22.87 MB, free: 5.617 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.473/1.473, allocations: 230.5 MB / 256.5 MB, free: 8.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002602, allocations: 297.3 kB / 313.2 MB, free: 2.875 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.278/1.278, allocations: 180.8 MB / 0.5376 GB, free: 13 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002969/0.002969, allocations: 105 kB / 0.7405 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1608, allocations: 95.38 MB / 0.8337 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006015/0.1668, allocations: 4.124 MB / 0.8377 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.167, allocations: 151.5 kB / 0.8378 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.1671, allocations: 3.938 kB / 0.8379 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.339e-05/0.1672, allocations: 0 / 0.8379 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.1672, allocations: 15.91 kB / 0.8379 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1676, allocations: 87.69 kB / 0.838 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.1677, allocations: 39.84 kB / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.1677, allocations: 0 / 0.838 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1677, allocations: 11.98 kB / 0.838 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.1678, allocations: 23.91 kB / 0.838 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1678, allocations: 0 / 0.838 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.168, allocations: 59.7 kB / 0.8381 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.1681, allocations: 11.97 kB / 0.8381 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1681, allocations: 8 kB / 0.8381 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1682, allocations: 63.8 kB / 0.8382 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1682, allocations: 0 / 0.8382 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1682, allocations: 0 / 0.8382 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1682, allocations: 0 / 0.8382 GB, free: 3.398 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.0003976/0.1686, allocations: 258.3 kB / 0.8384 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1687, allocations: 9.344 kB / 0.8384 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.1687, allocations: 0.9375 kB / 0.8384 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1688, allocations: 110.5 kB / 0.8385 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.1689, allocations: 55.97 kB / 0.8386 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1689, allocations: 4.375 kB / 0.8386 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1691, allocations: 79.25 kB / 0.8387 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1691, allocations: 0 / 0.8387 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1691, allocations: 0 / 0.8387 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1691, allocations: 0 / 0.8387 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.1691, allocations: 19.98 kB / 0.8387 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1696, allocations: 228 kB / 0.8389 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.1696, allocations: 22.52 kB / 0.8389 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.1696, allocations: 4.859 kB / 0.8389 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.1697, allocations: 12.05 kB / 0.8389 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.1697, allocations: 30.56 kB / 0.839 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1697, allocations: 0 / 0.839 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.1699, allocations: 37.7 kB / 0.839 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1699, allocations: 55.53 kB / 0.839 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.17, allocations: 105.8 kB / 0.8391 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.17, allocations: 33.58 kB / 0.8392 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.1701, allocations: 88.09 kB / 0.8393 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.1701, allocations: 3.953 kB / 0.8393 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1701, allocations: 17.7 kB / 0.8393 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1703, allocations: 318.8 kB / 0.8396 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.1703, allocations: 4 kB / 0.8396 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.1703, allocations: 21.7 kB / 0.8396 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.1704, allocations: 17.72 kB / 0.8396 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1704, allocations: 0 / 0.8396 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.323e-05/0.1704, allocations: 53.62 kB / 0.8397 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1705, allocations: 4 kB / 0.8397 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1705, allocations: 0 / 0.8397 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1705, allocations: 4.062 kB / 0.8397 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.1705, allocations: 8 kB / 0.8397 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1705, allocations: 3.938 kB / 0.8397 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.1705, allocations: 0 / 0.8397 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1705, allocations: 0 / 0.8397 GB, free: 1.609 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.766e-05/0.1706, allocations: 114.4 kB / 0.8398 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1707, allocations: 7.984 kB / 0.8398 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1708, allocations: 124.9 kB / 0.8399 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.1709, allocations: 176.5 kB / 0.8401 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.554e-05/0.1709, allocations: 188.2 kB / 0.8403 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-05/0.171, allocations: 180.2 kB / 0.8405 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1713, allocations: 384.2 kB / 0.8408 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/0.1713, allocations: 101 kB / 0.8409 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.1714, allocations: 105 kB / 0.841 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.1715, allocations: 188.3 kB / 0.8412 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.1715, allocations: 180.3 kB / 0.8414 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-05/0.1716, allocations: 184.2 kB / 0.8415 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-05/0.1717, allocations: 176.3 kB / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1719, allocations: 315.7 kB / 0.842 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1719, allocations: 105 kB / 0.8421 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/0.172, allocations: 184.2 kB / 0.8423 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1722, allocations: 105 kB / 0.8424 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.1723, allocations: 180.3 kB / 0.8426 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.1723, allocations: 112.9 kB / 0.8427 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.1724, allocations: 87.11 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1724, allocations: 0 / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002441/0.1726, allocations: 15.94 kB / 0.8428 GB, free: 14.27 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.0001941/0.1728, allocations: 190.4 kB / 0.843 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.148e-05/0.1729, allocations: 19.92 kB / 0.843 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1729, allocations: 4.125 kB / 0.843 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1729, allocations: 0 / 0.843 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.1734, allocations: 455.7 kB / 0.8434 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.1736, allocations: 182.1 kB / 0.8436 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.975e-05/0.1737, allocations: 55.36 kB / 0.8436 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.1737, allocations: 15.92 kB / 0.8437 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.1737, allocations: 7.438 kB / 0.8437 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1737, allocations: 0 / 0.8437 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.002991/0.1767, allocations: 0.6522 MB / 0.8443 GB, free: 12.66 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.143879272996855] Failed to read output from testmodel.py, exit status != 0: 0.18386213399935514 0.19917020200000002 0.027785214000000003 Calling exit ...