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.00157/0.00157, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00192/0.00192, allocations: 215.4 kB / 23.01 MB, free: 5.125 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.8413/0.8413, allocations: 134 MB / 447.2 MB, free: 10.18 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.002006/0.002006, allocations: 70.7 kB / 0.6198 GB, free: 6.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 85.9 MB / 0.7036 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005816/0.1693, allocations: 3.854 MB / 0.7074 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.1695, allocations: 151.5 kB / 0.7076 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.1695, allocations: 0 / 0.7076 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1696, allocations: 7.938 kB / 0.7076 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.1697, allocations: 11.97 kB / 0.7076 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.17, allocations: 95.06 kB / 0.7077 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.1701, allocations: 35.84 kB / 0.7077 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1701, allocations: 0 / 0.7077 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.1702, allocations: 23.92 kB / 0.7077 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.1703, allocations: 11.97 kB / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1703, allocations: 0 / 0.7077 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.1709, allocations: 247.2 kB / 0.708 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1709, allocations: 4 kB / 0.708 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.171, allocations: 11.92 kB / 0.708 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1711, allocations: 63.86 kB / 0.708 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1711, allocations: 3.938 kB / 0.708 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1711, allocations: 0 / 0.708 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1711, allocations: 0 / 0.708 GB, free: 12.34 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.000394/0.1715, allocations: 260.9 kB / 0.7083 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1715, allocations: 12.03 kB / 0.7083 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1716, allocations: 4.938 kB / 0.7083 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1717, allocations: 110.5 kB / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.1718, allocations: 51.97 kB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.1718, allocations: 4.312 kB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1719, allocations: 53.61 kB / 0.7085 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1719, allocations: 0 / 0.7085 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1719, allocations: 0 / 0.7085 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.172, allocations: 0 / 0.7085 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.172, allocations: 19.92 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1724, allocations: 239.9 kB / 0.7088 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.1725, allocations: 14.58 kB / 0.7088 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.1725, allocations: 4.859 kB / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.1725, allocations: 8.062 kB / 0.7088 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1726, allocations: 30.56 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1726, allocations: 4 kB / 0.7088 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.1727, allocations: 45.62 kB / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1727, allocations: 51.41 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.1728, allocations: 93.86 kB / 0.709 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1729, allocations: 25.7 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1729, allocations: 96.08 kB / 0.7091 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.1729, allocations: 0 / 0.7091 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1729, allocations: 17.67 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.1731, allocations: 322.9 kB / 0.7094 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.1731, allocations: 7.984 kB / 0.7095 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.1732, allocations: 13.72 kB / 0.7095 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/0.1732, allocations: 21.66 kB / 0.7095 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1732, allocations: 0 / 0.7095 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.156e-05/0.1733, allocations: 54 kB / 0.7095 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1733, allocations: 7.938 kB / 0.7095 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1733, allocations: 0 / 0.7095 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1733, allocations: 3.938 kB / 0.7096 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.1734, allocations: 8 kB / 0.7096 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1734, allocations: 3.984 kB / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.1734, allocations: 3.984 kB / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1734, allocations: 4 kB / 0.7096 GB, free: 10.57 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 7.932e-05/0.1735, allocations: 109.8 kB / 0.7097 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1735, allocations: 4.031 kB / 0.7097 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1736, allocations: 121 kB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.1737, allocations: 184.2 kB / 0.71 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.832e-05/0.1738, allocations: 180.3 kB / 0.7101 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.124e-05/0.1739, allocations: 180.2 kB / 0.7103 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.1742, allocations: 392.2 kB / 0.7107 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/0.1742, allocations: 101 kB / 0.7108 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.1743, allocations: 104.9 kB / 0.7109 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/0.1743, allocations: 184.2 kB / 0.7111 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.1745, allocations: 188.1 kB / 0.7112 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-05/0.1745, allocations: 176.3 kB / 0.7114 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.035e-05/0.1746, allocations: 184.2 kB / 0.7116 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1748, allocations: 311.7 kB / 0.7119 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.1748, allocations: 108.9 kB / 0.712 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.1749, allocations: 176.3 kB / 0.7122 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1751, allocations: 116.9 kB / 0.7123 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.1752, allocations: 176.3 kB / 0.7124 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.1752, allocations: 101 kB / 0.7125 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.16e-05/0.1752, allocations: 87.28 kB / 0.7126 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1752, allocations: 0 / 0.7126 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003004/0.1755, allocations: 15.98 kB / 0.7126 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.0001897/0.1757, allocations: 202.3 kB / 0.7128 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.016e-05/0.1758, allocations: 12 kB / 0.7128 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1758, allocations: 0 / 0.7128 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.1758, allocations: 0 / 0.7128 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.1763, allocations: 455.7 kB / 0.7133 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.1765, allocations: 223.9 kB / 0.7135 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1768, allocations: 0.6729 MB / 0.7141 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1769, allocations: 11.44 kB / 0.7141 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1769, allocations: 0 / 0.7141 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of Templates: time 0.002253/0.1791, allocations: 0.7185 MB / 0.7149 GB, free: 4.898 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: 8.263743852032349] Failed to read output from testmodel.py, exit status != 0: 0.18710756907239556 0.21426414300000002 0.038451762 Calling exit ...