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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 194.4 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.5 kB / 0.748 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2495, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003303/0.2529, allocations: 1.348 MB / 0.9835 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.5958/0.8487, allocations: 145.3 MB / 1.125 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.8488, allocations: 3.219 kB / 1.125 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.8489, allocations: 0 / 1.125 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.8489, allocations: 12.05 kB / 1.125 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.8493, allocations: 92.03 kB / 1.126 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.8494, allocations: 24.67 kB / 1.126 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.8494, allocations: 0 / 1.126 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.8494, allocations: 14.06 kB / 1.126 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.8495, allocations: 6.406 kB / 1.126 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.8495, allocations: 0 / 1.126 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.8499, allocations: 183 kB / 1.126 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.8499, allocations: 0 / 1.126 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.8499, allocations: 11.05 kB / 1.126 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.8502, allocations: 117 kB / 1.126 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.8502, allocations: 0 / 1.126 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.8502, allocations: 0 / 1.126 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.8502, allocations: 0.6562 kB / 1.126 GB, free: 11.2 MB / 0.7448 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.000284/0.8505, allocations: 356.1 kB / 1.126 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.8505, allocations: 9.781 kB / 1.126 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/0.851, allocations: 37.36 kB / 1.126 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.8511, allocations: 160.6 kB / 1.126 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.8511, allocations: 3.938 kB / 1.126 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.8511, allocations: 11.92 kB / 1.126 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.8513, allocations: 50.77 kB / 1.127 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8513, allocations: 0 / 1.127 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8513, allocations: 0 / 1.127 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8513, allocations: 0 / 1.127 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.8514, allocations: 16.72 kB / 1.127 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.8517, allocations: 256 kB / 1.127 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.8518, allocations: 25.89 kB / 1.127 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.8518, allocations: 15.19 kB / 1.127 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.8518, allocations: 0 / 1.127 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.8518, allocations: 37.91 kB / 1.127 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.8518, allocations: 0 / 1.127 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001293/0.852, allocations: 43.95 kB / 1.127 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.852, allocations: 55.39 kB / 1.127 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.8521, allocations: 107.7 kB / 1.127 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.8521, allocations: 29.64 kB / 1.127 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.8522, allocations: 87.98 kB / 1.127 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.326e-06/0.8522, allocations: 7.406 kB / 1.127 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.8522, allocations: 23.58 kB / 1.127 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.8523, allocations: 319.8 kB / 1.127 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.8523, allocations: 9.672 kB / 1.128 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.8524, allocations: 13.92 kB / 1.128 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.8525, allocations: 18.56 kB / 1.128 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8525, allocations: 0 / 1.128 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001601/0.8527, allocations: 57.48 kB / 1.128 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8527, allocations: 9.688 kB / 1.128 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.8527, allocations: 0 / 1.128 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.8527, allocations: 0 / 1.128 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.8528, allocations: 13.95 kB / 1.128 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.8528, allocations: 0.9375 kB / 1.128 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.8529, allocations: 10.34 kB / 1.128 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.853, allocations: 7.453 kB / 1.128 GB, free: 9.484 MB / 0.7448 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 4.598e-05/0.853, allocations: 113 kB / 1.128 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.853, allocations: 0 / 1.128 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.8531, allocations: 6.25 kB / 1.128 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.8531, allocations: 0 / 1.128 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8531, allocations: 1.062 kB / 1.128 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8531, allocations: 336 / 1.128 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.676e-05/0.8532, allocations: 160 kB / 1.128 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8532, allocations: 0.6562 kB / 1.128 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.8532, allocations: 3.094 kB / 1.128 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8532, allocations: 7.984 kB / 1.128 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8532, allocations: 0 / 1.128 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8533, allocations: 3.812 kB / 1.128 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.8533, allocations: 3.938 kB / 1.128 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.8535, allocations: 0.6876 MB / 1.129 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.8535, allocations: 78.05 kB / 1.129 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.8535, allocations: 8.656 kB / 1.129 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.8536, allocations: 3.219 kB / 1.129 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.8536, allocations: 3.375 kB / 1.129 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.8536, allocations: 0 / 1.129 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.8537, allocations: 91.89 kB / 1.129 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8537, allocations: 0 / 1.129 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000313/0.854, allocations: 12.97 kB / 1.129 GB, free: 8.258 MB / 0.7448 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.0001557/0.8542, allocations: 121 kB / 1.129 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.8543, allocations: 23.5 kB / 1.129 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8543, allocations: 0.5625 kB / 1.129 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.8544, allocations: 3.531 kB / 1.129 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.8547, allocations: 7.594 kB / 1.129 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.855, allocations: 233.8 kB / 1.129 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.8552, allocations: 0.6756 MB / 1.13 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.264e-05/0.8552, allocations: 8.156 kB / 1.13 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.8553, allocations: 17.88 kB / 1.13 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of SimCode: time 2.11e-07/0.8553, allocations: 0 / 1.13 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.002584/0.8579, allocations: 0.7208 MB / 1.131 GB, free: 7.16 MB / 0.7448 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)