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.001175/0.001175, allocations: 92.64 kB / 16.67 MB, free: 6.594 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.001435/0.001435, allocations: 182.3 kB / 17.58 MB, free: 6.188 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.465/1.465, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7026/0.7026, allocations: 115.5 MB / 408.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003174, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3604, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001172/0.3616, allocations: 1.008 MB / 0.5616 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000898/0.3625, allocations: 0.6404 MB / 0.5622 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.3625, allocations: 1.188 kB / 0.5622 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.3626, allocations: 1.422 kB / 0.5622 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.3626, allocations: 6.328 kB / 0.5622 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.363, allocations: 92.84 kB / 0.5623 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.363, allocations: 25.94 kB / 0.5623 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3631, allocations: 4.203 kB / 0.5623 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.3631, allocations: 7.953 kB / 0.5623 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.3632, allocations: 15.47 kB / 0.5624 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3632, allocations: 1.531 kB / 0.5624 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.3634, allocations: 149.3 kB / 0.5625 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.3635, allocations: 2.234 kB / 0.5625 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.3635, allocations: 41.02 kB / 0.5625 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.3636, allocations: 65.86 kB / 0.5626 GB, free: 34.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3637, allocations: 0.9688 kB / 0.5626 GB, free: 34.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3637, allocations: 0 / 0.5626 GB, free: 34.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3637, allocations: 0 / 0.5626 GB, free: 34.89 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.0003489/0.364, allocations: 355.1 kB / 0.5629 GB, free: 34.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3641, allocations: 13.83 kB / 0.563 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.3645, allocations: 29.33 kB / 0.563 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.886e-05/0.3646, allocations: 167.5 kB / 0.5631 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.3646, allocations: 0.9844 kB / 0.5631 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3646, allocations: 10.31 kB / 0.5632 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3648, allocations: 57.66 kB / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3648, allocations: 192 / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3648, allocations: 7.875 kB / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3648, allocations: 5.281 kB / 0.5632 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.365, allocations: 29.48 kB / 0.5633 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.3651, allocations: 162 kB / 0.5634 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.3654, allocations: 64.3 kB / 0.5635 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.3655, allocations: 31.17 kB / 0.5635 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3655, allocations: 0 / 0.5635 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.3655, allocations: 37.09 kB / 0.5635 GB, free: 33.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3655, allocations: 1.125 kB / 0.5635 GB, free: 33.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003331/0.3689, allocations: 0.575 MB / 0.5641 GB, free: 33.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.3689, allocations: 53.84 kB / 0.5641 GB, free: 33.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/0.369, allocations: 98.31 kB / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.369, allocations: 26.67 kB / 0.5643 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/0.369, allocations: 84.69 kB / 0.5643 GB, free: 33.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.369, allocations: 26.92 kB / 0.5644 GB, free: 33.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.3691, allocations: 12.11 kB / 0.5644 GB, free: 33.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.3691, allocations: 317.6 kB / 0.5647 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3693, allocations: 35.16 kB / 0.5647 GB, free: 33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3694, allocations: 38.02 kB / 0.5648 GB, free: 33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.3697, allocations: 79.59 kB / 0.5648 GB, free: 32.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3697, allocations: 0 / 0.5648 GB, free: 32.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000332/0.37, allocations: 127.5 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3701, allocations: 11.67 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3701, allocations: 0.7812 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3701, allocations: 3.094 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3703, allocations: 22.09 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3703, allocations: 1.953 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3705, allocations: 9.625 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3705, allocations: 6.125 kB / 0.565 GB, free: 32.89 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.125e-05/0.3706, allocations: 109.8 kB / 0.5651 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.3706, allocations: 5.922 kB / 0.5651 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.3706, allocations: 11.69 kB / 0.5651 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3707, allocations: 2.531 kB / 0.5651 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3707, allocations: 1.188 kB / 0.5651 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3707, allocations: 1.391 kB / 0.5651 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3708, allocations: 198.8 kB / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3708, allocations: 0.7812 kB / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.371, allocations: 22.33 kB / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.3711, allocations: 5 kB / 0.5653 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3711, allocations: 5.047 kB / 0.5654 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3711, allocations: 1.156 kB / 0.5654 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3711, allocations: 0.7031 kB / 0.5654 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.3716, allocations: 192.4 kB / 0.5655 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.3716, allocations: 87.17 kB / 0.5656 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3717, allocations: 6.078 kB / 0.5656 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3719, allocations: 9.281 kB / 0.5656 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.3719, allocations: 4.938 kB / 0.5656 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3719, allocations: 5.25 kB / 0.5656 GB, free: 32.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.781e-05/0.3719, allocations: 82.94 kB / 0.5657 GB, free: 32.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 0.5657 GB, free: 32.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3722, allocations: 32.33 kB / 0.5658 GB, free: 32.25 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.0001795/0.3724, allocations: 124.7 kB / 0.5659 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.3727, allocations: 88.69 kB / 0.566 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3727, allocations: 2.531 kB / 0.566 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.3729, allocations: 49.81 kB / 0.566 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.3731, allocations: 11.97 kB / 0.566 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.3737, allocations: 210 kB / 0.5662 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.3738, allocations: 0.6806 MB / 0.5669 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.3739, allocations: 23.95 kB / 0.5669 GB, free: 31.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3739, allocations: 1.094 kB / 0.5669 GB, free: 31.24 MB / 446.1 MB Notification: Performance of Templates: time 0.003468/0.3774, allocations: 1.56 MB / 0.5684 GB, free: 31.18 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)