Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008862, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009232/0.0009232, allocations: 191 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.7 MB / 0.5089 GB, free: 3.273 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.91 kB / 0.6217 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3654, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002301/0.3677, allocations: 1.472 MB / 0.7254 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.3686, allocations: 0.5898 MB / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.3686, allocations: 0 / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3687, allocations: 3.938 kB / 0.726 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.3687, allocations: 11.97 kB / 0.726 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.3691, allocations: 83.66 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.067e-05/0.3691, allocations: 23.86 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.963e-05/0.3692, allocations: 8 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.3692, allocations: 11.98 kB / 0.7261 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.3693, allocations: 15.92 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3693, allocations: 4 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.3695, allocations: 151.7 kB / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.3695, allocations: 0 / 0.7263 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.3696, allocations: 11.94 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3697, allocations: 105.8 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3698, allocations: 0 / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3698, allocations: 3.938 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.3698, allocations: 0 / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004191/0.3702, allocations: 359.5 kB / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.3702, allocations: 15.97 kB / 0.7268 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.3706, allocations: 32.8 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3707, allocations: 164.3 kB / 0.727 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3708, allocations: 384 / 0.727 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3708, allocations: 4.375 kB / 0.727 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.371, allocations: 70.2 kB / 0.727 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.371, allocations: 4.188 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.371, allocations: 3.938 kB / 0.727 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.371, allocations: 0 / 0.727 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.3713, allocations: 51.94 kB / 0.7271 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.3717, allocations: 280.7 kB / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3719, allocations: 66.41 kB / 0.7274 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.372, allocations: 36.89 kB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.372, allocations: 0 / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.3721, allocations: 30.56 kB / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.3721, allocations: 0 / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004437/0.3725, allocations: 113.5 kB / 0.7276 GB, free: 9.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.3725, allocations: 51.41 kB / 0.7276 GB, free: 9.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.3726, allocations: 109.8 kB / 0.7277 GB, free: 9.008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3726, allocations: 25.7 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3727, allocations: 84.05 kB / 0.7278 GB, free: 8.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3727, allocations: 4 kB / 0.7279 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3728, allocations: 21.83 kB / 0.7279 GB, free: 8.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.3729, allocations: 310.8 kB / 0.7282 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.373, allocations: 27.97 kB / 0.7282 GB, free: 8.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3731, allocations: 27.91 kB / 0.7282 GB, free: 8.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.3733, allocations: 60.88 kB / 0.7283 GB, free: 8.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3733, allocations: 0 / 0.7283 GB, free: 8.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002684/0.3736, allocations: 97.41 kB / 0.7284 GB, free: 8.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3736, allocations: 10.03 kB / 0.7284 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3736, allocations: 4.031 kB / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.3736, allocations: 0 / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3737, allocations: 11.98 kB / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.3738, allocations: 0 / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.3738, allocations: 7.984 kB / 0.7284 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3739, allocations: 7.984 kB / 0.7284 GB, free: 8.289 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.505e-05/0.3739, allocations: 117.7 kB / 0.7285 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.374, allocations: 4 kB / 0.7285 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.374, allocations: 7.125 kB / 0.7285 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.374, allocations: 3.938 kB / 0.7285 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.374, allocations: 0 / 0.7285 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.374, allocations: 0 / 0.7285 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3742, allocations: 165.6 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3742, allocations: 4 kB / 0.7287 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3743, allocations: 15.97 kB / 0.7287 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3743, allocations: 4 kB / 0.7287 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3743, allocations: 0 / 0.7287 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3743, allocations: 0 / 0.7287 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3743, allocations: 0 / 0.7287 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3746, allocations: 191.4 kB / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.3747, allocations: 85.02 kB / 0.729 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3747, allocations: 4 kB / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3748, allocations: 7.984 kB / 0.729 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.3749, allocations: 4 kB / 0.729 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3749, allocations: 0 / 0.729 GB, free: 7.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.3749, allocations: 83.27 kB / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3749, allocations: 0 / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002153/0.3751, allocations: 12 kB / 0.7291 GB, free: 7.504 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001422/0.3753, allocations: 115.3 kB / 0.7292 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3755, allocations: 59.88 kB / 0.7293 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3756, allocations: 3.938 kB / 0.7293 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.3757, allocations: 32.03 kB / 0.7293 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3759, allocations: 7.938 kB / 0.7293 GB, free: 7.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.3763, allocations: 126.6 kB / 0.7294 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3765, allocations: 0.6807 MB / 0.7301 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.611e-05/0.3766, allocations: 11.94 kB / 0.7301 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3766, allocations: 7.438 kB / 0.7301 GB, free: 6.398 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.3767, allocations: 0 / 0.7301 GB, free: 6.398 MB / 0.545 GB Notification: Performance of Templates: time 0.002379/0.379, allocations: 0.7407 MB / 0.7308 GB, free: 5.664 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)