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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7208/0.7208, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 222.9 MB / 404.7 MB, free: 6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.5 kB / 485.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1527, allocations: 80.41 MB / 0.6421 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006489/0.1592, allocations: 3.781 MB / 0.6458 GB, free: 1.605 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002216/0.1595, allocations: 155.5 kB / 0.646 GB, free: 1.453 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.1595, allocations: 4 kB / 0.646 GB, free: 1.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1597, allocations: 3.938 kB / 0.646 GB, free: 1.445 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.1598, allocations: 11.97 kB / 0.646 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1601, allocations: 76.64 kB / 0.6461 GB, free: 1.359 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1603, allocations: 75.73 kB / 0.6461 GB, free: 1.285 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.1603, allocations: 0 / 0.6461 GB, free: 1.285 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.1604, allocations: 8 kB / 0.6461 GB, free: 1.277 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.1604, allocations: 11.98 kB / 0.6461 GB, free: 1.266 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1605, allocations: 0 / 0.6461 GB, free: 1.266 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006344/0.1611, allocations: 199.4 kB / 0.6463 GB, free: 1.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.1612, allocations: 7.938 kB / 0.6463 GB, free: 1.062 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1612, allocations: 15.97 kB / 0.6464 GB, free: 1.047 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.1614, allocations: 48.12 kB / 0.6464 GB, free: 1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1614, allocations: 0 / 0.6464 GB, free: 1 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1614, allocations: 0 / 0.6464 GB, free: 1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1614, allocations: 0 / 0.6464 GB, free: 1 MB / 442.7 MB 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.000462/0.1619, allocations: 331.6 kB / 0.6467 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1619, allocations: 12.03 kB / 0.6467 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.162, allocations: 8.828 kB / 0.6467 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1621, allocations: 164.3 kB / 0.6469 GB, free: 420 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.1622, allocations: 34.27 kB / 0.6469 GB, free: 380 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1622, allocations: 4.375 kB / 0.6469 GB, free: 376 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1624, allocations: 53.61 kB / 0.647 GB, free: 316 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1624, allocations: 0 / 0.647 GB, free: 316 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1624, allocations: 0 / 0.647 GB, free: 316 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.1624, allocations: 3.984 kB / 0.647 GB, free: 312 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.1625, allocations: 12 kB / 0.647 GB, free: 300 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.163, allocations: 345.9 kB / 0.6473 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.163, allocations: 18.58 kB / 0.6473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.1631, allocations: 8.844 kB / 0.6474 GB, free: 15.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.1632, allocations: 81.17 kB / 0.6474 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1632, allocations: 34.56 kB / 0.6475 GB, free: 15.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1632, allocations: 0 / 0.6475 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000157/0.1634, allocations: 37.77 kB / 0.6475 GB, free: 15.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1634, allocations: 59.39 kB / 0.6476 GB, free: 15.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.1635, allocations: 97.86 kB / 0.6477 GB, free: 15.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1636, allocations: 29.7 kB / 0.6477 GB, free: 15.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.1636, allocations: 88.03 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.1636, allocations: 3.906 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1637, allocations: 17.66 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1638, allocations: 322.8 kB / 0.6481 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.1638, allocations: 4 kB / 0.6481 GB, free: 15.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.1639, allocations: 17.7 kB / 0.6481 GB, free: 14.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.1639, allocations: 25.66 kB / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1639, allocations: 0 / 0.6481 GB, free: 14.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.904e-05/0.164, allocations: 45.69 kB / 0.6482 GB, free: 14.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.164, allocations: 8 kB / 0.6482 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.164, allocations: 64 / 0.6482 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.164, allocations: 4 kB / 0.6482 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.1641, allocations: 4 kB / 0.6482 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1641, allocations: 3.938 kB / 0.6482 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.1641, allocations: 7.938 kB / 0.6482 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.1641, allocations: 0 / 0.6482 GB, free: 14.87 MB / 458.7 MB 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 9.138e-05/0.1642, allocations: 117.8 kB / 0.6483 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1643, allocations: 0 / 0.6483 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1644, allocations: 121 kB / 0.6484 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-05/0.1645, allocations: 184.2 kB / 0.6486 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.664e-05/0.1646, allocations: 176.3 kB / 0.6488 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-05/0.1646, allocations: 176.3 kB / 0.6489 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.1649, allocations: 413.1 kB / 0.6493 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.463e-05/0.1649, allocations: 101 kB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.165, allocations: 112.9 kB / 0.6495 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.805e-05/0.1651, allocations: 176.3 kB / 0.6497 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.1651, allocations: 188.2 kB / 0.6499 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.368e-05/0.1652, allocations: 180.2 kB / 0.6501 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.395e-05/0.1653, allocations: 180.3 kB / 0.6502 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.1657, allocations: 0.8491 MB / 0.6511 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.1658, allocations: 178.1 kB / 0.6512 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.1659, allocations: 196.2 kB / 0.6514 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.166, allocations: 108.9 kB / 0.6515 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/0.1661, allocations: 180.5 kB / 0.6517 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-05/0.1662, allocations: 108.9 kB / 0.6518 GB, free: 10.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.1662, allocations: 83.28 kB / 0.6519 GB, free: 10.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 0.6519 GB, free: 10.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.1666, allocations: 19.94 kB / 0.6519 GB, free: 10.83 MB / 458.7 MB 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.0003047/0.167, allocations: 202.4 kB / 0.6521 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.068e-05/0.167, allocations: 4 kB / 0.6521 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.167, allocations: 0 / 0.6521 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.167, allocations: 3.938 kB / 0.6521 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1675, allocations: 0.5264 MB / 0.6526 GB, free: 10.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.1677, allocations: 179.7 kB / 0.6528 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.168, allocations: 0.677 MB / 0.6535 GB, free: 9.172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.43e-05/0.1681, allocations: 11.92 kB / 0.6535 GB, free: 9.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.1681, allocations: 7.438 kB / 0.6535 GB, free: 9.152 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1681, allocations: 4 kB / 0.6535 GB, free: 9.148 MB / 458.7 MB Notification: Performance of Templates: time 0.00268/0.1708, allocations: 0.6271 MB / 0.6541 GB, free: 8.527 MB / 458.7 MB 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)