Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5611/0.5611, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 349.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 108 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000982/0.0009821, allocations: 55.91 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3563, allocations: 70.06 MB / 0.5575 GB, free: 44.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.004467/0.3608, allocations: 1.484 MB / 0.5589 GB, free: 43.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3624, allocations: 0.595 MB / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.3625, allocations: 0 / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.3625, allocations: 0 / 0.5595 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.3626, allocations: 8.094 kB / 0.5595 GB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.3631, allocations: 79.89 kB / 0.5596 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.3632, allocations: 22.83 kB / 0.5596 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3634, allocations: 6.219 kB / 0.5596 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.32e-05/0.3635, allocations: 16.41 kB / 0.5596 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.3636, allocations: 8.281 kB / 0.5596 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3636, allocations: 5.312 kB / 0.5596 GB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.3641, allocations: 156.1 kB / 0.5598 GB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.3641, allocations: 3.984 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.3642, allocations: 15.92 kB / 0.5598 GB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.3645, allocations: 93.94 kB / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3645, allocations: 0 / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3645, allocations: 0 / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3645, allocations: 3.938 kB / 0.5599 GB, free: 42.72 MB / 410.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.0005187/0.365, allocations: 372 kB / 0.5603 GB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.3651, allocations: 8.031 kB / 0.5603 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005712/0.3657, allocations: 28.91 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3658, allocations: 168.3 kB / 0.5605 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3658, allocations: 384 / 0.5605 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3659, allocations: 8.375 kB / 0.5605 GB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.3662, allocations: 62.2 kB / 0.5605 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3662, allocations: 4.188 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3662, allocations: 3.938 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3662, allocations: 0 / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.3666, allocations: 55.88 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.3671, allocations: 272.9 kB / 0.5608 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.3675, allocations: 54.48 kB / 0.5609 GB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.3677, allocations: 32.89 kB / 0.5609 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3677, allocations: 4 kB / 0.5609 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.3677, allocations: 34.55 kB / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.3677, allocations: 0 / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007014/0.3684, allocations: 117.7 kB / 0.5611 GB, free: 41.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.3685, allocations: 55.41 kB / 0.5611 GB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.3686, allocations: 97.84 kB / 0.5612 GB, free: 41.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3686, allocations: 25.7 kB / 0.5613 GB, free: 41.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.3686, allocations: 84.14 kB / 0.5613 GB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3687, allocations: 7.906 kB / 0.5613 GB, free: 41.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3687, allocations: 9.719 kB / 0.5613 GB, free: 41.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.3688, allocations: 322.8 kB / 0.5617 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.369, allocations: 27.97 kB / 0.5617 GB, free: 40.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.3692, allocations: 27.97 kB / 0.5617 GB, free: 40.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3696, allocations: 60.81 kB / 0.5618 GB, free: 40.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3696, allocations: 0 / 0.5618 GB, free: 40.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004004/0.37, allocations: 89.56 kB / 0.5619 GB, free: 40.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.37, allocations: 7.938 kB / 0.5619 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.37, allocations: 0 / 0.5619 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3701, allocations: 0 / 0.5619 GB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3702, allocations: 16.02 kB / 0.5619 GB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3703, allocations: 0 / 0.5619 GB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3704, allocations: 12.17 kB / 0.5619 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.3704, allocations: 0 / 0.5619 GB, free: 40.47 MB / 410.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 8.334e-05/0.3705, allocations: 113.8 kB / 0.562 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.3706, allocations: 15.88 kB / 0.562 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.3706, allocations: 7.125 kB / 0.562 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3707, allocations: 0 / 0.562 GB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3707, allocations: 7.938 kB / 0.562 GB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3707, allocations: 0 / 0.562 GB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3709, allocations: 173.5 kB / 0.5622 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3709, allocations: 0 / 0.5622 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.371, allocations: 15.92 kB / 0.5622 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3711, allocations: 0 / 0.5622 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3711, allocations: 3.984 kB / 0.5622 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3711, allocations: 0 / 0.5622 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3711, allocations: 4 kB / 0.5622 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.3719, allocations: 0.7591 MB / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.3719, allocations: 85.05 kB / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3719, allocations: 0 / 0.563 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.3721, allocations: 11.98 kB / 0.563 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3722, allocations: 3.984 kB / 0.5631 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3722, allocations: 3.938 kB / 0.5631 GB, free: 39.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.907e-05/0.3722, allocations: 79.28 kB / 0.5631 GB, free: 39.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3723, allocations: 0 / 0.5631 GB, free: 39.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005949/0.3729, allocations: 16 kB / 0.5631 GB, free: 39.05 MB / 410.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 (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 Backend phase and start with SimCode phase: time 0.0001833/0.373, allocations: 115.2 kB / 0.5633 GB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004362/0.3735, allocations: 55.94 kB / 0.5633 GB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3735, allocations: 0 / 0.5633 GB, free: 38.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3737, allocations: 35.97 kB / 0.5633 GB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3742, allocations: 9.812 kB / 0.5634 GB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.3748, allocations: 247.3 kB / 0.5636 GB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3749, allocations: 0.677 MB / 0.5642 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.3751, allocations: 4 kB / 0.5643 GB, free: 37.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3751, allocations: 15.42 kB / 0.5643 GB, free: 37.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3751, allocations: 0 / 0.5643 GB, free: 37.82 MB / 410.7 MB Notification: Performance of Templates: time 0.003707/0.3789, allocations: 0.7212 MB / 0.565 GB, free: 37.11 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)