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 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_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.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002043/0.002043, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 61.2 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3653, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002804/0.3682, allocations: 1.48 MB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005248/0.3687, allocations: 203.5 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.3688, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.3688, allocations: 7.875 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.3689, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.3691, allocations: 23.91 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.3692, allocations: 19.92 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.3693, allocations: 12 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.3693, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.3693, allocations: 15.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3694, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.3695, allocations: 23.98 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3695, allocations: 7.969 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.3695, allocations: 11.94 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3696, allocations: 32.19 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3697, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3697, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.3697, allocations: 4 kB / 1.069 GB, free: 9.102 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.0004517/0.3701, allocations: 343.4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3702, allocations: 8.031 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.3703, allocations: 4.938 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3704, allocations: 172.3 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3704, allocations: 384 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3705, allocations: 384 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3706, allocations: 54.23 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3707, allocations: 192 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3707, allocations: 3.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3707, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3709, allocations: 31.97 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.3712, allocations: 252.8 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3714, allocations: 46.44 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.3715, allocations: 28.89 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3715, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3715, allocations: 30.56 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3715, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/0.3719, allocations: 93.48 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3719, allocations: 51.41 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.372, allocations: 97.86 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3721, allocations: 25.7 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.3721, allocations: 88.12 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3721, allocations: 7.891 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3722, allocations: 13.72 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.3723, allocations: 319 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.3724, allocations: 11.98 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.3724, allocations: 19.97 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3726, allocations: 40.77 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3726, allocations: 0 / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002043/0.3728, allocations: 77.59 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3729, allocations: 4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3729, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3729, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.373, allocations: 11.98 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.373, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.3731, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3731, allocations: 32 / 1.071 GB, free: 7.07 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 6.869e-05/0.3731, allocations: 125.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3732, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.3734, allocations: 72.97 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3734, allocations: 3.938 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3734, allocations: 4.047 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3735, allocations: 3.984 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3736, allocations: 165.6 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3736, allocations: 4 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.691e-05/0.3737, allocations: 7.984 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3737, allocations: 4 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3737, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3737, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3737, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.374, allocations: 171.4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.374, allocations: 81.11 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3741, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.3741, allocations: 15.92 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.3742, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3742, allocations: 3.984 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.3742, allocations: 83.22 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3742, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002233/0.3745, allocations: 8 kB / 1.072 GB, free: 6.23 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.0001156/0.3746, allocations: 99.25 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3748, allocations: 39.95 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3748, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.3749, allocations: 15.98 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3752, allocations: 20.48 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.3756, allocations: 132.3 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.3758, allocations: 0.6731 MB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.3759, allocations: 3.984 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.3759, allocations: 11.44 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3759, allocations: 4 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of Templates: time 0.002446/0.3783, allocations: 426.1 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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)