Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 107.3 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 181.8 kB / 17.34 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8787/0.8787, allocations: 135.2 MB / 426.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.34 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.151, allocations: 80.92 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005775/0.1568, allocations: 3.73 MB / 0.669 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.157, allocations: 163.4 kB / 0.6692 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.1571, allocations: 0 / 0.6692 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.542e-05/0.1572, allocations: 0 / 0.6692 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.1572, allocations: 15.92 kB / 0.6692 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1576, allocations: 87.69 kB / 0.6693 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.1577, allocations: 31.91 kB / 0.6693 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1577, allocations: 0 / 0.6693 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.1578, allocations: 19.92 kB / 0.6693 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.1578, allocations: 15.92 kB / 0.6693 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1578, allocations: 4 kB / 0.6693 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.1584, allocations: 187.4 kB / 0.6695 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1584, allocations: 8 kB / 0.6695 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1585, allocations: 15.92 kB / 0.6695 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1586, allocations: 39.91 kB / 0.6696 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1586, allocations: 0 / 0.6696 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1586, allocations: 0 / 0.6696 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1586, allocations: 0 / 0.6696 GB, free: 1.43 MB / 0.4981 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.0004898/0.1591, allocations: 335.4 kB / 0.6699 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1591, allocations: 13.11 kB / 0.6699 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1592, allocations: 4.891 kB / 0.6699 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1593, allocations: 164.4 kB / 0.6701 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.1594, allocations: 34.2 kB / 0.6701 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1594, allocations: 4.359 kB / 0.6701 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1596, allocations: 49.56 kB / 0.6701 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1596, allocations: 0 / 0.6701 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1596, allocations: 4 kB / 0.6701 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1596, allocations: 0 / 0.6701 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.1597, allocations: 15.92 kB / 0.6702 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1602, allocations: 342 kB / 0.6705 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.1602, allocations: 22.52 kB / 0.6705 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1602, allocations: 4.859 kB / 0.6705 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.162e-05/0.1603, allocations: 81.17 kB / 0.6706 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1604, allocations: 46.55 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 4.849e-06/0.1604, allocations: 7.984 kB / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.1605, allocations: 29.7 kB / 0.6707 GB, free: 88 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.1606, allocations: 51.41 kB / 0.6707 GB, free: 24 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1607, allocations: 105.8 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1607, allocations: 25.7 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.1608, allocations: 88.03 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.1608, allocations: 3.953 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1609, allocations: 17.72 kB / 0.671 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.161, allocations: 326.9 kB / 0.6713 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.161, allocations: 0 / 0.6713 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.161, allocations: 17.72 kB / 0.6713 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.1611, allocations: 21.7 kB / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1611, allocations: 0 / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.155e-05/0.1612, allocations: 45.64 kB / 0.6713 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1612, allocations: 8.062 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1612, allocations: 4 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1612, allocations: 3.984 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.1612, allocations: 4 kB / 0.6714 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1612, allocations: 0 / 0.6714 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.1613, allocations: 8 kB / 0.6714 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1613, allocations: 0 / 0.6714 GB, free: 15.3 MB / 0.5137 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.472e-05/0.1614, allocations: 113.8 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1614, allocations: 7.953 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.1615, allocations: 124.9 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-05/0.1616, allocations: 176.3 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-05/0.1617, allocations: 184.2 kB / 0.6719 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.98e-05/0.1618, allocations: 176.3 kB / 0.6721 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.162, allocations: 413.1 kB / 0.6725 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/0.1621, allocations: 109 kB / 0.6726 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.1621, allocations: 105 kB / 0.6727 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/0.1622, allocations: 188.1 kB / 0.6729 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.1623, allocations: 176.3 kB / 0.6731 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-05/0.1624, allocations: 180.2 kB / 0.6732 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.022e-05/0.1624, allocations: 184.3 kB / 0.6734 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1626, allocations: 311.7 kB / 0.6737 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.1627, allocations: 178.1 kB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.1628, allocations: 180.2 kB / 0.674 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.163, allocations: 117 kB / 0.6742 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.163, allocations: 180.3 kB / 0.6743 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.1631, allocations: 108.9 kB / 0.6744 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.75e-05/0.1631, allocations: 87.27 kB / 0.6745 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1631, allocations: 0 / 0.6745 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002605/0.1634, allocations: 19.94 kB / 0.6745 GB, free: 11.83 MB / 0.5137 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.0002779/0.1637, allocations: 206.4 kB / 0.6747 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.258e-05/0.1638, allocations: 11.94 kB / 0.6747 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1638, allocations: 0 / 0.6747 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.1638, allocations: 0 / 0.6747 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1642, allocations: 463.7 kB / 0.6752 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.1645, allocations: 199.8 kB / 0.6754 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1648, allocations: 0.6768 MB / 0.676 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.1648, allocations: 7.438 kB / 0.676 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1648, allocations: 0 / 0.676 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.002421/0.1672, allocations: 0.7641 MB / 0.6768 GB, free: 9.461 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)