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.0009754/0.0009754, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001075/0.001076, allocations: 177.3 kB / 15.94 MB, free: 228 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.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.83/1.83, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005754/0.0005755, allocations: 15.72 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2572, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002027/0.2593, allocations: 0.996 MB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6954/0.9546, allocations: 124.8 MB / 0.91 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.9547, allocations: 0.8125 kB / 0.91 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.9548, allocations: 0.6562 kB / 0.91 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.9548, allocations: 8.516 kB / 0.91 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.9553, allocations: 102.9 kB / 0.9101 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.9554, allocations: 20.02 kB / 0.9101 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.9554, allocations: 4.734 kB / 0.9101 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.9555, allocations: 9.125 kB / 0.9101 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.9555, allocations: 9.484 kB / 0.9101 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.9555, allocations: 1.188 kB / 0.9101 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.956, allocations: 181.9 kB / 0.9103 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.956, allocations: 0.75 kB / 0.9103 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.9562, allocations: 30 kB / 0.9103 GB, free: 22.13 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.9564, allocations: 84.83 kB / 0.9104 GB, free: 22.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.634e-06/0.9564, allocations: 4 kB / 0.9104 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9564, allocations: 0 / 0.9104 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.9564, allocations: 0.7188 kB / 0.9104 GB, free: 22.12 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.0003138/0.9568, allocations: 342.6 kB / 0.9107 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.9568, allocations: 9.984 kB / 0.9108 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.9574, allocations: 38.59 kB / 0.9108 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.9575, allocations: 169 kB / 0.911 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.9575, allocations: 2.797 kB / 0.911 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.9575, allocations: 1.25 kB / 0.911 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.9577, allocations: 47.31 kB / 0.911 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.9578, allocations: 0 / 0.911 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9578, allocations: 2.906 kB / 0.911 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9578, allocations: 2.875 kB / 0.911 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.9579, allocations: 22.94 kB / 0.911 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.9583, allocations: 248.5 kB / 0.9113 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.91e-05/0.9584, allocations: 27.86 kB / 0.9113 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.9584, allocations: 2.203 kB / 0.9113 GB, free: 21.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.9584, allocations: 33.12 kB / 0.9113 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.185e-06/0.9584, allocations: 4 kB / 0.9113 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/0.9586, allocations: 39.17 kB / 0.9114 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.9587, allocations: 56.3 kB / 0.9114 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.9588, allocations: 113.8 kB / 0.9115 GB, free: 21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.9588, allocations: 25.7 kB / 0.9116 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.9589, allocations: 90.7 kB / 0.9116 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.9589, allocations: 5.266 kB / 0.9116 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.9589, allocations: 0 / 0.9116 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.959, allocations: 319 kB / 0.912 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.9591, allocations: 13.12 kB / 0.912 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.9592, allocations: 11.67 kB / 0.912 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.9593, allocations: 13.78 kB / 0.912 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9593, allocations: 0.8438 kB / 0.912 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001798/0.9594, allocations: 67.31 kB / 0.9121 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9595, allocations: 5.094 kB / 0.9121 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9595, allocations: 1.25 kB / 0.9121 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9595, allocations: 0 / 0.9121 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.9596, allocations: 9.828 kB / 0.9121 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.9596, allocations: 0 / 0.9121 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.9598, allocations: 12.58 kB / 0.9121 GB, free: 20.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.9598, allocations: 1.984 kB / 0.9121 GB, free: 20.51 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.986e-05/0.9599, allocations: 112.1 kB / 0.9122 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.9599, allocations: 3.719 kB / 0.9122 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.9599, allocations: 4.609 kB / 0.9122 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.96, allocations: 1.688 kB / 0.9122 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.96, allocations: 0 / 0.9122 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.96, allocations: 3.484 kB / 0.9122 GB, free: 20.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.9601, allocations: 156.1 kB / 0.9124 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.9601, allocations: 0.9688 kB / 0.9124 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.9602, allocations: 6.078 kB / 0.9124 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.9602, allocations: 5.094 kB / 0.9124 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.9602, allocations: 3.438 kB / 0.9124 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.9602, allocations: 3.875 kB / 0.9124 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9602, allocations: 1.031 kB / 0.9124 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.9603, allocations: 135.2 kB / 0.9125 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.9604, allocations: 85.02 kB / 0.9126 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.9604, allocations: 4.5 kB / 0.9126 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.9605, allocations: 8.938 kB / 0.9126 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.9606, allocations: 5 kB / 0.9126 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.9606, allocations: 0 / 0.9126 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.447e-05/0.9607, allocations: 90.25 kB / 0.9127 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9607, allocations: 0 / 0.9127 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002591/0.9609, allocations: 17.61 kB / 0.9127 GB, free: 19.88 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.000293/0.9612, allocations: 110.1 kB / 0.9128 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.9614, allocations: 19.66 kB / 0.9128 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9614, allocations: 0 / 0.9128 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.9614, allocations: 8.312 kB / 0.9128 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.9617, allocations: 11.19 kB / 0.9128 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.962, allocations: 146.8 kB / 0.913 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.9622, allocations: 0.6783 MB / 0.9136 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.585e-05/0.9623, allocations: 8.453 kB / 0.9137 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.9623, allocations: 10.23 kB / 0.9137 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9623, allocations: 0 / 0.9137 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.00292/0.9653, allocations: 0.6895 MB / 0.9143 GB, free: 18.9 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: