Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009006/0.0009006, 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.0009331/0.0009331, allocations: 197.6 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.191/1.191, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.308/1.308, allocations: 251.7 MB / 0.5089 GB, free: 3.277 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.00133/0.00133, allocations: 68.47 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3682, allocations: 104.7 MB / 0.724 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00217/0.3704, allocations: 1.48 MB / 0.7254 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003653/0.3708, allocations: 200.3 kB / 0.7256 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.3708, allocations: 0 / 0.7256 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.3709, allocations: 0 / 0.7256 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.3709, allocations: 11.92 kB / 0.7256 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.3711, allocations: 23.91 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.844e-05/0.3711, allocations: 19.94 kB / 0.7257 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.614e-05/0.3712, allocations: 11.98 kB / 0.7257 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.3712, allocations: 7.938 kB / 0.7257 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.472e-05/0.3713, allocations: 11.98 kB / 0.7257 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3713, allocations: 3.984 kB / 0.7257 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.711e-05/0.3714, allocations: 23.98 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.3714, allocations: 7.938 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3714, allocations: 15.92 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.436e-05/0.3715, allocations: 33.94 kB / 0.7258 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3715, allocations: 0 / 0.7258 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3715, allocations: 0 / 0.7258 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.3715, allocations: 0 / 0.7258 GB, free: 11.34 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.0003869/0.3719, allocations: 339.5 kB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.372, allocations: 8.031 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3721, allocations: 8.844 kB / 0.7261 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.785e-05/0.3722, allocations: 180.3 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.3722, allocations: 384 / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.3722, allocations: 4.312 kB / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3724, allocations: 54.17 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.3724, allocations: 192 / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3724, allocations: 3.938 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3724, allocations: 0 / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3726, allocations: 31.97 kB / 0.7264 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.3728, allocations: 249 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.373, allocations: 46.44 kB / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.3731, allocations: 24.91 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3731, allocations: 0 / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3731, allocations: 38.55 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 6.52e-07/0.3731, allocations: 0 / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000292/0.3734, allocations: 81.64 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.3734, allocations: 55.34 kB / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.3735, allocations: 93.86 kB / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3735, allocations: 29.83 kB / 0.727 GB, free: 9.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.3736, allocations: 92.05 kB / 0.7271 GB, free: 9.824 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.3736, allocations: 3.938 kB / 0.7271 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.3736, allocations: 13.7 kB / 0.7271 GB, free: 9.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3737, allocations: 318.8 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.3738, allocations: 11.98 kB / 0.7274 GB, free: 9.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.3739, allocations: 15.98 kB / 0.7274 GB, free: 9.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.374, allocations: 44.88 kB / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.374, allocations: 0 / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001649/0.3742, allocations: 77.44 kB / 0.7275 GB, free: 9.324 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3742, allocations: 4 kB / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3742, allocations: 0 / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.3742, allocations: 0 / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.3743, allocations: 16.02 kB / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3743, allocations: 0 / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.3744, allocations: 4.188 kB / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.3744, allocations: 0 / 0.7275 GB, free: 9.301 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.727e-05/0.3744, allocations: 117.8 kB / 0.7277 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3745, allocations: 3.984 kB / 0.7277 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3747, allocations: 80.77 kB / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3747, allocations: 0 / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3747, allocations: 0 / 0.7277 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3747, allocations: 3.938 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3749, allocations: 165.5 kB / 0.7279 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3749, allocations: 4 kB / 0.7279 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.375, allocations: 7.984 kB / 0.7279 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.375, allocations: 8 kB / 0.7279 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.375, allocations: 3.938 kB / 0.7279 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.375, allocations: 4 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.375, allocations: 0 / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.3752, allocations: 163.5 kB / 0.7281 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.3752, allocations: 85.02 kB / 0.7282 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3753, allocations: 0 / 0.7282 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.3753, allocations: 7.984 kB / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.3754, allocations: 8 kB / 0.7282 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3754, allocations: 0 / 0.7282 GB, free: 8.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.3754, allocations: 83.27 kB / 0.7283 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 0.7283 GB, free: 8.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001974/0.3756, allocations: 4 kB / 0.7283 GB, free: 8.469 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 (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 8.302e-05/0.3757, allocations: 103.2 kB / 0.7284 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.3759, allocations: 43.95 kB / 0.7284 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3759, allocations: 0 / 0.7284 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.376, allocations: 19.98 kB / 0.7284 GB, free: 8.293 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3762, allocations: 7.938 kB / 0.7284 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.3764, allocations: 126.5 kB / 0.7286 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3767, allocations: 0.6768 MB / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.3767, allocations: 8.062 kB / 0.7292 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.3767, allocations: 7.438 kB / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3767, allocations: 0 / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of Templates: time 0.002026/0.3788, allocations: 448.8 kB / 0.7297 GB, free: 6.988 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)