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.0009512/0.0009512, 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.0009764/0.0009764, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.186/1.186, allocations: 205.1 MB / 222 MB, free: 4.758 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.336/1.336, allocations: 251.6 MB / 0.5088 GB, free: 3.262 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.00116/0.001161, allocations: 64.47 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3788, allocations: 104.7 MB / 0.7238 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002205/0.3811, allocations: 1.476 MB / 0.7252 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.3819, allocations: 0.6132 MB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.3819, allocations: 0 / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3819, allocations: 7.938 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.382, allocations: 0 / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3823, allocations: 87.62 kB / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.3823, allocations: 23.92 kB / 0.726 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.3824, allocations: 4 kB / 0.726 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.084e-05/0.3824, allocations: 7.984 kB / 0.726 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.3825, allocations: 11.94 kB / 0.726 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3825, allocations: 8 kB / 0.726 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.3827, allocations: 147.7 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.3827, allocations: 3.984 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3828, allocations: 11.94 kB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.3829, allocations: 101.9 kB / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.383, allocations: 0 / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.72e-07/0.383, allocations: 0 / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.383, allocations: 0 / 0.7262 GB, free: 10.87 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.0003749/0.3834, allocations: 363.5 kB / 0.7266 GB, free: 10.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.3834, allocations: 8.031 kB / 0.7266 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.3838, allocations: 28.81 kB / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.3839, allocations: 168.3 kB / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.3839, allocations: 4.375 kB / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.3839, allocations: 4.375 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3841, allocations: 66.2 kB / 0.7268 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.3841, allocations: 192 / 0.7268 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3841, allocations: 3.938 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.3842, allocations: 0 / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.3844, allocations: 51.94 kB / 0.7269 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.3848, allocations: 288.7 kB / 0.7272 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.385, allocations: 62.42 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3851, allocations: 32.89 kB / 0.7273 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3851, allocations: 7.922 kB / 0.7273 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3851, allocations: 34.56 kB / 0.7273 GB, free: 9.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3852, allocations: 0 / 0.7273 GB, free: 9.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004305/0.3856, allocations: 113.7 kB / 0.7274 GB, free: 9.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.3856, allocations: 55.34 kB / 0.7275 GB, free: 9.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.3857, allocations: 97.84 kB / 0.7276 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.3857, allocations: 25.7 kB / 0.7276 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.3857, allocations: 92.05 kB / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.3858, allocations: 0 / 0.7277 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.3858, allocations: 17.7 kB / 0.7277 GB, free: 9.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.3859, allocations: 318.9 kB / 0.728 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.386, allocations: 23.97 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3861, allocations: 27.97 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.3863, allocations: 56.88 kB / 0.7281 GB, free: 8.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3863, allocations: 0 / 0.7281 GB, free: 8.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002626/0.3866, allocations: 97.59 kB / 0.7282 GB, free: 8.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3866, allocations: 6.031 kB / 0.7282 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3866, allocations: 0 / 0.7282 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.3866, allocations: 8.016 kB / 0.7282 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3868, allocations: 11.98 kB / 0.7282 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3868, allocations: 4 kB / 0.7282 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.3869, allocations: 7.984 kB / 0.7282 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.3869, allocations: 0 / 0.7282 GB, free: 8.598 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.793e-05/0.387, allocations: 121.8 kB / 0.7283 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.387, allocations: 0 / 0.7283 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.387, allocations: 11.06 kB / 0.7284 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.387, allocations: 0 / 0.7284 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.387, allocations: 0 / 0.7284 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.387, allocations: 4 kB / 0.7284 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3872, allocations: 169.5 kB / 0.7285 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3872, allocations: 0 / 0.7285 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3873, allocations: 11.98 kB / 0.7285 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.3873, allocations: 3.984 kB / 0.7285 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3873, allocations: 4 kB / 0.7285 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.3873, allocations: 8 kB / 0.7285 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3873, allocations: 3.938 kB / 0.7286 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3876, allocations: 187.4 kB / 0.7287 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.3877, allocations: 85.05 kB / 0.7288 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3877, allocations: 4 kB / 0.7288 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3878, allocations: 7.984 kB / 0.7288 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.3878, allocations: 0 / 0.7288 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3879, allocations: 0 / 0.7288 GB, free: 7.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.3879, allocations: 87.27 kB / 0.7289 GB, free: 7.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3879, allocations: 0 / 0.7289 GB, free: 7.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002153/0.3881, allocations: 12 kB / 0.7289 GB, free: 7.801 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 (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.0001305/0.3882, allocations: 115.2 kB / 0.729 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.3885, allocations: 55.94 kB / 0.7291 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3885, allocations: 0 / 0.7291 GB, free: 7.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3887, allocations: 35.97 kB / 0.7291 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3889, allocations: 3.938 kB / 0.7291 GB, free: 7.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.3893, allocations: 132.4 kB / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.3894, allocations: 0.6731 MB / 0.7299 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.195e-05/0.3895, allocations: 12 kB / 0.7299 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.3896, allocations: 15.42 kB / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of SimCode: time 1.403e-06/0.3896, allocations: 0 / 0.7299 GB, free: 6.699 MB / 0.545 GB Notification: Performance of Templates: time 0.002193/0.3918, allocations: 0.7141 MB / 0.7306 GB, free: 5.988 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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)