Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.00139/0.00139, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001708/0.001708, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8206/0.8206, allocations: 134 MB / 447.2 MB, free: 9.926 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: IDEAS 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.001986/0.001986, allocations: 70.48 kB / 0.6197 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 85.9 MB / 0.7036 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00571/0.1623, allocations: 3.631 MB / 0.7071 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002174/0.1625, allocations: 155.5 kB / 0.7073 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.1625, allocations: 0 / 0.7073 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.886e-05/0.1626, allocations: 3.938 kB / 0.7073 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.123e-05/0.1627, allocations: 11.92 kB / 0.7073 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.163, allocations: 87.73 kB / 0.7074 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.1631, allocations: 35.84 kB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.1632, allocations: 4 kB / 0.7074 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.1632, allocations: 12 kB / 0.7074 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.1633, allocations: 19.91 kB / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1633, allocations: 3.938 kB / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.1638, allocations: 211.3 kB / 0.7076 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.1639, allocations: 7.984 kB / 0.7076 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.1639, allocations: 4 kB / 0.7077 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.164, allocations: 59.86 kB / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.164, allocations: 0 / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.164, allocations: 0 / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.1641, allocations: 4 kB / 0.7077 GB, free: 12.32 MB / 0.5294 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.0004009/0.1645, allocations: 264.7 kB / 0.708 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1645, allocations: 8.031 kB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.1645, allocations: 4.938 kB / 0.708 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1646, allocations: 106.5 kB / 0.7081 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.1647, allocations: 55.97 kB / 0.7081 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1647, allocations: 4.312 kB / 0.7081 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1649, allocations: 79.25 kB / 0.7082 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1649, allocations: 0 / 0.7082 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1649, allocations: 8 kB / 0.7082 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1649, allocations: 0 / 0.7082 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.1649, allocations: 15.98 kB / 0.7082 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1653, allocations: 208.5 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.1654, allocations: 22.52 kB / 0.7085 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.1654, allocations: 4.859 kB / 0.7085 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.1654, allocations: 19.97 kB / 0.7085 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1655, allocations: 30.56 kB / 0.7085 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1655, allocations: 0 / 0.7085 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.1656, allocations: 37.7 kB / 0.7085 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1656, allocations: 55.41 kB / 0.7086 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.1657, allocations: 97.84 kB / 0.7087 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1657, allocations: 25.7 kB / 0.7087 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1658, allocations: 92.09 kB / 0.7088 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.1658, allocations: 7.891 kB / 0.7088 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1658, allocations: 17.7 kB / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.166, allocations: 318.8 kB / 0.7091 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.166, allocations: 4 kB / 0.7091 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.166, allocations: 17.72 kB / 0.7092 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.1661, allocations: 29.83 kB / 0.7092 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1661, allocations: 0 / 0.7092 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.959e-05/0.1662, allocations: 49.62 kB / 0.7092 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1662, allocations: 4 kB / 0.7092 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1662, allocations: 4 kB / 0.7092 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1662, allocations: 0 / 0.7092 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.1662, allocations: 4 kB / 0.7092 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1662, allocations: 0 / 0.7092 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.1662, allocations: 4 kB / 0.7092 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1662, allocations: 4.062 kB / 0.7092 GB, free: 10.55 MB / 0.5294 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.803e-05/0.1663, allocations: 113.7 kB / 0.7094 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1664, allocations: 4 kB / 0.7094 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.1665, allocations: 124.9 kB / 0.7095 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.202e-05/0.1666, allocations: 176.3 kB / 0.7096 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-05/0.1666, allocations: 180.2 kB / 0.7098 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-05/0.1667, allocations: 184.2 kB / 0.71 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.167, allocations: 364.8 kB / 0.7103 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.255e-05/0.167, allocations: 101 kB / 0.7104 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.1671, allocations: 109 kB / 0.7105 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.855e-05/0.1672, allocations: 184.2 kB / 0.7107 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.1672, allocations: 184.2 kB / 0.7109 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.936e-05/0.1673, allocations: 180.2 kB / 0.7111 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.574e-05/0.1674, allocations: 180.3 kB / 0.7112 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1676, allocations: 319.6 kB / 0.7115 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1677, allocations: 105 kB / 0.7116 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/0.1677, allocations: 180.2 kB / 0.7118 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1679, allocations: 109 kB / 0.7119 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.168, allocations: 176.3 kB / 0.7121 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.1681, allocations: 112.9 kB / 0.7122 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.1681, allocations: 91.27 kB / 0.7123 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1681, allocations: 0 / 0.7123 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002459/0.1684, allocations: 15.94 kB / 0.7123 GB, free: 7.238 MB / 0.5294 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.0001985/0.1686, allocations: 190.5 kB / 0.7125 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.1686, allocations: 8 kB / 0.7125 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1686, allocations: 3.938 kB / 0.7125 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1686, allocations: 0 / 0.7125 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1691, allocations: 467.7 kB / 0.7129 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.1694, allocations: 211.9 kB / 0.7131 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.537e-05/0.1694, allocations: 59.36 kB / 0.7132 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.1695, allocations: 7.438 kB / 0.7132 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1695, allocations: 0 / 0.7132 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of Templates: time 0.002252/0.1717, allocations: 0.7429 MB / 0.7139 GB, free: 5.512 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.560716497246176] Failed to read output from testmodel.py, exit status != 0: 0.17869138810783625 0.19375643 0.026724395 Calling exit ...