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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007924/0.0007923, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 180 kB / 16.92 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7495/0.7499, allocations: 142.4 MB / 0.9557 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001147/0.7511, allocations: 1.005 MB / 0.9567 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009269/0.752, allocations: 0.6436 MB / 0.9573 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.752, allocations: 0 / 0.9573 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.7521, allocations: 0 / 0.9573 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.7521, allocations: 5.688 kB / 0.9573 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.7525, allocations: 94.06 kB / 0.9574 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.7526, allocations: 24.42 kB / 0.9575 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.7526, allocations: 5.094 kB / 0.9575 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.7526, allocations: 18.53 kB / 0.9575 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.7527, allocations: 8.906 kB / 0.9575 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.7527, allocations: 1.094 kB / 0.9575 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.753, allocations: 144.5 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.753, allocations: 9.703 kB / 0.9576 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.753, allocations: 33.7 kB / 0.9577 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.7532, allocations: 65.83 kB / 0.9577 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7532, allocations: 0 / 0.9577 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7532, allocations: 0 / 0.9577 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.7532, allocations: 5.094 kB / 0.9577 GB, free: 6.047 MB / 0.7169 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.00036/0.7536, allocations: 360.2 kB / 0.9581 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.7536, allocations: 9.5 kB / 0.9581 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.754, allocations: 29.92 kB / 0.9581 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.7541, allocations: 165.5 kB / 0.9583 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7541, allocations: 5.594 kB / 0.9583 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.7542, allocations: 5.5 kB / 0.9583 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.7543, allocations: 62.25 kB / 0.9583 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.7543, allocations: 192 / 0.9583 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.7544, allocations: 3.938 kB / 0.9583 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7544, allocations: 1 kB / 0.9584 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.7545, allocations: 26.44 kB / 0.9584 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.7547, allocations: 172.2 kB / 0.9585 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.755, allocations: 62.59 kB / 0.9586 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.7551, allocations: 37.42 kB / 0.9586 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.7551, allocations: 4 kB / 0.9586 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.7551, allocations: 31.75 kB / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.7552, allocations: 0 / 0.9587 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.003371/0.7585, allocations: 0.5706 MB / 0.9592 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.7586, allocations: 52.94 kB / 0.9593 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.7586, allocations: 101.3 kB / 0.9594 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7586, allocations: 25.7 kB / 0.9594 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.7587, allocations: 81.8 kB / 0.9595 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.7587, allocations: 21.06 kB / 0.9595 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.7587, allocations: 15.67 kB / 0.9595 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.7588, allocations: 320.9 kB / 0.9598 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.7589, allocations: 33.19 kB / 0.9598 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.7591, allocations: 35.91 kB / 0.9599 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.7593, allocations: 85.84 kB / 0.96 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7594, allocations: 1.719 kB / 0.96 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000327/0.7597, allocations: 124.3 kB / 0.9601 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7597, allocations: 8.719 kB / 0.9601 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7597, allocations: 5.125 kB / 0.9601 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7597, allocations: 0 / 0.9601 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.7599, allocations: 26.31 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.76, allocations: 1.125 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.7601, allocations: 12.3 kB / 0.9601 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.7601, allocations: 6.812 kB / 0.9601 GB, free: 3.773 MB / 0.7169 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 6.427e-05/0.7602, allocations: 115.3 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.7602, allocations: 5.406 kB / 0.9603 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/0.7603, allocations: 13.56 kB / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7603, allocations: 1.781 kB / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.7603, allocations: 0 / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7603, allocations: 0 / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.7604, allocations: 186.4 kB / 0.9605 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7605, allocations: 1.906 kB / 0.9605 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.7607, allocations: 24.56 kB / 0.9605 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.7607, allocations: 5.75 kB / 0.9605 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.7607, allocations: 5.828 kB / 0.9605 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7607, allocations: 4 kB / 0.9605 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.7607, allocations: 0 / 0.9605 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.7612, allocations: 190.5 kB / 0.9607 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.7612, allocations: 86.33 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.7613, allocations: 5.375 kB / 0.9608 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.7615, allocations: 10.86 kB / 0.9608 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.7615, allocations: 5.422 kB / 0.9608 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.7615, allocations: 6.75 kB / 0.9608 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.83e-05/0.7615, allocations: 76.66 kB / 0.9609 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7615, allocations: 1.375 kB / 0.9609 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002462/0.7618, allocations: 33.98 kB / 0.9609 GB, free: 3.055 MB / 0.7169 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.0001831/0.762, allocations: 121.6 kB / 0.961 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.7623, allocations: 93.38 kB / 0.9611 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7623, allocations: 3.938 kB / 0.9611 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.7625, allocations: 44.7 kB / 0.9611 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.7627, allocations: 17.42 kB / 0.9612 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.7633, allocations: 200.4 kB / 0.9613 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.477e-05/0.7634, allocations: 0.6798 MB / 0.962 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/0.7635, allocations: 20.91 kB / 0.962 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7635, allocations: 0 / 0.962 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.00313/0.7666, allocations: 1.567 MB / 0.9636 GB, free: 1.164 MB / 0.7169 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)