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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001233/0.001233, allocations: 198.2 kB / 16.14 MB, free: 6.641 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9644/0.9644, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 68.73 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.161, allocations: 80.92 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002597/0.1636, allocations: 1.457 MB / 0.5851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004886/0.1641, allocations: 207.4 kB / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1642, allocations: 0 / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.1642, allocations: 0 / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1643, allocations: 15.88 kB / 0.5853 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1645, allocations: 19.95 kB / 0.5854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.1645, allocations: 19.94 kB / 0.5854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.1646, allocations: 7.984 kB / 0.5854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.1647, allocations: 11.94 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.1647, allocations: 7.984 kB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1647, allocations: 0 / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.1648, allocations: 31.91 kB / 0.5854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.1649, allocations: 7.938 kB / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1649, allocations: 11.98 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.165, allocations: 32.19 kB / 0.5855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.165, allocations: 4 kB / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.165, allocations: 0 / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.165, allocations: 0 / 0.5855 GB, free: 3.152 MB / 494.1 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.0004236/0.1655, allocations: 339.4 kB / 0.5858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1655, allocations: 8.031 kB / 0.5858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1656, allocations: 8.938 kB / 0.5858 GB, free: 2.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1657, allocations: 164.4 kB / 0.586 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1658, allocations: 4.375 kB / 0.586 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1658, allocations: 4.375 kB / 0.586 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1659, allocations: 50.23 kB / 0.586 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.166, allocations: 192 / 0.586 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.166, allocations: 7.922 kB / 0.586 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.166, allocations: 0 / 0.586 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1662, allocations: 39.84 kB / 0.5861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1666, allocations: 260.8 kB / 0.5863 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1667, allocations: 38.5 kB / 0.5864 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.1668, allocations: 16.91 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1668, allocations: 0 / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1669, allocations: 42.56 kB / 0.5864 GB, free: 2.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1669, allocations: 0 / 0.5864 GB, free: 2.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.1672, allocations: 77.58 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1673, allocations: 55.41 kB / 0.5866 GB, free: 1.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1673, allocations: 105.8 kB / 0.5867 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1674, allocations: 25.83 kB / 0.5867 GB, free: 1.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.1674, allocations: 88.14 kB / 0.5868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.1675, allocations: 7.906 kB / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.1675, allocations: 9.719 kB / 0.5868 GB, free: 1.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1676, allocations: 314.8 kB / 0.5871 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.1677, allocations: 19.98 kB / 0.5871 GB, free: 1.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.1678, allocations: 11.98 kB / 0.5871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1679, allocations: 52.81 kB / 0.5872 GB, free: 1.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.168, allocations: 3.938 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.1682, allocations: 61.61 kB / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1682, allocations: 10.03 kB / 0.5872 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1682, allocations: 3.984 kB / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1682, allocations: 0 / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.1683, allocations: 12.03 kB / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1683, allocations: 0 / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.1684, allocations: 7.984 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1684, allocations: 0 / 0.5873 GB, free: 1.113 MB / 494.1 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 6.719e-05/0.1685, allocations: 109.8 kB / 0.5874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1685, allocations: 4 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.1687, allocations: 80.7 kB / 0.5874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1688, allocations: 4 kB / 0.5874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1688, allocations: 0 / 0.5874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1688, allocations: 0 / 0.5874 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1689, allocations: 169.5 kB / 0.5876 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1689, allocations: 0 / 0.5876 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.169, allocations: 8 kB / 0.5876 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.169, allocations: 3.938 kB / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.169, allocations: 0 / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.169, allocations: 7.984 kB / 0.5876 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1691, allocations: 4 kB / 0.5876 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1693, allocations: 167.4 kB / 0.5878 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.1693, allocations: 77.11 kB / 0.5879 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1694, allocations: 4 kB / 0.5879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.1694, allocations: 7.984 kB / 0.5879 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1695, allocations: 8 kB / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1695, allocations: 0 / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.717e-05/0.1695, allocations: 87.27 kB / 0.588 GB, free: 292 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1695, allocations: 0 / 0.588 GB, free: 292 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1698, allocations: 4 kB / 0.588 GB, free: 288 kB / 494.1 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.0001029/0.1699, allocations: 95.25 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1701, allocations: 43.95 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1701, allocations: 0 / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.1702, allocations: 23.92 kB / 0.5881 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1705, allocations: 7.938 kB / 0.5881 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.1708, allocations: 128.9 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1711, allocations: 0.6809 MB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.1711, allocations: 8 kB / 0.5889 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.1712, allocations: 7.438 kB / 0.5889 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1712, allocations: 3.938 kB / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.002255/0.1734, allocations: 427.5 kB / 0.5893 GB, free: 14.82 MB / 0.4981 GB 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)