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.001209/0.001209, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001471/0.001471, allocations: 168.7 kB / 15.95 MB, free: 204 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.779/1.779, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.905/1.905, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005163/0.0005163, allocations: 18 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001608/0.279, allocations: 1.013 MB / 0.7883 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6568/0.9358, allocations: 134.1 MB / 0.9192 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.9359, allocations: 4.906 kB / 0.9192 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.936, allocations: 2.531 kB / 0.9192 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.936, allocations: 9.109 kB / 0.9192 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.9365, allocations: 94.31 kB / 0.9193 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.9365, allocations: 20.25 kB / 0.9193 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.9366, allocations: 1.578 kB / 0.9193 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.9366, allocations: 8.828 kB / 0.9193 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.32e-05/0.9367, allocations: 5.812 kB / 0.9193 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.9367, allocations: 4.938 kB / 0.9193 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.9372, allocations: 178.9 kB / 0.9195 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.9372, allocations: 2.609 kB / 0.9195 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.9375, allocations: 28.14 kB / 0.9195 GB, free: 21.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.9377, allocations: 79.64 kB / 0.9196 GB, free: 21.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9377, allocations: 0 / 0.9196 GB, free: 21.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9378, allocations: 0 / 0.9196 GB, free: 21.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.9378, allocations: 3.156 kB / 0.9196 GB, free: 21.95 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.00033/0.9381, allocations: 342.9 kB / 0.9199 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9381, allocations: 12.38 kB / 0.9199 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000574/0.9387, allocations: 42.69 kB / 0.92 GB, free: 21.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.9389, allocations: 166.6 kB / 0.9201 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.9389, allocations: 0 / 0.9201 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.9389, allocations: 6.188 kB / 0.9202 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.9391, allocations: 53.28 kB / 0.9202 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9391, allocations: 0 / 0.9202 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9391, allocations: 0.9688 kB / 0.9202 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9391, allocations: 0 / 0.9202 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.9393, allocations: 18.97 kB / 0.9202 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.9396, allocations: 251.3 kB / 0.9205 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.9397, allocations: 31.06 kB / 0.9205 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.9397, allocations: 9.859 kB / 0.9205 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.9397, allocations: 0 / 0.9205 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.9398, allocations: 32.5 kB / 0.9205 GB, free: 21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9398, allocations: 0 / 0.9205 GB, free: 21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001527/0.9399, allocations: 43.08 kB / 0.9206 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.94, allocations: 60.14 kB / 0.9206 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.9401, allocations: 114.8 kB / 0.9207 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.9402, allocations: 26.55 kB / 0.9208 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.9402, allocations: 89.59 kB / 0.9209 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.9402, allocations: 8.156 kB / 0.9209 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.9402, allocations: 0 / 0.9209 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9403, allocations: 313.3 kB / 0.9212 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.9404, allocations: 15.52 kB / 0.9212 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.9405, allocations: 9.547 kB / 0.9212 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.9405, allocations: 9.75 kB / 0.9212 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9405, allocations: 0.5156 kB / 0.9212 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001699/0.9407, allocations: 63.86 kB / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.9407, allocations: 5.219 kB / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9408, allocations: 5.469 kB / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.9408, allocations: 0 / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.9409, allocations: 11.73 kB / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.9409, allocations: 1 kB / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.941, allocations: 12.23 kB / 0.9213 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.941, allocations: 1.438 kB / 0.9213 GB, free: 20.32 MB / 0.7325 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 7.624e-05/0.9411, allocations: 108.2 kB / 0.9214 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.9412, allocations: 11.53 kB / 0.9214 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.9412, allocations: 4.766 kB / 0.9214 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9412, allocations: 0.9062 kB / 0.9214 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9412, allocations: 0.75 kB / 0.9214 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.9412, allocations: 0 / 0.9214 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.9414, allocations: 157.7 kB / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9414, allocations: 4.953 kB / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.9414, allocations: 3.625 kB / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9414, allocations: 1 kB / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.9414, allocations: 0 / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9414, allocations: 1.344 kB / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9414, allocations: 4.812 kB / 0.9216 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.975e-05/0.9415, allocations: 141.2 kB / 0.9217 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.9416, allocations: 88.02 kB / 0.9218 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.9416, allocations: 1.438 kB / 0.9218 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.9417, allocations: 4.094 kB / 0.9218 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.9418, allocations: 2.312 kB / 0.9218 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.9418, allocations: 4.969 kB / 0.9218 GB, free: 19.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.602e-05/0.9419, allocations: 89.44 kB / 0.9219 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9419, allocations: 1.781 kB / 0.9219 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002546/0.9421, allocations: 12.09 kB / 0.9219 GB, free: 19.68 MB / 0.7325 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.0001803/0.9423, allocations: 116 kB / 0.922 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.9425, allocations: 22.34 kB / 0.922 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9425, allocations: 0 / 0.922 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.9425, allocations: 3.875 kB / 0.922 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.9428, allocations: 17.69 kB / 0.9221 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.9431, allocations: 135 kB / 0.9222 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.9433, allocations: 0.6755 MB / 0.9228 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.559e-05/0.9434, allocations: 6.844 kB / 0.9229 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.9434, allocations: 15.03 kB / 0.9229 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.9434, allocations: 0 / 0.9229 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of Templates: time 0.003304/0.9467, allocations: 0.6997 MB / 0.9235 GB, free: 18.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: