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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001319/0.001319, allocations: 192.6 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 69.67 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002459/0.3415, allocations: 1.339 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1604/0.5019, allocations: 145.4 MB / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.5019, allocations: 0 / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.502, allocations: 0 / 1.211 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.5021, allocations: 11.91 kB / 1.211 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.5026, allocations: 91.62 kB / 1.211 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.5027, allocations: 31.8 kB / 1.211 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.5028, allocations: 4 kB / 1.211 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.5028, allocations: 4 kB / 1.211 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.5029, allocations: 11.94 kB / 1.211 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.5029, allocations: 0 / 1.211 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.5034, allocations: 175.6 kB / 1.211 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.5034, allocations: 4 kB / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.5035, allocations: 11.98 kB / 1.211 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.5037, allocations: 108 kB / 1.211 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5038, allocations: 3.938 kB / 1.211 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5038, allocations: 0 / 1.211 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.5038, allocations: 0 / 1.211 GB, free: 7.23 MB / 0.9669 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.0004349/0.5042, allocations: 359.4 kB / 1.212 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5043, allocations: 8.031 kB / 1.212 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006783/0.505, allocations: 32.89 kB / 1.212 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.5051, allocations: 176.2 kB / 1.212 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5052, allocations: 3.938 kB / 1.212 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5052, allocations: 4 kB / 1.212 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.5054, allocations: 45.67 kB / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5054, allocations: 0 / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5054, allocations: 0 / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.5055, allocations: 0 / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.5056, allocations: 23.97 kB / 1.212 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.5061, allocations: 248.9 kB / 1.212 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.5062, allocations: 30.52 kB / 1.212 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.5062, allocations: 12.91 kB / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.5062, allocations: 0 / 1.212 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.5062, allocations: 30.56 kB / 1.212 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.5063, allocations: 0 / 1.212 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001979/0.5065, allocations: 41.7 kB / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5065, allocations: 59.47 kB / 1.212 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.5067, allocations: 109.8 kB / 1.212 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5067, allocations: 29.7 kB / 1.212 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.5068, allocations: 88.05 kB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.5068, allocations: 3.906 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.5068, allocations: 17.7 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.507, allocations: 318.8 kB / 1.213 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.5071, allocations: 19.98 kB / 1.213 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.5071, allocations: 7.984 kB / 1.213 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.5072, allocations: 24.84 kB / 1.213 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5073, allocations: 0 / 1.213 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002005/0.5075, allocations: 57.89 kB / 1.213 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5075, allocations: 12 kB / 1.213 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5075, allocations: 48 / 1.213 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5075, allocations: 3.984 kB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.5077, allocations: 7.984 kB / 1.213 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5077, allocations: 7.984 kB / 1.213 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.5078, allocations: 15.86 kB / 1.213 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.5079, allocations: 0 / 1.213 GB, free: 5.242 MB / 0.9669 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 0.0001188/0.508, allocations: 123.6 kB / 1.213 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.508, allocations: 0 / 1.213 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.5081, allocations: 11.05 kB / 1.213 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5081, allocations: 0 / 1.213 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5081, allocations: 0 / 1.213 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5081, allocations: 3.938 kB / 1.213 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.5083, allocations: 161.6 kB / 1.213 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5083, allocations: 0 / 1.213 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.5083, allocations: 4 kB / 1.213 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5083, allocations: 0 / 1.213 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.5083, allocations: 0 / 1.213 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5084, allocations: 4 kB / 1.213 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5084, allocations: 4 kB / 1.213 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.5085, allocations: 139.4 kB / 1.213 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.5086, allocations: 77.11 kB / 1.213 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.5086, allocations: 0 / 1.213 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5088, allocations: 4 kB / 1.213 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.5088, allocations: 8.016 kB / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.5088, allocations: 3.938 kB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001035/0.5089, allocations: 91.27 kB / 1.214 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5089, allocations: 0 / 1.214 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002872/0.5092, allocations: 15.94 kB / 1.214 GB, free: 4.512 MB / 0.9669 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.0002487/0.5095, allocations: 111.2 kB / 1.214 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.5096, allocations: 23.98 kB / 1.214 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5096, allocations: 3.938 kB / 1.214 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.5097, allocations: 4 kB / 1.214 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.5101, allocations: 13.55 kB / 1.214 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.5104, allocations: 116.9 kB / 1.214 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.5107, allocations: 0.6771 MB / 1.214 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.177e-05/0.5108, allocations: 7.938 kB / 1.214 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.5108, allocations: 15.42 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of SimCode: time 6.92e-07/0.5108, allocations: 0 / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.003359/0.5142, allocations: 0.7186 MB / 1.215 GB, free: 2.773 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (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)