Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 112.3 kB / 17.04 MB, free: 5.812 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.001171/0.001171, allocations: 195 kB / 17.98 MB, free: 5.027 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 60.12 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3425, allocations: 76.15 MB / 0.5576 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002402/0.3449, allocations: 1.256 MB / 0.5588 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3462, allocations: 0.8206 MB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.3462, allocations: 2.906 kB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.3463, allocations: 3.938 kB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.3464, allocations: 3.984 kB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.347, allocations: 132.3 kB / 0.5597 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.3471, allocations: 29.27 kB / 0.5598 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.3472, allocations: 2.094 kB / 0.5598 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.3472, allocations: 16.16 kB / 0.5598 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.3473, allocations: 12.83 kB / 0.5598 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3473, allocations: 1.188 kB / 0.5598 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.3477, allocations: 160.8 kB / 0.5599 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3478, allocations: 12.77 kB / 0.56 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.3478, allocations: 9.688 kB / 0.56 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.3482, allocations: 124 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3482, allocations: 0.6094 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.3482, allocations: 0.5 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3482, allocations: 4.688 kB / 0.5601 GB, free: 34.94 MB / 446.1 MB 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.0005908/0.3488, allocations: 355.4 kB / 0.5604 GB, free: 34.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3489, allocations: 9.094 kB / 0.5604 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.3489, allocations: 11.81 kB / 0.5605 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.349, allocations: 162.7 kB / 0.5606 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.3491, allocations: 34.75 kB / 0.5606 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3491, allocations: 4.125 kB / 0.5606 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3493, allocations: 49.78 kB / 0.5607 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3493, allocations: 3.938 kB / 0.5607 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3493, allocations: 1.219 kB / 0.5607 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3493, allocations: 0 / 0.5607 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.3494, allocations: 20.92 kB / 0.5607 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3495, allocations: 161.9 kB / 0.5609 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3498, allocations: 47.56 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.3498, allocations: 17.58 kB / 0.5609 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.3501, allocations: 180.9 kB / 0.5611 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3501, allocations: 35.72 kB / 0.5611 GB, free: 33.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3501, allocations: 1.281 kB / 0.5611 GB, free: 33.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002416/0.3504, allocations: 73.92 kB / 0.5612 GB, free: 33.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.3504, allocations: 53.44 kB / 0.5613 GB, free: 33.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.3505, allocations: 96.36 kB / 0.5614 GB, free: 33.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3505, allocations: 26.95 kB / 0.5614 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.472e-05/0.3505, allocations: 89.39 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3505, allocations: 10.55 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.3506, allocations: 19.88 kB / 0.5615 GB, free: 33.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.3506, allocations: 312 kB / 0.5618 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.3507, allocations: 8.156 kB / 0.5618 GB, free: 33.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.3507, allocations: 13.48 kB / 0.5618 GB, free: 33.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.3508, allocations: 29.78 kB / 0.5618 GB, free: 33.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3508, allocations: 0 / 0.5618 GB, free: 33.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001202/0.351, allocations: 61.14 kB / 0.5619 GB, free: 33.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.351, allocations: 9.875 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.351, allocations: 1.25 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.351, allocations: 0.5938 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.3511, allocations: 8.312 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3511, allocations: 2.844 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.3511, allocations: 0.75 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3511, allocations: 1.625 kB / 0.5619 GB, free: 33.08 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * 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 6.129e-05/0.3512, allocations: 114.1 kB / 0.562 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3512, allocations: 10.02 kB / 0.562 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.3514, allocations: 71.98 kB / 0.5621 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3514, allocations: 1.375 kB / 0.5621 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3514, allocations: 0 / 0.5621 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3514, allocations: 4.641 kB / 0.5621 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.3515, allocations: 154.7 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3515, allocations: 2 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.3516, allocations: 8 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3516, allocations: 3.938 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3516, allocations: 2.359 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3516, allocations: 0.9062 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3517, allocations: 4 kB / 0.5623 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3518, allocations: 82.05 kB / 0.5624 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3519, allocations: 92.61 kB / 0.5625 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3519, allocations: 10.2 kB / 0.5625 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.352, allocations: 4.094 kB / 0.5625 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.352, allocations: 4.328 kB / 0.5625 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.3521, allocations: 1.312 kB / 0.5625 GB, free: 32.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.3521, allocations: 80.3 kB / 0.5625 GB, free: 32.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3521, allocations: 4.844 kB / 0.5626 GB, free: 32.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000339/0.3525, allocations: 35.94 kB / 0.5626 GB, free: 32.43 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * 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.0002519/0.3527, allocations: 137.5 kB / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3529, allocations: 27.31 kB / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3529, allocations: 0 / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.353, allocations: 22.17 kB / 0.5628 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3533, allocations: 6.859 kB / 0.5628 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.3536, allocations: 123.8 kB / 0.5629 GB, free: 32.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.3538, allocations: 0.678 MB / 0.5636 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.3538, allocations: 5.562 kB / 0.5636 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.3538, allocations: 10.31 kB / 0.5636 GB, free: 31.51 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3539, allocations: 0.875 kB / 0.5636 GB, free: 31.51 MB / 446.1 MB Notification: Performance of Templates: time 0.004751/0.3586, allocations: 1.067 MB / 0.5646 GB, free: 31.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)