Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009622/0.0009623, allocations: 177.3 kB / 15.95 MB, free: 216 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.674/1.674, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.679/1.679, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0009692/0.0009693, allocations: 16 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6758/0.6768, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00175/0.6786, allocations: 1.132 MB / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.6795, allocations: 0.524 MB / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.6796, allocations: 0 / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.6796, allocations: 7.984 kB / 0.7296 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.6797, allocations: 15.92 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.68, allocations: 79.73 kB / 0.7297 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.6801, allocations: 15.98 kB / 0.7297 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.6802, allocations: 3.984 kB / 0.7297 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.6802, allocations: 8 kB / 0.7297 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.6803, allocations: 11.92 kB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.6803, allocations: 8 kB / 0.7297 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.6806, allocations: 151.8 kB / 0.7299 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.6806, allocations: 4 kB / 0.7299 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.6807, allocations: 25.7 kB / 0.7299 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.6808, allocations: 77.75 kB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6808, allocations: 0 / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6808, allocations: 0 / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6809, allocations: 0 / 0.73 GB, free: 9.387 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.0005177/0.6814, allocations: 363.3 kB / 0.7303 GB, free: 8.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6814, allocations: 8.031 kB / 0.7303 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.6819, allocations: 27.97 kB / 0.7304 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.682, allocations: 174.9 kB / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.682, allocations: 0 / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.682, allocations: 0 / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.6823, allocations: 81.52 kB / 0.7306 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6823, allocations: 0 / 0.7306 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6823, allocations: 0 / 0.7306 GB, free: 8.652 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6823, allocations: 4 kB / 0.7306 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.6826, allocations: 63.94 kB / 0.7307 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.6831, allocations: 288.7 kB / 0.7309 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.6834, allocations: 66.47 kB / 0.731 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.6834, allocations: 4.062 kB / 0.731 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.6834, allocations: 30.56 kB / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6834, allocations: 0 / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0005104/0.684, allocations: 133.7 kB / 0.7312 GB, free: 8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.684, allocations: 51.41 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.6841, allocations: 105.8 kB / 0.7313 GB, free: 7.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.6841, allocations: 29.64 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.6842, allocations: 80.14 kB / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.6842, allocations: 11.91 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.6842, allocations: 0 / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6843, allocations: 314.8 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.6845, allocations: 36 kB / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.6846, allocations: 27.97 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.6847, allocations: 36.03 kB / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6847, allocations: 0 / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002967/0.685, allocations: 97.64 kB / 0.7319 GB, free: 7.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6851, allocations: 5.875 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6851, allocations: 3.984 kB / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6851, allocations: 0 / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.6852, allocations: 15.98 kB / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6853, allocations: 0 / 0.7319 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.6854, allocations: 20.02 kB / 0.732 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.6854, allocations: 3.953 kB / 0.732 GB, free: 7.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.835e-05/0.6855, allocations: 113.8 kB / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.6855, allocations: 7.844 kB / 0.7321 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.6855, allocations: 7.109 kB / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6856, allocations: 0 / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6856, allocations: 0 / 0.7321 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.6856, allocations: 4 kB / 0.7321 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.6857, allocations: 169.6 kB / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6858, allocations: 0 / 0.7323 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.6859, allocations: 15.98 kB / 0.7323 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6859, allocations: 3.938 kB / 0.7323 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.6859, allocations: 3.984 kB / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6859, allocations: 0 / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6859, allocations: 0 / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.6863, allocations: 195.5 kB / 0.7325 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.6863, allocations: 77.11 kB / 0.7325 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.6864, allocations: 8.016 kB / 0.7325 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.6865, allocations: 8 kB / 0.7326 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.6866, allocations: 11.98 kB / 0.7326 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.6866, allocations: 3.938 kB / 0.7326 GB, free: 6.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.6866, allocations: 87.22 kB / 0.7327 GB, free: 6.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6866, allocations: 0 / 0.7327 GB, free: 6.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002368/0.6869, allocations: 8 kB / 0.7327 GB, free: 6.332 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 (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.000191/0.6871, allocations: 115.2 kB / 0.7328 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.6874, allocations: 67.94 kB / 0.7328 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6874, allocations: 0 / 0.7328 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6875, allocations: 39.95 kB / 0.7329 GB, free: 6.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.6877, allocations: 11.05 kB / 0.7329 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.6882, allocations: 140.7 kB / 0.733 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.6884, allocations: 0.6809 MB / 0.7337 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.619e-05/0.6885, allocations: 11.94 kB / 0.7337 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.6885, allocations: 7.438 kB / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.6886, allocations: 0 / 0.7337 GB, free: 5.203 MB / 0.545 GB Notification: Performance of Templates: time 0.002893/0.6915, allocations: 0.6929 MB / 0.7344 GB, free: 4.516 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: