Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001104/0.001104, allocations: 196 kB / 17.98 MB, free: 5.031 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.249/1.249, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6741/0.6741, allocations: 115.1 MB / 407 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3547, allocations: 76.15 MB / 0.5576 GB, free: 36.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002023/0.3567, allocations: 1.267 MB / 0.5588 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.3575, allocations: 0.572 MB / 0.5594 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.3576, allocations: 2.562 kB / 0.5594 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.3576, allocations: 0.7969 kB / 0.5594 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.3576, allocations: 6.375 kB / 0.5594 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.358, allocations: 95.5 kB / 0.5595 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.358, allocations: 22.19 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.3581, allocations: 6.484 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.3581, allocations: 5.047 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.3582, allocations: 9.078 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3582, allocations: 1.688 kB / 0.5595 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.3585, allocations: 146.4 kB / 0.5597 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3585, allocations: 0.7969 kB / 0.5597 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.3585, allocations: 9.188 kB / 0.5597 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3587, allocations: 89.33 kB / 0.5597 GB, free: 35.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3587, allocations: 2.062 kB / 0.5598 GB, free: 35.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3587, allocations: 0 / 0.5598 GB, free: 35.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.3587, allocations: 1.219 kB / 0.5598 GB, free: 35.34 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000265/0.359, allocations: 345.8 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.359, allocations: 10.38 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004178/0.3594, allocations: 31.34 kB / 0.5601 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.835e-05/0.3595, allocations: 171.1 kB / 0.5603 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3596, allocations: 384 / 0.5603 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.3596, allocations: 1.625 kB / 0.5603 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3597, allocations: 52.59 kB / 0.5603 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3597, allocations: 1.984 kB / 0.5603 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3597, allocations: 3.938 kB / 0.5603 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3598, allocations: 0.8438 kB / 0.5603 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3599, allocations: 24.02 kB / 0.5604 GB, free: 34.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.36, allocations: 158.4 kB / 0.5605 GB, free: 34.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3602, allocations: 39.06 kB / 0.5606 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.3602, allocations: 18.83 kB / 0.5606 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3603, allocations: 2.781 kB / 0.5606 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3603, allocations: 37.56 kB / 0.5606 GB, free: 34.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.3603, allocations: 0.5312 kB / 0.5606 GB, free: 34.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002772/0.3606, allocations: 75.66 kB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.3606, allocations: 51.41 kB / 0.5607 GB, free: 34.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.3607, allocations: 99.09 kB / 0.5608 GB, free: 34.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3607, allocations: 28.03 kB / 0.5609 GB, free: 34.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.393e-05/0.3607, allocations: 80.64 kB / 0.5609 GB, free: 34.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.3607, allocations: 10.95 kB / 0.5609 GB, free: 34.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3608, allocations: 14.69 kB / 0.561 GB, free: 34.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3608, allocations: 317.1 kB / 0.5613 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.3609, allocations: 11.3 kB / 0.5613 GB, free: 33.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.3609, allocations: 15.86 kB / 0.5613 GB, free: 33.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.3611, allocations: 31.27 kB / 0.5613 GB, free: 33.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3611, allocations: 1.219 kB / 0.5613 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001519/0.3612, allocations: 61.36 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3612, allocations: 9.781 kB / 0.5614 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3613, allocations: 8.625 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3613, allocations: 2.094 kB / 0.5614 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.3614, allocations: 11.86 kB / 0.5614 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3614, allocations: 5.969 kB / 0.5614 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.3615, allocations: 2.828 kB / 0.5614 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3615, allocations: 1.891 kB / 0.5614 GB, free: 33.71 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 4.861e-05/0.3615, allocations: 109 kB / 0.5615 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.3615, allocations: 3.672 kB / 0.5615 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.3616, allocations: 13.59 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3616, allocations: 2.438 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3616, allocations: 0 / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3616, allocations: 5.703 kB / 0.5615 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.3617, allocations: 154.5 kB / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3617, allocations: 0.6875 kB / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.3618, allocations: 9.016 kB / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3618, allocations: 2.25 kB / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3618, allocations: 5.734 kB / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3618, allocations: 0 / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3618, allocations: 1.906 kB / 0.5617 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.362, allocations: 86.94 kB / 0.5618 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.3621, allocations: 81.58 kB / 0.5619 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3621, allocations: 6.219 kB / 0.5619 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.3622, allocations: 4.344 kB / 0.5619 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.3622, allocations: 1.562 kB / 0.5619 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.3622, allocations: 2.797 kB / 0.5619 GB, free: 33.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.294e-05/0.3622, allocations: 78.12 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3622, allocations: 2.438 kB / 0.562 GB, free: 33.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000198/0.3624, allocations: 11.47 kB / 0.562 GB, free: 33.14 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 (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.0001462/0.3626, allocations: 123.9 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.3627, allocations: 28.42 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3628, allocations: 0 / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.3628, allocations: 14.28 kB / 0.5621 GB, free: 33.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.363, allocations: 10.14 kB / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.3633, allocations: 125.7 kB / 0.5623 GB, free: 32.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3634, allocations: 0.675 MB / 0.5629 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.3635, allocations: 10.7 kB / 0.5629 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.3635, allocations: 11.55 kB / 0.5629 GB, free: 32.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3635, allocations: 0 / 0.5629 GB, free: 32.22 MB / 446.1 MB Notification: Performance of Templates: time 0.002782/0.3663, allocations: 0.7419 MB / 0.5637 GB, free: 32.18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)