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.001507/0.001507, allocations: 104.3 kB / 16.94 MB, free: 5.801 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.001822/0.001822, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.33/1.33, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7858/0.7858, allocations: 122.9 MB / 414.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 0.4917 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3661, allocations: 77.92 MB / 0.5678 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002259/0.3684, allocations: 1.268 MB / 0.5691 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3696, allocations: 0.8124 MB / 0.5699 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.3696, allocations: 2.031 kB / 0.5699 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.3697, allocations: 10.14 kB / 0.5699 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.3697, allocations: 0.5156 kB / 0.5699 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.3702, allocations: 136.1 kB / 0.57 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.3703, allocations: 27.73 kB / 0.57 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.3703, allocations: 3.422 kB / 0.57 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.3704, allocations: 15.84 kB / 0.5701 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.3704, allocations: 11.09 kB / 0.5701 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.3704, allocations: 2.562 kB / 0.5701 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.3708, allocations: 169 kB / 0.5702 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.3708, allocations: 4.516 kB / 0.5702 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.3708, allocations: 8.734 kB / 0.5702 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.371, allocations: 119.9 kB / 0.5704 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3711, allocations: 3 kB / 0.5704 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3711, allocations: 3.938 kB / 0.5704 GB, free: 31.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3711, allocations: 0 / 0.5704 GB, free: 31.11 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.0003545/0.3714, allocations: 358.8 kB / 0.5707 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3715, allocations: 10.56 kB / 0.5707 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3715, allocations: 3.875 kB / 0.5707 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.3716, allocations: 166.6 kB / 0.5709 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.3717, allocations: 29.67 kB / 0.5709 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.3717, allocations: 4.859 kB / 0.5709 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3718, allocations: 42.73 kB / 0.571 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3718, allocations: 5.5 kB / 0.571 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3718, allocations: 2.203 kB / 0.571 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3718, allocations: 0 / 0.571 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.3719, allocations: 23.33 kB / 0.571 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.3721, allocations: 158.9 kB / 0.5711 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3723, allocations: 51.08 kB / 0.5712 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.3724, allocations: 15.66 kB / 0.5712 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.3726, allocations: 183.8 kB / 0.5714 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.3726, allocations: 31.72 kB / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3726, allocations: 0 / 0.5714 GB, free: 29.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.3729, allocations: 80.61 kB / 0.5715 GB, free: 29.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3729, allocations: 53.5 kB / 0.5715 GB, free: 29.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.298e-05/0.373, allocations: 95.8 kB / 0.5716 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.373, allocations: 32.42 kB / 0.5717 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.36e-05/0.373, allocations: 85.69 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.373, allocations: 5.156 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.3731, allocations: 18.7 kB / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.3731, allocations: 314.4 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.3732, allocations: 8.75 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.3732, allocations: 12.33 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.3733, allocations: 30.62 kB / 0.5721 GB, free: 29.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3733, allocations: 0 / 0.5721 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.3735, allocations: 65.11 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3735, allocations: 10.61 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3735, allocations: 1.094 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3735, allocations: 0 / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.3736, allocations: 8.422 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3736, allocations: 5.719 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.3736, allocations: 3.109 kB / 0.5722 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3736, allocations: 0.9688 kB / 0.5722 GB, free: 29.24 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 4.793e-05/0.3737, allocations: 114.2 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3737, allocations: 6.797 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.3739, allocations: 67.52 kB / 0.5724 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3739, allocations: 1.828 kB / 0.5724 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3739, allocations: 0.9688 kB / 0.5724 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3739, allocations: 1.312 kB / 0.5724 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.854e-05/0.374, allocations: 156.8 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.374, allocations: 0 / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.3741, allocations: 8.969 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3741, allocations: 5.469 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3741, allocations: 0 / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3741, allocations: 4.312 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3741, allocations: 1.25 kB / 0.5725 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3742, allocations: 87.56 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.3743, allocations: 91.8 kB / 0.5727 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3743, allocations: 6.312 kB / 0.5727 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.3743, allocations: 7.438 kB / 0.5727 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3744, allocations: 4.312 kB / 0.5727 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.3744, allocations: 1.094 kB / 0.5727 GB, free: 28.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.964e-05/0.3744, allocations: 79.64 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3744, allocations: 0.5 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.3747, allocations: 36.33 kB / 0.5728 GB, free: 28.6 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.0001891/0.3749, allocations: 137 kB / 0.573 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.375, allocations: 32.64 kB / 0.573 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.375, allocations: 0 / 0.573 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.207e-05/0.3751, allocations: 17.59 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3753, allocations: 9.562 kB / 0.573 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.3756, allocations: 146.9 kB / 0.5732 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.619e-05/0.3757, allocations: 0.6767 MB / 0.5738 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.3757, allocations: 10.31 kB / 0.5738 GB, free: 27.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3757, allocations: 3.938 kB / 0.5738 GB, free: 27.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002604/0.3783, allocations: 0.9933 MB / 0.5748 GB, free: 27.59 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)