Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_9_Buildings.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.001217/0.001217, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001181/0.001181, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 68.19 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3613, allocations: 140.4 MB / 0.9503 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003187/0.3646, allocations: 1.27 MB / 0.9515 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3659, allocations: 0.6493 MB / 0.9522 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3659, allocations: 0 / 0.9522 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.366, allocations: 0 / 0.9522 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.3661, allocations: 7.922 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.3667, allocations: 107.6 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.3668, allocations: 27.86 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.752e-05/0.3669, allocations: 4 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.3669, allocations: 15.92 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.367, allocations: 7.984 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.367, allocations: 4 kB / 0.9523 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.3674, allocations: 139.8 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.3674, allocations: 7.938 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.3675, allocations: 15.98 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3677, allocations: 104 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3677, allocations: 0 / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3677, allocations: 0 / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3677, allocations: 0 / 0.9526 GB, free: 6.457 MB / 0.7325 GB 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.0005756/0.3683, allocations: 355.4 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3684, allocations: 8.031 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.3689, allocations: 28.91 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.369, allocations: 164.4 kB / 0.9531 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.369, allocations: 8.359 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.3691, allocations: 4.375 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3693, allocations: 54.22 kB / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3693, allocations: 192 / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3693, allocations: 3.938 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3693, allocations: 4 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3695, allocations: 35.91 kB / 0.9532 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.3697, allocations: 173.5 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.3701, allocations: 66.58 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3702, allocations: 32.92 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3703, allocations: 3.938 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3703, allocations: 34.55 kB / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3703, allocations: 0 / 0.9535 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0036/0.3739, allocations: 0.5759 MB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.374, allocations: 51.41 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.3741, allocations: 97.86 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3741, allocations: 25.7 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.3741, allocations: 84.12 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.3742, allocations: 23.92 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.3743, allocations: 21.7 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3744, allocations: 314.8 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.3746, allocations: 35.97 kB / 0.9547 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3747, allocations: 39.97 kB / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.375, allocations: 80.81 kB / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3751, allocations: 0 / 0.9548 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003666/0.3754, allocations: 133.6 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3755, allocations: 11.94 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3755, allocations: 0 / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3755, allocations: 0 / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3757, allocations: 19.97 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3757, allocations: 4 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3759, allocations: 7.984 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3759, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB 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 0.0001149/0.376, allocations: 117.8 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3761, allocations: 7.922 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.3762, allocations: 15.91 kB / 0.9551 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3762, allocations: 3.938 kB / 0.9551 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3762, allocations: 0 / 0.9551 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3762, allocations: 4 kB / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3764, allocations: 187.5 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3764, allocations: 3.938 kB / 0.9553 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3766, allocations: 27.91 kB / 0.9553 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3766, allocations: 7.938 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3767, allocations: 3.984 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3767, allocations: 0 / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3767, allocations: 0 / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.3773, allocations: 197 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3773, allocations: 81.05 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3774, allocations: 0 / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3776, allocations: 16.05 kB / 0.9556 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.3776, allocations: 0 / 0.9556 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3776, allocations: 11.98 kB / 0.9556 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.3777, allocations: 75.28 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3777, allocations: 4 kB / 0.9557 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002645/0.378, allocations: 31.92 kB / 0.9558 GB, free: 2.844 MB / 0.7325 GB 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.0002596/0.3782, allocations: 131.3 kB / 0.9559 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3786, allocations: 91.92 kB / 0.956 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3786, allocations: 0 / 0.956 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.3788, allocations: 51.89 kB / 0.956 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.3791, allocations: 8 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.3799, allocations: 179.7 kB / 0.9562 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3802, allocations: 0.6807 MB / 0.9569 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.3803, allocations: 23.41 kB / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.3803, allocations: 0 / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of Templates: time 0.003742/0.384, allocations: 1.572 MB / 0.9584 GB, free: 52 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)