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.001117/0.001117, allocations: 100.6 kB / 16.27 MB, free: 6.355 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.001132/0.001132, allocations: 189.9 kB / 17.2 MB, free: 5.957 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7845/0.7845, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4666, allocations: 77.93 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002759/0.4694, allocations: 1.274 MB / 0.5685 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.4706, allocations: 0.6361 MB / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.421e-05/0.4706, allocations: 0 / 0.5691 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.4706, allocations: 5.891 kB / 0.5691 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.4707, allocations: 7.422 kB / 0.5691 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.4712, allocations: 107.6 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.4712, allocations: 27.17 kB / 0.5692 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.4713, allocations: 7.75 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.4713, allocations: 14.88 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.4714, allocations: 12.5 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.4714, allocations: 4.875 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.4717, allocations: 137.7 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.4717, allocations: 6.828 kB / 0.5694 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.4718, allocations: 14.19 kB / 0.5694 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.472, allocations: 92.36 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.472, allocations: 1.562 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.472, allocations: 0 / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.4721, allocations: 0 / 0.5695 GB, free: 31.2 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.0003909/0.4724, allocations: 354.9 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4725, allocations: 9.594 kB / 0.5698 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.4729, allocations: 34.02 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.473, allocations: 170.7 kB / 0.57 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.473, allocations: 1.812 kB / 0.57 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.4731, allocations: 2.828 kB / 0.57 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4733, allocations: 54.78 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4733, allocations: 1.406 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4733, allocations: 8.688 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4733, allocations: 2.094 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.4735, allocations: 26.09 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.4737, allocations: 167.2 kB / 0.5703 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.474, allocations: 73.02 kB / 0.5704 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.4741, allocations: 26.22 kB / 0.5704 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4741, allocations: 1.062 kB / 0.5704 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4741, allocations: 33.08 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4742, allocations: 1.125 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00345/0.4776, allocations: 0.5714 MB / 0.571 GB, free: 29.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.4776, allocations: 58.28 kB / 0.571 GB, free: 29.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.4777, allocations: 97.28 kB / 0.5711 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4777, allocations: 30.83 kB / 0.5712 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.4778, allocations: 85.23 kB / 0.5712 GB, free: 29.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.4778, allocations: 21.38 kB / 0.5713 GB, free: 29.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.4779, allocations: 26.59 kB / 0.5713 GB, free: 29.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.4779, allocations: 317.2 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4781, allocations: 38.05 kB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4782, allocations: 38.58 kB / 0.5717 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.4785, allocations: 88.2 kB / 0.5717 GB, free: 29.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4785, allocations: 0 / 0.5717 GB, free: 29.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003688/0.4789, allocations: 116.4 kB / 0.5719 GB, free: 29.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4789, allocations: 10.8 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.479, allocations: 1.594 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.479, allocations: 0 / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.4792, allocations: 27.75 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4792, allocations: 0.9375 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.4794, allocations: 10.02 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.4794, allocations: 4.562 kB / 0.5719 GB, free: 29.2 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.749e-05/0.4795, allocations: 111.3 kB / 0.572 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.4795, allocations: 14.11 kB / 0.572 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.4796, allocations: 9.844 kB / 0.572 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4796, allocations: 5.078 kB / 0.572 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4796, allocations: 0.6562 kB / 0.572 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4796, allocations: 0 / 0.572 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4797, allocations: 185 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.4798, allocations: 1.156 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.48, allocations: 21.28 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.48, allocations: 6.016 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.48, allocations: 4.312 kB / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.48, allocations: 0 / 0.5722 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4801, allocations: 1.875 kB / 0.5723 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.4806, allocations: 191.8 kB / 0.5724 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.4806, allocations: 87.92 kB / 0.5725 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.4807, allocations: 9.891 kB / 0.5725 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.4809, allocations: 10 kB / 0.5725 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.4809, allocations: 5.188 kB / 0.5725 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.4809, allocations: 4.969 kB / 0.5725 GB, free: 28.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.074e-05/0.4809, allocations: 78.22 kB / 0.5726 GB, free: 28.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.481, allocations: 0.9375 kB / 0.5726 GB, free: 28.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.4812, allocations: 35.75 kB / 0.5727 GB, free: 28.55 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.0002/0.4814, allocations: 127 kB / 0.5728 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.4818, allocations: 97.59 kB / 0.5729 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4818, allocations: 0 / 0.5729 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.482, allocations: 47.28 kB / 0.5729 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.4822, allocations: 8.734 kB / 0.5729 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.4829, allocations: 166.2 kB / 0.5731 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.04e-05/0.483, allocations: 0.6796 MB / 0.5737 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000224/0.4832, allocations: 29.39 kB / 0.5738 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.4833, allocations: 16.8 kB / 0.5738 GB, free: 27.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4833, allocations: 0 / 0.5738 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Templates: time 0.00512/0.4884, allocations: 1.493 MB / 0.5752 GB, free: 27.51 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)