Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_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_1.6_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.001038/0.001038, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001139/0.001139, allocations: 172.7 kB / 15.95 MB, free: 208 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.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6499/0.6499, allocations: 95.62 MB / 366 MB, free: 10.35 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005407, allocations: 19.98 kB / 446.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4144, allocations: 70.33 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00165/0.4161, allocations: 0.983 MB / 0.506 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.6751/1.091, allocations: 140.5 MB / 0.6432 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/1.091, allocations: 2.531 kB / 0.6432 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/1.091, allocations: 1.781 kB / 0.6432 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/1.091, allocations: 10.48 kB / 0.6433 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.093, allocations: 124.8 kB / 0.6434 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/1.093, allocations: 18.69 kB / 0.6434 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/1.093, allocations: 6.953 kB / 0.6434 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/1.093, allocations: 9.719 kB / 0.6434 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/1.093, allocations: 8.531 kB / 0.6434 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/1.093, allocations: 0.8438 kB / 0.6434 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000801/1.094, allocations: 219.4 kB / 0.6436 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/1.094, allocations: 2.656 kB / 0.6436 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/1.094, allocations: 27.52 kB / 0.6437 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/1.094, allocations: 102.7 kB / 0.6437 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/1.094, allocations: 0 / 0.6437 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.185e-06/1.094, allocations: 0 / 0.6437 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.094, allocations: 1 kB / 0.6438 GB, free: 17.17 MB / 0.4981 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.0006236/1.095, allocations: 358.2 kB / 0.6441 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.289e-05/1.095, allocations: 14.14 kB / 0.6441 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/1.095, allocations: 4.906 kB / 0.6441 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/1.096, allocations: 169 kB / 0.6443 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.096, allocations: 0.875 kB / 0.6443 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/1.096, allocations: 4.719 kB / 0.6443 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/1.096, allocations: 32.47 kB / 0.6443 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.096, allocations: 2.469 kB / 0.6443 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.096, allocations: 4 kB / 0.6443 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/1.096, allocations: 0.6875 kB / 0.6443 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/1.096, allocations: 8.406 kB / 0.6443 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009496/1.097, allocations: 494.6 kB / 0.6448 GB, free: 16.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/1.097, allocations: 25.58 kB / 0.6448 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/1.097, allocations: 14.16 kB / 0.6448 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/1.097, allocations: 8.641 kB / 0.6448 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.097, allocations: 35.75 kB / 0.6449 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.993e-06/1.097, allocations: 0.75 kB / 0.6449 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002557/1.097, allocations: 44.48 kB / 0.6449 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/1.098, allocations: 55.34 kB / 0.645 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/1.098, allocations: 101.7 kB / 0.6451 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/1.098, allocations: 25.7 kB / 0.6451 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/1.098, allocations: 87.58 kB / 0.6452 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/1.098, allocations: 10.94 kB / 0.6452 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/1.098, allocations: 3.938 kB / 0.6452 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.098, allocations: 314.8 kB / 0.6455 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/1.098, allocations: 5.156 kB / 0.6455 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/1.098, allocations: 6.25 kB / 0.6455 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/1.098, allocations: 6.312 kB / 0.6455 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.098, allocations: 0 / 0.6455 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001082/1.098, allocations: 45.77 kB / 0.6456 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.098, allocations: 9.656 kB / 0.6456 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/1.098, allocations: 0 / 0.6456 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.098, allocations: 0.6875 kB / 0.6456 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/1.098, allocations: 3.969 kB / 0.6456 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/1.098, allocations: 0.8125 kB / 0.6456 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/1.098, allocations: 0.6875 kB / 0.6456 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.098, allocations: 0.9062 kB / 0.6456 GB, free: 15.25 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.099, allocations: 115.4 kB / 0.6457 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/1.099, allocations: 11.73 kB / 0.6457 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/1.099, allocations: 13.58 kB / 0.6457 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.099, allocations: 1.125 kB / 0.6457 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.099, allocations: 0 / 0.6457 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.099, allocations: 0.8438 kB / 0.6457 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/1.099, allocations: 154.8 kB / 0.6458 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.099, allocations: 1.594 kB / 0.6459 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/1.099, allocations: 3 kB / 0.6459 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.099, allocations: 0 / 0.6459 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/1.099, allocations: 0.625 kB / 0.6459 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.099, allocations: 5.656 kB / 0.6459 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.099, allocations: 0 / 0.6459 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/1.099, allocations: 142.3 kB / 0.646 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/1.099, allocations: 81.72 kB / 0.6461 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/1.099, allocations: 4.125 kB / 0.6461 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/1.099, allocations: 0 / 0.6461 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/1.099, allocations: 1.438 kB / 0.6461 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.099, allocations: 0.75 kB / 0.6461 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.27e-05/1.099, allocations: 81.78 kB / 0.6462 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 4 kB / 0.6462 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003755/1.1, allocations: 26.12 kB / 0.6462 GB, free: 14.61 MB / 0.4981 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.0003427/1.1, allocations: 127.7 kB / 0.6463 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001297/1.1, allocations: 18.03 kB / 0.6463 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.1, allocations: 0 / 0.6463 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/1.1, allocations: 8.953 kB / 0.6463 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/1.101, allocations: 16.27 kB / 0.6463 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/1.101, allocations: 134.1 kB / 0.6465 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/1.102, allocations: 0.673 MB / 0.6471 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.458e-05/1.102, allocations: 8.047 kB / 0.6471 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/1.102, allocations: 9.219 kB / 0.6472 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/1.102, allocations: 0 / 0.6472 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.005522/1.107, allocations: 0.8019 MB / 0.6479 GB, free: 13.6 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: