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.001153/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001327/0.001327, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.312/1.312, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.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.689/1.689, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.002219/0.002219, allocations: 61.8 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2173, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002539/0.2199, allocations: 1.344 MB / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5783/0.7983, allocations: 145.5 MB / 0.9262 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.7983, allocations: 0 / 0.9262 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.7984, allocations: 2.906 kB / 0.9262 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.7985, allocations: 6.172 kB / 0.9263 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.7989, allocations: 102.5 kB / 0.9264 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.799, allocations: 16.78 kB / 0.9264 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.799, allocations: 12.56 kB / 0.9264 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.7991, allocations: 8.031 kB / 0.9264 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.7991, allocations: 8.906 kB / 0.9264 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.7991, allocations: 0.8438 kB / 0.9264 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.7996, allocations: 179.3 kB / 0.9266 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.7996, allocations: 4.484 kB / 0.9266 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.7996, allocations: 6.266 kB / 0.9266 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.7998, allocations: 113.7 kB / 0.9267 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7999, allocations: 0.875 kB / 0.9267 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7999, allocations: 0 / 0.9267 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.7999, allocations: 1.031 kB / 0.9267 GB, free: 6.18 MB / 0.7325 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.000599/0.8005, allocations: 354.1 kB / 0.927 GB, free: 21.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8005, allocations: 9.812 kB / 0.927 GB, free: 21.81 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.8011, allocations: 42.38 kB / 0.9271 GB, free: 21.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.8013, allocations: 163.4 kB / 0.9272 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.8013, allocations: 5.062 kB / 0.9272 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.8013, allocations: 5.125 kB / 0.9272 GB, free: 21.6 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.8015, allocations: 50.81 kB / 0.9273 GB, free: 21.57 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.8015, allocations: 0 / 0.9273 GB, free: 21.57 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8015, allocations: 0 / 0.9273 GB, free: 21.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.8015, allocations: 0.75 kB / 0.9273 GB, free: 21.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.8016, allocations: 18.12 kB / 0.9273 GB, free: 21.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.802, allocations: 254.4 kB / 0.9275 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.8021, allocations: 25.52 kB / 0.9276 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.8021, allocations: 10.02 kB / 0.9276 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.8021, allocations: 0.9688 kB / 0.9276 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.8022, allocations: 37.78 kB / 0.9276 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8022, allocations: 0 / 0.9276 GB, free: 21.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.8023, allocations: 47.38 kB / 0.9277 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.8024, allocations: 52.19 kB / 0.9277 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8025, allocations: 109.9 kB / 0.9278 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.8025, allocations: 25.7 kB / 0.9278 GB, free: 21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.8026, allocations: 92.42 kB / 0.9279 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.8026, allocations: 5.906 kB / 0.9279 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.8026, allocations: 18.2 kB / 0.928 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.8027, allocations: 324.7 kB / 0.9283 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.8028, allocations: 8.656 kB / 0.9283 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.8029, allocations: 9.875 kB / 0.9283 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/0.803, allocations: 24.92 kB / 0.9283 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.803, allocations: 0.9062 kB / 0.9283 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001841/0.8032, allocations: 60.91 kB / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.8032, allocations: 5.406 kB / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8032, allocations: 0 / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8032, allocations: 1.156 kB / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.8033, allocations: 14.06 kB / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.8034, allocations: 0 / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.8035, allocations: 9.656 kB / 0.9284 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8035, allocations: 4.719 kB / 0.9284 GB, free: 20.53 MB / 0.7481 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 7.193e-05/0.8036, allocations: 115 kB / 0.9285 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.8036, allocations: 1.531 kB / 0.9285 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.8037, allocations: 11.44 kB / 0.9285 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8037, allocations: 0 / 0.9285 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8037, allocations: 0.7812 kB / 0.9285 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.8037, allocations: 0 / 0.9285 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8038, allocations: 154.7 kB / 0.9287 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8038, allocations: 3.938 kB / 0.9287 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.8039, allocations: 6.812 kB / 0.9287 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.8039, allocations: 4 kB / 0.9287 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.8039, allocations: 2.656 kB / 0.9287 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8039, allocations: 0 / 0.9287 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8039, allocations: 1.031 kB / 0.9287 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.804, allocations: 143.4 kB / 0.9288 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.8041, allocations: 81.47 kB / 0.9289 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.8041, allocations: 1.344 kB / 0.9289 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.8042, allocations: 6.406 kB / 0.9289 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.8042, allocations: 0.9062 kB / 0.9289 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.8042, allocations: 0.9688 kB / 0.9289 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001022/0.8043, allocations: 96.39 kB / 0.929 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8044, allocations: 1.156 kB / 0.929 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002553/0.8046, allocations: 15.28 kB / 0.929 GB, free: 19.89 MB / 0.7481 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.0001894/0.8048, allocations: 112.6 kB / 0.9291 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.805, allocations: 21.84 kB / 0.9291 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.805, allocations: 0 / 0.9291 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.805, allocations: 11.47 kB / 0.9292 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.8053, allocations: 6.75 kB / 0.9292 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.8056, allocations: 139.3 kB / 0.9293 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.8059, allocations: 0.6755 MB / 0.93 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.76e-05/0.8059, allocations: 6.031 kB / 0.93 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.806, allocations: 13.34 kB / 0.93 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.806, allocations: 0 / 0.93 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of Templates: time 0.002971/0.809, allocations: 0.7342 MB / 0.9307 GB, free: 18.91 MB / 0.7481 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)