Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009774/0.0009774, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001023/0.001023, allocations: 195 kB / 17.98 MB, free: 5.027 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6861/0.6861, allocations: 115.1 MB / 406.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.98 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3392, allocations: 76.13 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002537/0.3418, allocations: 1.402 MB / 0.5589 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.3422, allocations: 204.2 kB / 0.5591 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.3423, allocations: 1.219 kB / 0.5591 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.3423, allocations: 4.469 kB / 0.5591 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.3424, allocations: 5.75 kB / 0.5591 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.3426, allocations: 23.33 kB / 0.5592 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.345e-05/0.3427, allocations: 25.67 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.3428, allocations: 8.625 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.3428, allocations: 10.36 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.3429, allocations: 10.77 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3429, allocations: 2.781 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.343, allocations: 28.62 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.343, allocations: 1.078 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.343, allocations: 11.66 kB / 0.5592 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3432, allocations: 39.25 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3432, allocations: 0 / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3432, allocations: 5 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3432, allocations: 0 / 0.5593 GB, free: 35.45 MB / 446.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.0004492/0.3437, allocations: 341.3 kB / 0.5596 GB, free: 35.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3437, allocations: 12.09 kB / 0.5596 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.3438, allocations: 8.906 kB / 0.5596 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.344, allocations: 162.9 kB / 0.5598 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.344, allocations: 3.031 kB / 0.5598 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.344, allocations: 1.781 kB / 0.5598 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.3442, allocations: 54.66 kB / 0.5598 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.3442, allocations: 0.8125 kB / 0.5599 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3443, allocations: 5.375 kB / 0.5599 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3443, allocations: 2.719 kB / 0.5599 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3444, allocations: 34 kB / 0.5599 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.3448, allocations: 244.5 kB / 0.5601 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.345, allocations: 45.66 kB / 0.5602 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.687e-05/0.3451, allocations: 30.42 kB / 0.5602 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3451, allocations: 1.406 kB / 0.5602 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3451, allocations: 30.56 kB / 0.5602 GB, free: 34.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3451, allocations: 1.469 kB / 0.5602 GB, free: 34.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.3455, allocations: 83.72 kB / 0.5603 GB, free: 34.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3456, allocations: 53.86 kB / 0.5604 GB, free: 34.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.3457, allocations: 100.8 kB / 0.5605 GB, free: 34.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3457, allocations: 27.08 kB / 0.5605 GB, free: 34.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.3457, allocations: 85.72 kB / 0.5606 GB, free: 34.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3458, allocations: 5.938 kB / 0.5606 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3458, allocations: 13.73 kB / 0.5606 GB, free: 34.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.3459, allocations: 318 kB / 0.5609 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.346, allocations: 14.23 kB / 0.5609 GB, free: 33.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.3461, allocations: 22.38 kB / 0.5609 GB, free: 33.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.3462, allocations: 38.03 kB / 0.561 GB, free: 33.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3462, allocations: 0 / 0.561 GB, free: 33.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.3464, allocations: 68.19 kB / 0.561 GB, free: 33.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3465, allocations: 6.031 kB / 0.561 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3465, allocations: 1.312 kB / 0.561 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3465, allocations: 0 / 0.561 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.3466, allocations: 13.48 kB / 0.561 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3466, allocations: 0.75 kB / 0.561 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.3467, allocations: 11.41 kB / 0.5611 GB, free: 33.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.3467, allocations: 2.578 kB / 0.5611 GB, free: 33.77 MB / 446.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.791e-05/0.3467, allocations: 115.2 kB / 0.5612 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3468, allocations: 2.078 kB / 0.5612 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.347, allocations: 77.28 kB / 0.5612 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.347, allocations: 5.219 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.347, allocations: 1.438 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3471, allocations: 1.25 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.3472, allocations: 166.2 kB / 0.5614 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3472, allocations: 0 / 0.5614 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.3473, allocations: 14.19 kB / 0.5614 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3473, allocations: 1.406 kB / 0.5614 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3473, allocations: 6.109 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3473, allocations: 1.094 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3473, allocations: 8.766 kB / 0.5614 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3476, allocations: 172 kB / 0.5616 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.3476, allocations: 79.58 kB / 0.5617 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3476, allocations: 2.109 kB / 0.5617 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.3477, allocations: 6.328 kB / 0.5617 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3477, allocations: 11.66 kB / 0.5617 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3478, allocations: 0 / 0.5617 GB, free: 33.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.6e-05/0.3478, allocations: 81.06 kB / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3478, allocations: 0 / 0.5618 GB, free: 33.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.348, allocations: 4.688 kB / 0.5618 GB, free: 33.07 MB / 446.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.0001025/0.3481, allocations: 98.14 kB / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3484, allocations: 46.14 kB / 0.5619 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3484, allocations: 0 / 0.5619 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.232e-05/0.3484, allocations: 19.52 kB / 0.5619 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3488, allocations: 12.73 kB / 0.5619 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.3491, allocations: 115.6 kB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3492, allocations: 0.6814 MB / 0.5627 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.3493, allocations: 3.125 kB / 0.5627 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.3493, allocations: 10.52 kB / 0.5627 GB, free: 32.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3493, allocations: 0 / 0.5627 GB, free: 32.15 MB / 446.1 MB Notification: Performance of Templates: time 0.002578/0.3519, allocations: 492.1 kB / 0.5632 GB, free: 32.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)