Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001098, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001217/0.001218, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6404/0.6404, allocations: 95.62 MB / 366 MB, free: 10.38 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005887/0.0005892, allocations: 12 kB / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3542, allocations: 70.35 MB / 0.5051 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001347/0.3556, allocations: 1.118 MB / 0.5062 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.356, allocations: 188.4 kB / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.3561, allocations: 0 / 0.5063 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.3561, allocations: 3.938 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.3561, allocations: 4 kB / 0.5063 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.3563, allocations: 15.92 kB / 0.5064 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.733e-05/0.3564, allocations: 27.92 kB / 0.5064 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.3565, allocations: 7.984 kB / 0.5064 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.3565, allocations: 7.922 kB / 0.5064 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.3566, allocations: 8 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3566, allocations: 4 kB / 0.5064 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.3567, allocations: 23.97 kB / 0.5064 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-06/0.3567, allocations: 4 kB / 0.5064 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.3567, allocations: 33.64 kB / 0.5065 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.866e-05/0.3568, allocations: 25.92 kB / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.3568, allocations: 4 kB / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3568, allocations: 4 kB / 0.5065 GB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3569, allocations: 0 / 0.5065 GB, free: 15.03 MB / 382.1 MB 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.0004315/0.3573, allocations: 343.2 kB / 0.5068 GB, free: 14.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3573, allocations: 11.98 kB / 0.5068 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3575, allocations: 4 kB / 0.5068 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3576, allocations: 167.1 kB / 0.507 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3576, allocations: 8 kB / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3576, allocations: 4 kB / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3578, allocations: 53.62 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3578, allocations: 0 / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3578, allocations: 7.984 kB / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3579, allocations: 3.938 kB / 0.5071 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.358, allocations: 47.91 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.3583, allocations: 256.8 kB / 0.5074 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3585, allocations: 42.56 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.3586, allocations: 28.89 kB / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3586, allocations: 0 / 0.5074 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.3586, allocations: 30.56 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3586, allocations: 0 / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003247/0.3589, allocations: 101.6 kB / 0.5076 GB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.359, allocations: 59.41 kB / 0.5076 GB, free: 13.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.3591, allocations: 102 kB / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3591, allocations: 25.7 kB / 0.5077 GB, free: 13.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.3591, allocations: 80.14 kB / 0.5078 GB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3591, allocations: 11.83 kB / 0.5078 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.3591, allocations: 4 kB / 0.5078 GB, free: 13.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.3592, allocations: 314.8 kB / 0.5081 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.3593, allocations: 15.98 kB / 0.5082 GB, free: 13.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.3593, allocations: 27.98 kB / 0.5082 GB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.3594, allocations: 19.97 kB / 0.5082 GB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3594, allocations: 0 / 0.5082 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001546/0.3596, allocations: 89.62 kB / 0.5083 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3596, allocations: 4 kB / 0.5083 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3596, allocations: 0 / 0.5083 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3596, allocations: 0 / 0.5083 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.3597, allocations: 11.98 kB / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3597, allocations: 4.031 kB / 0.5083 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.3598, allocations: 15.92 kB / 0.5083 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3598, allocations: 0 / 0.5083 GB, free: 12.96 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.3598, allocations: 105.8 kB / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3599, allocations: 7.953 kB / 0.5084 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3601, allocations: 100.6 kB / 0.5085 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3601, allocations: 0 / 0.5085 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3601, allocations: 0 / 0.5085 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3601, allocations: 0 / 0.5085 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.3602, allocations: 157.7 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3602, allocations: 3.984 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.3603, allocations: 16 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3603, allocations: 3.953 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3603, allocations: 4 kB / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.3603, allocations: 0 / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3603, allocations: 0 / 0.5087 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.3605, allocations: 179.5 kB / 0.5089 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.3606, allocations: 81.05 kB / 0.5089 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3606, allocations: 7.891 kB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.3607, allocations: 11.98 kB / 0.509 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3607, allocations: 0 / 0.509 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3607, allocations: 0 / 0.509 GB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.3607, allocations: 87.55 kB / 0.5091 GB, free: 12.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3607, allocations: 4 kB / 0.5091 GB, free: 12.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.361, allocations: 4 kB / 0.5091 GB, free: 12.09 MB / 382.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.534e-05/0.3611, allocations: 99.23 kB / 0.5092 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.3613, allocations: 47.97 kB / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3613, allocations: 0 / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.3613, allocations: 31.97 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3616, allocations: 3.938 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.362, allocations: 132.5 kB / 0.5094 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.3622, allocations: 0.681 MB / 0.51 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.422e-05/0.3622, allocations: 4 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.3623, allocations: 7.438 kB / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3623, allocations: 0 / 0.51 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Templates: time 0.002661/0.3649, allocations: 411.8 kB / 0.5104 GB, free: 10.63 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: