Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 106.6 kB / 16.27 MB, free: 6.352 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.001141/0.001141, allocations: 186.2 kB / 17.19 MB, free: 5.957 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.454/1.454, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.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.002071/0.002071, allocations: 71.02 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2394, allocations: 114.6 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002766/0.2423, allocations: 1.283 MB / 0.7853 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6384/0.8807, allocations: 147.6 MB / 0.9295 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.8808, allocations: 0 / 0.9295 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.8809, allocations: 0 / 0.9295 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.881, allocations: 9.297 kB / 0.9295 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.8815, allocations: 124.7 kB / 0.9296 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.049e-05/0.8816, allocations: 22.72 kB / 0.9296 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.8816, allocations: 1.375 kB / 0.9296 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.8817, allocations: 4.125 kB / 0.9296 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.8817, allocations: 8.109 kB / 0.9296 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8817, allocations: 0 / 0.9296 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.8822, allocations: 175.1 kB / 0.9298 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.8822, allocations: 9.297 kB / 0.9298 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.8822, allocations: 8.125 kB / 0.9298 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.8825, allocations: 111.9 kB / 0.9299 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8825, allocations: 0 / 0.9299 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8825, allocations: 0 / 0.9299 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8825, allocations: 0 / 0.9299 GB, free: 4.918 MB / 0.7169 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.0003816/0.8829, allocations: 346.6 kB / 0.9302 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.883, allocations: 11.59 kB / 0.9303 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.8835, allocations: 44.27 kB / 0.9303 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.8837, allocations: 166 kB / 0.9305 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.8837, allocations: 7.938 kB / 0.9305 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.8837, allocations: 1.219 kB / 0.9305 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.8839, allocations: 45.42 kB / 0.9305 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.884, allocations: 1.344 kB / 0.9305 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.884, allocations: 0 / 0.9305 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.884, allocations: 0 / 0.9305 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.8841, allocations: 27.22 kB / 0.9305 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.8845, allocations: 246.3 kB / 0.9308 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.8846, allocations: 24.86 kB / 0.9308 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.8846, allocations: 16.59 kB / 0.9308 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.8846, allocations: 4 kB / 0.9308 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.8846, allocations: 32.19 kB / 0.9308 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8847, allocations: 0 / 0.9308 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001696/0.8848, allocations: 43.2 kB / 0.9309 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.8849, allocations: 51.41 kB / 0.9309 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.885, allocations: 112 kB / 0.931 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.885, allocations: 35.64 kB / 0.9311 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.8851, allocations: 88.06 kB / 0.9312 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.8851, allocations: 6.25 kB / 0.9312 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.8852, allocations: 17.77 kB / 0.9312 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8853, allocations: 318.8 kB / 0.9315 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.8854, allocations: 14.36 kB / 0.9315 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.8854, allocations: 9.391 kB / 0.9315 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.664e-05/0.8855, allocations: 26.44 kB / 0.9315 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8855, allocations: 3.125 kB / 0.9315 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001839/0.8857, allocations: 55.25 kB / 0.9316 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8857, allocations: 5.094 kB / 0.9316 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8858, allocations: 3.984 kB / 0.9316 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8858, allocations: 1.75 kB / 0.9316 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.8859, allocations: 13.61 kB / 0.9316 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.8859, allocations: 3.938 kB / 0.9316 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.8861, allocations: 10.45 kB / 0.9316 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.8861, allocations: 3.938 kB / 0.9316 GB, free: 3.113 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 8.237e-05/0.8862, allocations: 112.5 kB / 0.9317 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.8862, allocations: 7.844 kB / 0.9318 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.8862, allocations: 8.484 kB / 0.9318 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8862, allocations: 0 / 0.9318 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8862, allocations: 5.406 kB / 0.9318 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.8863, allocations: 0 / 0.9318 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.8864, allocations: 157.5 kB / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8864, allocations: 2.25 kB / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.8864, allocations: 2.375 kB / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8865, allocations: 1.25 kB / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.8865, allocations: 0 / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8865, allocations: 1.469 kB / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8865, allocations: 3.312 kB / 0.9319 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.8866, allocations: 145.4 kB / 0.9321 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.8866, allocations: 77.11 kB / 0.9321 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.8867, allocations: 1.812 kB / 0.9321 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.8868, allocations: 1.281 kB / 0.9321 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.8868, allocations: 4.922 kB / 0.9321 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.8868, allocations: 1.156 kB / 0.9321 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.8869, allocations: 94.8 kB / 0.9322 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8869, allocations: 5.406 kB / 0.9322 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000252/0.8872, allocations: 11.84 kB / 0.9323 GB, free: 2.445 MB / 0.7169 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.0001805/0.8873, allocations: 116.9 kB / 0.9324 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.8875, allocations: 15.67 kB / 0.9324 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8875, allocations: 0 / 0.9324 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.8875, allocations: 11.88 kB / 0.9324 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.8878, allocations: 9.531 kB / 0.9324 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.8881, allocations: 149.2 kB / 0.9325 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.8884, allocations: 0.6729 MB / 0.9332 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.8884, allocations: 11.42 kB / 0.9332 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8884, allocations: 0 / 0.9332 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.002398/0.8908, allocations: 0.8096 MB / 0.934 GB, free: 0.6562 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)