Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.00121/0.00121, allocations: 184 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001121/0.001121, allocations: 89.16 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.909e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.433, allocations: 140.5 MB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.433, allocations: 80.08 kB / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007192/1.44, allocations: 2.644 MB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/1.44, allocations: 0 / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.44, allocations: 0 / 1.12 GB, free: 41.78 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002535/1.441, allocations: 349.1 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.441, allocations: 14.88 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/1.441, allocations: 4.969 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/1.441, allocations: 174.5 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/1.441, allocations: 28.97 kB / 1.12 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/1.441, allocations: 8 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/1.441, allocations: 40.27 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/1.441, allocations: 0 / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.441, allocations: 3.969 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.441, allocations: 0 / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/1.441, allocations: 9.844 kB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/1.441, allocations: 163.1 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/1.442, allocations: 44.52 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/1.442, allocations: 15.42 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/1.442, allocations: 181.2 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/1.442, allocations: 38.12 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/1.442, allocations: 0 / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001289/1.442, allocations: 49.66 kB / 1.121 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/1.442, allocations: 55.41 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/1.442, allocations: 89 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/1.442, allocations: 25.7 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.529e-05/1.442, allocations: 87.2 kB / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/1.442, allocations: 16.38 kB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/1.442, allocations: 1.219 kB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.537e-05/1.442, allocations: 317.7 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/1.442, allocations: 4 kB / 1.121 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/1.442, allocations: 8.406 kB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/1.442, allocations: 18.91 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.442, allocations: 0 / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.405e-05/1.442, allocations: 48.16 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.442, allocations: 8 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.442, allocations: 1 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/1.442, allocations: 0 / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/1.442, allocations: 12.22 kB / 1.121 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.442, allocations: 0 / 1.121 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/1.442, allocations: 0 / 1.121 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.442, allocations: 4.781 kB / 1.121 GB, free: 39.86 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.549e-05/1.443, allocations: 112.9 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/1.443, allocations: 0 / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/1.443, allocations: 62.38 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.443, allocations: 1.078 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.443, allocations: 0.5625 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/1.443, allocations: 0 / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.119e-05/1.443, allocations: 164 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.443, allocations: 3.953 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/1.443, allocations: 5.188 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.443, allocations: 8 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.443, allocations: 0 / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.443, allocations: 3.938 kB / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.443, allocations: 0.9375 kB / 1.122 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.615e-05/1.443, allocations: 75.12 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/1.443, allocations: 90.45 kB / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/1.443, allocations: 0 / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/1.443, allocations: 3.375 kB / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/1.443, allocations: 11.83 kB / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/1.443, allocations: 0 / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.013e-05/1.443, allocations: 82.78 kB / 1.122 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.443, allocations: 0 / 1.122 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002151/1.443, allocations: 39.27 kB / 1.122 GB, free: 39.17 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001895/1.444, allocations: 150.8 kB / 1.122 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.455e-05/1.444, allocations: 16.61 kB / 1.122 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.444, allocations: 4 kB / 1.122 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/1.444, allocations: 15.17 kB / 1.122 GB, free: 39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/1.444, allocations: 7.984 kB / 1.122 GB, free: 39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/1.444, allocations: 59.59 kB / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/1.444, allocations: 0.6805 MB / 1.123 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.566e-05/1.444, allocations: 8.625 kB / 1.123 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/1.444, allocations: 14.86 kB / 1.123 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.444, allocations: 0 / 1.123 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.002718/1.447, allocations: 0.9345 MB / 1.124 GB, free: 37.7 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)