Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008819/0.0008822, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007072/0.007072, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005974/0.0005976, allocations: 10.38 kB / 0.9158 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3602, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001805/0.3621, allocations: 1.13 MB / 1.075 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005476/0.3627, allocations: 199.5 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.3627, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.3628, allocations: 3.984 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.3628, allocations: 11.92 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.3631, allocations: 19.92 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.3631, allocations: 27.86 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3632, allocations: 7.984 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.3633, allocations: 4 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.3634, allocations: 15.92 kB / 1.076 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3634, allocations: 0 / 1.076 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3635, allocations: 23.98 kB / 1.076 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.3635, allocations: 0 / 1.076 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.3636, allocations: 41.62 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.3637, allocations: 32.23 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3637, allocations: 4 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3637, allocations: 0 / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3637, allocations: 0 / 1.076 GB, free: 6.07 MB / 0.8262 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.0005137/0.3643, allocations: 340.8 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.3643, allocations: 15.97 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3645, allocations: 4.844 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3647, allocations: 172.4 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3647, allocations: 4.375 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3647, allocations: 384 / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3649, allocations: 62.16 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3649, allocations: 192 / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.365, allocations: 7.938 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.365, allocations: 0 / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.3652, allocations: 43.97 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.3656, allocations: 248.9 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.3658, allocations: 50.44 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.3659, allocations: 28.89 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3659, allocations: 0 / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.3659, allocations: 34.56 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3659, allocations: 0 / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003953/0.3663, allocations: 97.64 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.3664, allocations: 51.41 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.3665, allocations: 102 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3665, allocations: 25.7 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.3666, allocations: 91.98 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.3666, allocations: 7.984 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.3666, allocations: 9.719 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.3668, allocations: 310.8 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.3669, allocations: 27.98 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.3669, allocations: 15.98 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3671, allocations: 52.88 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3671, allocations: 4 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002242/0.3674, allocations: 81.5 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3674, allocations: 4 kB / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3674, allocations: 0 / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.3674, allocations: 4.031 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.3675, allocations: 19.92 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3675, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.3676, allocations: 8 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3676, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 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 7.955e-05/0.3677, allocations: 117.7 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3677, allocations: 0 / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.368, allocations: 88.77 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.368, allocations: 0 / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3681, allocations: 4 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3681, allocations: 3.938 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3682, allocations: 165.6 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3683, allocations: 0 / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.3683, allocations: 15.98 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3683, allocations: 0 / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3684, allocations: 11.94 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3684, allocations: 0 / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3684, allocations: 0 / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.3687, allocations: 179.7 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3687, allocations: 81.06 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3687, allocations: 3.984 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3688, allocations: 11.98 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3689, allocations: 4 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.3689, allocations: 4 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.3689, allocations: 79.27 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3689, allocations: 0 / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002233/0.3692, allocations: 12 kB / 1.078 GB, free: 3.09 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0001215/0.3693, allocations: 95.25 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3695, allocations: 55.89 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3696, allocations: 0 / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.3697, allocations: 23.98 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.37, allocations: 10.47 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.3703, allocations: 136.6 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3706, allocations: 0.6731 MB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.3707, allocations: 0 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.3707, allocations: 11.42 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3707, allocations: 7.938 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.002759/0.3735, allocations: 430 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)