Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001173, allocations: 106.5 kB / 16.52 MB, free: 6.656 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.001175/0.001175, allocations: 196.7 kB / 17.44 MB, free: 6.047 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6967/0.6967, allocations: 115.3 MB / 406.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 493.6 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3572, allocations: 76.18 MB / 0.5564 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002065/0.3593, allocations: 1.336 MB / 0.5577 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.3602, allocations: 0.6512 MB / 0.5583 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.3602, allocations: 1.469 kB / 0.5583 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.3602, allocations: 1.5 kB / 0.5583 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.55e-05/0.3603, allocations: 2.438 kB / 0.5583 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3606, allocations: 97.72 kB / 0.5584 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.3607, allocations: 23.17 kB / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.3607, allocations: 3.031 kB / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.3607, allocations: 12.52 kB / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3608, allocations: 14.38 kB / 0.5585 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3608, allocations: 1.375 kB / 0.5585 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.3611, allocations: 148.6 kB / 0.5586 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.3611, allocations: 3.5 kB / 0.5586 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.3611, allocations: 13.64 kB / 0.5586 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.3612, allocations: 63.34 kB / 0.5587 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3613, allocations: 1.266 kB / 0.5587 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3613, allocations: 2.25 kB / 0.5587 GB, free: 34.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.3613, allocations: 0 / 0.5587 GB, free: 34.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003653/0.3616, allocations: 363.6 kB / 0.5591 GB, free: 34.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3617, allocations: 13.69 kB / 0.5591 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.3621, allocations: 30.48 kB / 0.5591 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.588e-05/0.3622, allocations: 168.2 kB / 0.5593 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3622, allocations: 2.625 kB / 0.5593 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.3622, allocations: 10.78 kB / 0.5593 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3624, allocations: 58.19 kB / 0.5593 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3624, allocations: 1.406 kB / 0.5593 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3624, allocations: 5.297 kB / 0.5593 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3624, allocations: 3.125 kB / 0.5593 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3626, allocations: 29.88 kB / 0.5594 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.3627, allocations: 158.2 kB / 0.5595 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.363, allocations: 72.28 kB / 0.5596 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.746e-05/0.3631, allocations: 24.86 kB / 0.5596 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3631, allocations: 0 / 0.5596 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3632, allocations: 34.03 kB / 0.5596 GB, free: 33.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3632, allocations: 0.5625 kB / 0.5596 GB, free: 33.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003493/0.3667, allocations: 0.572 MB / 0.5602 GB, free: 33.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3667, allocations: 58.44 kB / 0.5603 GB, free: 33.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.3667, allocations: 94.06 kB / 0.5603 GB, free: 33.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3668, allocations: 26.73 kB / 0.5604 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.3668, allocations: 85.42 kB / 0.5605 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.3668, allocations: 26.83 kB / 0.5605 GB, free: 33.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3669, allocations: 27.02 kB / 0.5605 GB, free: 33.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.3669, allocations: 316.1 kB / 0.5608 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3671, allocations: 35.84 kB / 0.5608 GB, free: 32.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3672, allocations: 35.58 kB / 0.5609 GB, free: 32.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3675, allocations: 84.84 kB / 0.561 GB, free: 32.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3675, allocations: 0 / 0.561 GB, free: 32.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003455/0.3679, allocations: 119 kB / 0.5611 GB, free: 32.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3679, allocations: 10.62 kB / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3679, allocations: 240 / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3679, allocations: 1.328 kB / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3682, allocations: 28.25 kB / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3682, allocations: 6.016 kB / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3684, allocations: 13.3 kB / 0.5611 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3684, allocations: 7.141 kB / 0.5611 GB, free: 32.79 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 (7): * Single equations (assignments): 7 * 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.348e-05/0.3684, allocations: 113.1 kB / 0.5612 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3685, allocations: 9.141 kB / 0.5612 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.3686, allocations: 12.67 kB / 0.5613 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3686, allocations: 5.219 kB / 0.5613 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3686, allocations: 2.031 kB / 0.5613 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3686, allocations: 0 / 0.5613 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3687, allocations: 190.1 kB / 0.5614 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3687, allocations: 1.75 kB / 0.5614 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.369, allocations: 22.92 kB / 0.5615 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.369, allocations: 9.344 kB / 0.5615 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.369, allocations: 4.5 kB / 0.5615 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.369, allocations: 1.641 kB / 0.5615 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.369, allocations: 0 / 0.5615 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.3695, allocations: 187.5 kB / 0.5617 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.3696, allocations: 87.11 kB / 0.5617 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3696, allocations: 2.75 kB / 0.5618 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3698, allocations: 10.31 kB / 0.5618 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.3698, allocations: 5.094 kB / 0.5618 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3698, allocations: 4.156 kB / 0.5618 GB, free: 32.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.934e-05/0.3699, allocations: 78.78 kB / 0.5618 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3699, allocations: 1 kB / 0.5618 GB, free: 32.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.3701, allocations: 32.55 kB / 0.5619 GB, free: 32.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001878/0.3703, allocations: 129.3 kB / 0.562 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.3707, allocations: 85.92 kB / 0.5621 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3707, allocations: 0 / 0.5621 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3708, allocations: 48.47 kB / 0.5621 GB, free: 32.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3711, allocations: 9.297 kB / 0.5621 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.3718, allocations: 213.8 kB / 0.5623 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.596e-05/0.3719, allocations: 0.6785 MB / 0.563 GB, free: 31.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.372, allocations: 21.8 kB / 0.563 GB, free: 31.14 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.372, allocations: 0 / 0.563 GB, free: 31.14 MB / 446.1 MB Notification: Performance of Templates: time 0.003619/0.3756, allocations: 1.568 MB / 0.5646 GB, free: 31.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)