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.001093/0.001093, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001145/0.001145, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.416/1.416, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.683/1.683, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001308/0.001308, allocations: 73.16 kB / 0.6717 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1999, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00221/0.2021, allocations: 1.352 MB / 0.7848 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6849/0.887, allocations: 145.5 MB / 0.9269 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.8871, allocations: 0 / 0.9269 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.8872, allocations: 0 / 0.9269 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.8873, allocations: 13.16 kB / 0.9269 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.8877, allocations: 103.6 kB / 0.927 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.8878, allocations: 16.09 kB / 0.927 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.8879, allocations: 1.75 kB / 0.927 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.8879, allocations: 10.25 kB / 0.927 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.888, allocations: 11.27 kB / 0.9271 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.888, allocations: 1.984 kB / 0.9271 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.8884, allocations: 183.4 kB / 0.9272 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.8885, allocations: 0 / 0.9272 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.8885, allocations: 7.688 kB / 0.9272 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.8887, allocations: 82.22 kB / 0.9273 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8887, allocations: 0 / 0.9273 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8887, allocations: 0 / 0.9273 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8887, allocations: 0 / 0.9273 GB, free: 6.223 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.0007538/0.8895, allocations: 354.8 kB / 0.9277 GB, free: 21.85 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.8896, allocations: 9.219 kB / 0.9277 GB, free: 21.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.8902, allocations: 42.45 kB / 0.9277 GB, free: 21.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.8903, allocations: 162.2 kB / 0.9279 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.8903, allocations: 4.875 kB / 0.9279 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.8903, allocations: 4.172 kB / 0.9279 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.8905, allocations: 55.52 kB / 0.9279 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8906, allocations: 1.094 kB / 0.9279 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.8906, allocations: 0 / 0.9279 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8906, allocations: 0.9062 kB / 0.9279 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.8907, allocations: 17.47 kB / 0.9279 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.8911, allocations: 254.5 kB / 0.9282 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.8912, allocations: 27.02 kB / 0.9282 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.8912, allocations: 8.266 kB / 0.9282 GB, free: 21.31 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.8912, allocations: 0.9375 kB / 0.9282 GB, free: 21.31 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.8913, allocations: 31.47 kB / 0.9282 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.8913, allocations: 0 / 0.9282 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0001612/0.8914, allocations: 46.69 kB / 0.9283 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.8915, allocations: 56.38 kB / 0.9283 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.8916, allocations: 112.7 kB / 0.9285 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8916, allocations: 25.7 kB / 0.9285 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.8917, allocations: 89.61 kB / 0.9286 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.8917, allocations: 5.547 kB / 0.9286 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.8918, allocations: 24.52 kB / 0.9286 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.8919, allocations: 319.6 kB / 0.9289 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.892, allocations: 13.62 kB / 0.9289 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.892, allocations: 9.938 kB / 0.9289 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.8921, allocations: 22.36 kB / 0.9289 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8921, allocations: 1.031 kB / 0.9289 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001796/0.8923, allocations: 61.59 kB / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.8923, allocations: 5.094 kB / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8923, allocations: 0 / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8924, allocations: 1.344 kB / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.8925, allocations: 9.125 kB / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.8925, allocations: 0.9375 kB / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.8926, allocations: 8.734 kB / 0.929 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.8927, allocations: 7.812 kB / 0.929 GB, free: 20.57 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.116e-05/0.8927, allocations: 116.4 kB / 0.9291 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.8928, allocations: 3.141 kB / 0.9291 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.8928, allocations: 6.547 kB / 0.9292 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.8928, allocations: 0.5625 kB / 0.9292 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8928, allocations: 0.9062 kB / 0.9292 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8928, allocations: 5.391 kB / 0.9292 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.893, allocations: 159.5 kB / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.893, allocations: 0 / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.893, allocations: 3.312 kB / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.893, allocations: 0 / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.893, allocations: 4.719 kB / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8931, allocations: 2.25 kB / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.8931, allocations: 0.7031 kB / 0.9293 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.8932, allocations: 142.8 kB / 0.9295 GB, free: 20.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.8932, allocations: 79.89 kB / 0.9295 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.8933, allocations: 7.641 kB / 0.9295 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.8934, allocations: 1.906 kB / 0.9295 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.8934, allocations: 4.969 kB / 0.9295 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.8934, allocations: 0.8125 kB / 0.9295 GB, free: 20.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.415e-05/0.8935, allocations: 94.02 kB / 0.9296 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.202e-06/0.8935, allocations: 0 / 0.9296 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002561/0.8938, allocations: 16.88 kB / 0.9297 GB, free: 19.93 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.0001915/0.894, allocations: 109.8 kB / 0.9298 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.8941, allocations: 29.16 kB / 0.9298 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8941, allocations: 0.9062 kB / 0.9298 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.8941, allocations: 3.5 kB / 0.9298 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.8945, allocations: 11.64 kB / 0.9298 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.8948, allocations: 160 kB / 0.93 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.8951, allocations: 0.6759 MB / 0.9306 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.8951, allocations: 11.03 kB / 0.9306 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8951, allocations: 1.094 kB / 0.9306 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.002525/0.8977, allocations: 0.8007 MB / 0.9314 GB, free: 18.95 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)