Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.723/1.723, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009357/0.0009356, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 91.81 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004332, allocations: 12 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7336, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.9641, allocations: 142.6 MB / 1.166 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9645, allocations: 76.06 kB / 1.166 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006723/0.9712, allocations: 1.984 MB / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.407e-06/0.9712, allocations: 2.719 kB / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.9713, allocations: 0 / 1.168 GB, free: 15.61 MB / 0.7448 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.0005388/0.9718, allocations: 369.6 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.9719, allocations: 8.031 kB / 1.168 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.9723, allocations: 31.81 kB / 1.168 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.9724, allocations: 167.2 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.9725, allocations: 1.062 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.9725, allocations: 5.125 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.9728, allocations: 69.08 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.9728, allocations: 192 / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.9728, allocations: 6.5 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9728, allocations: 0.7031 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.9731, allocations: 62.84 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.9737, allocations: 274.4 kB / 1.169 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.9739, allocations: 68.47 kB / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.9741, allocations: 38.66 kB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.9741, allocations: 2.266 kB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.9741, allocations: 32.59 kB / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.235e-06/0.9742, allocations: 0 / 1.169 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0005668/0.9747, allocations: 138.1 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.9748, allocations: 52.06 kB / 1.169 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.9749, allocations: 99.59 kB / 1.169 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.9749, allocations: 30.73 kB / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.975, allocations: 80.94 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.975, allocations: 4.75 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.975, allocations: 2.406 kB / 1.169 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9752, allocations: 320.2 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.9753, allocations: 31.36 kB / 1.169 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.9754, allocations: 31.97 kB / 1.169 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.9757, allocations: 66.84 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9757, allocations: 0.7031 kB / 1.169 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003145/0.976, allocations: 110.6 kB / 1.17 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.976, allocations: 5.438 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9761, allocations: 0.8438 kB / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.9761, allocations: 0 / 1.17 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.9762, allocations: 21.61 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.9763, allocations: 0.75 kB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.9764, allocations: 15.27 kB / 1.17 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.9764, allocations: 0.7031 kB / 1.17 GB, free: 13.5 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.9765, allocations: 119 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.9765, allocations: 5.578 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.9766, allocations: 4.906 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9766, allocations: 0 / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.9766, allocations: 0 / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.9766, allocations: 1.922 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.9768, allocations: 174.1 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9768, allocations: 1.969 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.9769, allocations: 23.02 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.977, allocations: 0 / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.977, allocations: 1.172 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.977, allocations: 0 / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.977, allocations: 4.969 kB / 1.17 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.9774, allocations: 198.2 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.9774, allocations: 77.77 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.9775, allocations: 0.7031 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9776, allocations: 12.02 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.9776, allocations: 9.344 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.9776, allocations: 1.219 kB / 1.17 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.9777, allocations: 85.58 kB / 1.17 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9777, allocations: 0 / 1.17 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002678/0.978, allocations: 16.56 kB / 1.17 GB, free: 12.75 MB / 0.7448 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 (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 0.0002164/0.9782, allocations: 110.8 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.9786, allocations: 77.45 kB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9786, allocations: 0 / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.9787, allocations: 36.5 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.979, allocations: 12.69 kB / 1.171 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.9795, allocations: 140.3 kB / 1.171 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.9798, allocations: 0.6768 MB / 1.171 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.9799, allocations: 15.11 kB / 1.171 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.98, allocations: 9.453 kB / 1.171 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.98, allocations: 0 / 1.171 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of Templates: time 0.003706/0.9837, allocations: 0.6926 MB / 1.172 GB, free: 11.29 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)