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.001166/0.001166, allocations: 103.3 kB / 15.98 MB, free: 6.336 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.001218/0.001218, allocations: 192.8 kB / 16.91 MB, free: 6.18 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7813/0.7813, allocations: 122.9 MB / 413.6 MB, free: 0 / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 0.4907 GB, free: 7.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4426, allocations: 77.92 MB / 0.5667 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002597/0.4453, allocations: 1.341 MB / 0.5681 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.4463, allocations: 0.6351 MB / 0.5687 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.4463, allocations: 1.406 kB / 0.5687 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.4464, allocations: 2 kB / 0.5687 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.4464, allocations: 8.625 kB / 0.5687 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.4469, allocations: 89.75 kB / 0.5688 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.447, allocations: 31.64 kB / 0.5688 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.4471, allocations: 2.781 kB / 0.5688 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.4471, allocations: 7.172 kB / 0.5688 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.4472, allocations: 17.03 kB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.4472, allocations: 1.094 kB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.4475, allocations: 154.7 kB / 0.569 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.4475, allocations: 2.984 kB / 0.569 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.4476, allocations: 12.61 kB / 0.569 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4478, allocations: 96.7 kB / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4478, allocations: 0 / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4478, allocations: 0 / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4478, allocations: 1.188 kB / 0.5691 GB, free: 31.21 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.0004487/0.4483, allocations: 361.9 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4484, allocations: 10.62 kB / 0.5694 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.4488, allocations: 31.69 kB / 0.5695 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.48e-05/0.4489, allocations: 171.6 kB / 0.5696 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4489, allocations: 3.031 kB / 0.5696 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.449, allocations: 1.844 kB / 0.5696 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4492, allocations: 55.22 kB / 0.5697 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.4492, allocations: 192 / 0.5697 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4492, allocations: 9.781 kB / 0.5697 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4492, allocations: 1.094 kB / 0.5697 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4493, allocations: 29.17 kB / 0.5697 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.4495, allocations: 161.3 kB / 0.5699 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.4499, allocations: 74.73 kB / 0.57 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.4499, allocations: 23.47 kB / 0.57 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.45, allocations: 2.312 kB / 0.57 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.45, allocations: 33.36 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.45, allocations: 0.7812 kB / 0.57 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003605/0.4536, allocations: 0.5785 MB / 0.5706 GB, free: 29.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.4537, allocations: 53.33 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.4537, allocations: 94.58 kB / 0.5707 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4537, allocations: 28.67 kB / 0.5707 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.4538, allocations: 93.19 kB / 0.5708 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.4538, allocations: 20.03 kB / 0.5709 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.4539, allocations: 30.58 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.4539, allocations: 317.2 kB / 0.5712 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.4541, allocations: 35.44 kB / 0.5712 GB, free: 29.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.4542, allocations: 40.52 kB / 0.5713 GB, free: 29.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.4545, allocations: 83.91 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.4545, allocations: 0 / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003435/0.4549, allocations: 116.9 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4549, allocations: 8.969 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4549, allocations: 0.6094 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4549, allocations: 2.531 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.4552, allocations: 26.38 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4552, allocations: 1.094 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.4553, allocations: 10.88 kB / 0.5715 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4554, allocations: 6.656 kB / 0.5715 GB, free: 29.21 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.486e-05/0.4554, allocations: 108.8 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4555, allocations: 13.12 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.4555, allocations: 8.531 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4556, allocations: 3.578 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4556, allocations: 0 / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4556, allocations: 1.812 kB / 0.5716 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.4557, allocations: 185.5 kB / 0.5718 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4557, allocations: 4.719 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.456, allocations: 25.11 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.456, allocations: 3.938 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.456, allocations: 4.062 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.456, allocations: 1.922 kB / 0.5719 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.456, allocations: 0.5312 kB / 0.5719 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.4566, allocations: 191.5 kB / 0.572 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.4566, allocations: 87.55 kB / 0.5721 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.4566, allocations: 5.875 kB / 0.5721 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.4568, allocations: 15.25 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.4569, allocations: 4.281 kB / 0.5721 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.4569, allocations: 8.578 kB / 0.5722 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.45e-05/0.4569, allocations: 78.48 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4569, allocations: 1.031 kB / 0.5722 GB, free: 28.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.4572, allocations: 32.5 kB / 0.5723 GB, free: 28.56 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.0002151/0.4574, allocations: 123.1 kB / 0.5724 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.4578, allocations: 93.55 kB / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4578, allocations: 0 / 0.5725 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.4579, allocations: 48.34 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4582, allocations: 9.391 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.4589, allocations: 175 kB / 0.5727 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.459, allocations: 0.6793 MB / 0.5733 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.4592, allocations: 33.86 kB / 0.5734 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.4593, allocations: 16.48 kB / 0.5734 GB, free: 27.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4593, allocations: 2.375 kB / 0.5734 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Templates: time 0.00478/0.4641, allocations: 1.494 MB / 0.5749 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)