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.000984/0.000984, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.0009161/0.0009161, allocations: 184 kB / 17.22 MB, free: 5.934 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.247/1.247, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.606/1.606, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001315/0.001315, allocations: 75.88 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2041, allocations: 114.6 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002381/0.2065, allocations: 1.275 MB / 0.7853 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.463/0.6696, allocations: 147.6 MB / 0.9295 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.6696, allocations: 0 / 0.9295 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.6697, allocations: 5.078 kB / 0.9295 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.6697, allocations: 8.922 kB / 0.9295 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.6702, allocations: 117 kB / 0.9296 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.6703, allocations: 23.02 kB / 0.9297 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.6703, allocations: 5.016 kB / 0.9297 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.6703, allocations: 12.81 kB / 0.9297 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.6704, allocations: 7.547 kB / 0.9297 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.6704, allocations: 0 / 0.9297 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.6708, allocations: 170 kB / 0.9298 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.6708, allocations: 13.3 kB / 0.9298 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.6708, allocations: 3.875 kB / 0.9299 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.6711, allocations: 111.6 kB / 0.93 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6711, allocations: 5.5 kB / 0.93 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6711, allocations: 0 / 0.93 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.6711, allocations: 0 / 0.93 GB, free: 4.781 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.0003118/0.6714, allocations: 346.1 kB / 0.9303 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6715, allocations: 11.09 kB / 0.9303 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000505/0.672, allocations: 40.64 kB / 0.9303 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.6721, allocations: 166.3 kB / 0.9305 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.6721, allocations: 3.938 kB / 0.9305 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.6721, allocations: 5.422 kB / 0.9305 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.6723, allocations: 49.7 kB / 0.9306 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.6723, allocations: 0 / 0.9306 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.6723, allocations: 0 / 0.9306 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.6723, allocations: 1.469 kB / 0.9306 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.6724, allocations: 22.72 kB / 0.9306 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.6728, allocations: 250.5 kB / 0.9308 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.6728, allocations: 28.02 kB / 0.9308 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.6729, allocations: 12.97 kB / 0.9309 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.6729, allocations: 0 / 0.9309 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.6729, allocations: 35.94 kB / 0.9309 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6729, allocations: 0 / 0.9309 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.673, allocations: 43.23 kB / 0.9309 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.6731, allocations: 52.78 kB / 0.931 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.6732, allocations: 111.5 kB / 0.9311 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.6732, allocations: 25.7 kB / 0.9311 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.6733, allocations: 89.44 kB / 0.9312 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.6733, allocations: 18.09 kB / 0.9312 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.6733, allocations: 17.83 kB / 0.9312 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.6734, allocations: 314.8 kB / 0.9315 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.6735, allocations: 14.86 kB / 0.9316 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.6736, allocations: 9.484 kB / 0.9316 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.6736, allocations: 22.47 kB / 0.9316 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6737, allocations: 4 kB / 0.9316 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001615/0.6738, allocations: 55.55 kB / 0.9316 GB, free: 3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6738, allocations: 7.375 kB / 0.9316 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6738, allocations: 0 / 0.9316 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6739, allocations: 2 kB / 0.9316 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.674, allocations: 13.75 kB / 0.9317 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.674, allocations: 1.375 kB / 0.9317 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.6741, allocations: 13.48 kB / 0.9317 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6741, allocations: 3.938 kB / 0.9317 GB, free: 2.98 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 7.044e-05/0.6742, allocations: 108.6 kB / 0.9318 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.6742, allocations: 9.719 kB / 0.9318 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.6743, allocations: 11.11 kB / 0.9318 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6743, allocations: 5.359 kB / 0.9318 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6743, allocations: 0 / 0.9318 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.6743, allocations: 0 / 0.9318 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.6744, allocations: 163.3 kB / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6744, allocations: 0 / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.6745, allocations: 2.75 kB / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6745, allocations: 0 / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.6745, allocations: 1.375 kB / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6745, allocations: 0 / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.6745, allocations: 0 / 0.932 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.235e-05/0.6746, allocations: 142.7 kB / 0.9321 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.6746, allocations: 82.52 kB / 0.9322 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.6747, allocations: 1.375 kB / 0.9322 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.6748, allocations: 1.375 kB / 0.9322 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.6748, allocations: 2.812 kB / 0.9322 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.6748, allocations: 1.375 kB / 0.9322 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.337e-05/0.6749, allocations: 98.06 kB / 0.9323 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6749, allocations: 0 / 0.9323 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002266/0.6751, allocations: 12.38 kB / 0.9323 GB, free: 2.312 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.0001434/0.6753, allocations: 112 kB / 0.9324 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.6754, allocations: 24.34 kB / 0.9324 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6754, allocations: 0 / 0.9324 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.6754, allocations: 8.062 kB / 0.9324 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.6757, allocations: 8.125 kB / 0.9324 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.676, allocations: 125.3 kB / 0.9326 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.6762, allocations: 0.6738 MB / 0.9332 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.263e-05/0.6762, allocations: 8.156 kB / 0.9332 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.6763, allocations: 12.8 kB / 0.9332 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6763, allocations: 1.375 kB / 0.9332 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of Templates: time 0.002539/0.6788, allocations: 0.735 MB / 0.934 GB, free: 0.8594 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)