Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 179.9 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.8476/0.8476, allocations: 133.3 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.487/1.487, allocations: 222.9 MB / 404.7 MB, free: 6.023 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.001064/0.001064, allocations: 103.5 kB / 485.9 MB, free: 7.129 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 55.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1571, allocations: 80.43 MB / 0.6421 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003258/0.1604, allocations: 1.463 MB / 0.6436 GB, free: 3.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005744/0.161, allocations: 208.8 kB / 0.6438 GB, free: 3.715 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.1611, allocations: 0 / 0.6438 GB, free: 3.715 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.1612, allocations: 7.938 kB / 0.6438 GB, free: 3.707 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.1612, allocations: 7.984 kB / 0.6438 GB, free: 3.699 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1614, allocations: 19.91 kB / 0.6438 GB, free: 3.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.1615, allocations: 15.94 kB / 0.6438 GB, free: 3.664 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.1616, allocations: 11.98 kB / 0.6438 GB, free: 3.652 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.1617, allocations: 4 kB / 0.6438 GB, free: 3.648 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.1617, allocations: 15.92 kB / 0.6438 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1617, allocations: 0 / 0.6438 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.1618, allocations: 27.97 kB / 0.6439 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.1619, allocations: 0 / 0.6439 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1619, allocations: 19.92 kB / 0.6439 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.162, allocations: 32.19 kB / 0.6439 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.162, allocations: 0 / 0.6439 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1621, allocations: 0 / 0.6439 GB, free: 3.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1621, allocations: 0 / 0.6439 GB, free: 3.555 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.0005021/0.1626, allocations: 343.4 kB / 0.6442 GB, free: 3.168 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1626, allocations: 8.031 kB / 0.6443 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1628, allocations: 8.875 kB / 0.6443 GB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1629, allocations: 176.2 kB / 0.6444 GB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1629, allocations: 4.375 kB / 0.6444 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1629, allocations: 384 / 0.6444 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1631, allocations: 50.23 kB / 0.6445 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1632, allocations: 192 / 0.6445 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1632, allocations: 3.938 kB / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1632, allocations: 0 / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1634, allocations: 31.97 kB / 0.6445 GB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.1637, allocations: 264.8 kB / 0.6448 GB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1639, allocations: 34.5 kB / 0.6448 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.164, allocations: 24.91 kB / 0.6448 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.164, allocations: 0 / 0.6448 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1641, allocations: 38.55 kB / 0.6449 GB, free: 2.422 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1641, allocations: 0 / 0.6449 GB, free: 2.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003774/0.1645, allocations: 85.58 kB / 0.6449 GB, free: 2.332 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1645, allocations: 55.39 kB / 0.645 GB, free: 2.266 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.1646, allocations: 97.86 kB / 0.6451 GB, free: 2.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1646, allocations: 25.7 kB / 0.6451 GB, free: 2.129 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.1647, allocations: 88.27 kB / 0.6452 GB, free: 2.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1647, allocations: 3.906 kB / 0.6452 GB, free: 2.035 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1647, allocations: 21.64 kB / 0.6452 GB, free: 2.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1649, allocations: 314.8 kB / 0.6455 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.165, allocations: 11.98 kB / 0.6455 GB, free: 1.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.1651, allocations: 15.98 kB / 0.6455 GB, free: 1.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1652, allocations: 44.88 kB / 0.6456 GB, free: 1.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1652, allocations: 0 / 0.6456 GB, free: 1.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.1654, allocations: 73.53 kB / 0.6457 GB, free: 1.539 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1655, allocations: 5.719 kB / 0.6457 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1655, allocations: 4 kB / 0.6457 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1655, allocations: 0 / 0.6457 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.1656, allocations: 12.03 kB / 0.6457 GB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1656, allocations: 3.984 kB / 0.6457 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.1656, allocations: 4 kB / 0.6457 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1657, allocations: 4 kB / 0.6457 GB, free: 1.508 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.096e-05/0.1658, allocations: 113.8 kB / 0.6458 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1658, allocations: 3.906 kB / 0.6458 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1661, allocations: 84.7 kB / 0.6459 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1661, allocations: 0 / 0.6459 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1661, allocations: 0 / 0.6459 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1661, allocations: 0 / 0.6459 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1663, allocations: 161.6 kB / 0.646 GB, free: 1.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1663, allocations: 4 kB / 0.646 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.1664, allocations: 11.92 kB / 0.6461 GB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1664, allocations: 4 kB / 0.6461 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1664, allocations: 0 / 0.6461 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1664, allocations: 0 / 0.6461 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1664, allocations: 4 kB / 0.6461 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.167, allocations: 0.724 MB / 0.6468 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.1671, allocations: 81.02 kB / 0.6468 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1671, allocations: 4 kB / 0.6469 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.1672, allocations: 15.98 kB / 0.6469 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1672, allocations: 0 / 0.6469 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1673, allocations: 3.938 kB / 0.6469 GB, free: 168 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.613e-05/0.1673, allocations: 83.27 kB / 0.6469 GB, free: 84 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1673, allocations: 0 / 0.6469 GB, free: 84 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.1676, allocations: 4 kB / 0.647 GB, free: 80 kB / 442.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 (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 Backend phase and start with SimCode phase: time 0.0001379/0.1678, allocations: 99.19 kB / 0.647 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.168, allocations: 51.89 kB / 0.6471 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.168, allocations: 0 / 0.6471 GB, free: 15.92 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.1681, allocations: 15.98 kB / 0.6471 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1684, allocations: 8.516 kB / 0.6471 GB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.1688, allocations: 227.4 kB / 0.6473 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.169, allocations: 0.677 MB / 0.648 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.1691, allocations: 4 kB / 0.648 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.1691, allocations: 7.438 kB / 0.648 GB, free: 14.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1691, allocations: 0 / 0.648 GB, free: 14.92 MB / 458.7 MB Notification: Performance of Templates: time 0.002332/0.1715, allocations: 449.8 kB / 0.6484 GB, free: 14.48 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)