Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.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_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001776/0.001776, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00216/0.00216, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7372/0.7372, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60.28 kB / 0.5013 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4496, allocations: 80.19 MB / 0.5796 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002646/0.4523, allocations: 1.467 MB / 0.581 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004614/0.4527, allocations: 206.8 kB / 0.5812 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.4528, allocations: 4 kB / 0.5812 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.4528, allocations: 0.7031 kB / 0.5812 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.4529, allocations: 13.98 kB / 0.5812 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.4531, allocations: 13.17 kB / 0.5812 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.4532, allocations: 28.91 kB / 0.5813 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.4533, allocations: 8.125 kB / 0.5813 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.4534, allocations: 10.25 kB / 0.5813 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.4534, allocations: 10.61 kB / 0.5813 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.4535, allocations: 1.438 kB / 0.5813 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.11e-05/0.4536, allocations: 28.89 kB / 0.5813 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.4536, allocations: 5.266 kB / 0.5813 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.4536, allocations: 12.34 kB / 0.5813 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.4537, allocations: 39.48 kB / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4537, allocations: 0.625 kB / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4538, allocations: 0 / 0.5814 GB, free: 3.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.4538, allocations: 0 / 0.5814 GB, free: 3.32 MB / 430.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.0004066/0.4542, allocations: 344.8 kB / 0.5817 GB, free: 2.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4542, allocations: 8.656 kB / 0.5817 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.4544, allocations: 8.766 kB / 0.5817 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.4545, allocations: 167.4 kB / 0.5819 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4545, allocations: 1.25 kB / 0.5819 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.4545, allocations: 1.438 kB / 0.5819 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4547, allocations: 49.62 kB / 0.5819 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4547, allocations: 1.812 kB / 0.5819 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4547, allocations: 7.875 kB / 0.582 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4548, allocations: 0 / 0.582 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4549, allocations: 36.53 kB / 0.582 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.4553, allocations: 247.5 kB / 0.5822 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4554, allocations: 41.53 kB / 0.5823 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.911e-05/0.4555, allocations: 23.17 kB / 0.5823 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4555, allocations: 4.812 kB / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.4556, allocations: 36.31 kB / 0.5823 GB, free: 2.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4556, allocations: 0 / 0.5823 GB, free: 2.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.4559, allocations: 80.03 kB / 0.5824 GB, free: 2.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.4559, allocations: 52.22 kB / 0.5824 GB, free: 2.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.456, allocations: 105.5 kB / 0.5825 GB, free: 2.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.456, allocations: 25.7 kB / 0.5826 GB, free: 2.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.456, allocations: 82.38 kB / 0.5827 GB, free: 2.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.4561, allocations: 5.75 kB / 0.5827 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.4561, allocations: 17.31 kB / 0.5827 GB, free: 1.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.4561, allocations: 316.2 kB / 0.583 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.4562, allocations: 17.69 kB / 0.583 GB, free: 1.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.4563, allocations: 22.89 kB / 0.583 GB, free: 1.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.4565, allocations: 37.56 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4565, allocations: 3.938 kB / 0.5831 GB, free: 1.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.4567, allocations: 67.03 kB / 0.5831 GB, free: 1.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4567, allocations: 7.375 kB / 0.5831 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4567, allocations: 5.953 kB / 0.5831 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4567, allocations: 0 / 0.5831 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.4568, allocations: 9.141 kB / 0.5831 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4568, allocations: 4.812 kB / 0.5831 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.4569, allocations: 18.22 kB / 0.5832 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4569, allocations: 1.453 kB / 0.5832 GB, free: 1.594 MB / 430.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 4.828e-05/0.4569, allocations: 113.5 kB / 0.5833 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.457, allocations: 9.188 kB / 0.5833 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4572, allocations: 79.02 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4572, allocations: 1.219 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4572, allocations: 0 / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4572, allocations: 0.7031 kB / 0.5834 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.4574, allocations: 161.3 kB / 0.5835 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4574, allocations: 0 / 0.5835 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.4574, allocations: 10.94 kB / 0.5835 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4574, allocations: 4 kB / 0.5835 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4575, allocations: 1.656 kB / 0.5835 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4575, allocations: 1.219 kB / 0.5835 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4575, allocations: 0 / 0.5835 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.4577, allocations: 169.4 kB / 0.5837 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.4577, allocations: 84.05 kB / 0.5838 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.4577, allocations: 1.125 kB / 0.5838 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.4578, allocations: 10.11 kB / 0.5838 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.4579, allocations: 2.438 kB / 0.5838 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.4579, allocations: 0.875 kB / 0.5838 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.51e-05/0.4579, allocations: 80.56 kB / 0.5839 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4579, allocations: 0 / 0.5839 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.4581, allocations: 8.438 kB / 0.5839 GB, free: 0.8984 MB / 430.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 9.972e-05/0.4582, allocations: 97.17 kB / 0.584 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.4585, allocations: 48.33 kB / 0.584 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4585, allocations: 0 / 0.584 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.4586, allocations: 22.97 kB / 0.584 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.4589, allocations: 6.594 kB / 0.584 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4592, allocations: 130.2 kB / 0.5842 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.4593, allocations: 0.6779 MB / 0.5848 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.4594, allocations: 1.156 kB / 0.5848 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.4594, allocations: 14.12 kB / 0.5848 GB, free: 15.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4594, allocations: 3.938 kB / 0.5848 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Templates: time 0.002429/0.4618, allocations: 448.4 kB / 0.5853 GB, free: 15.89 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)