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.001807/0.001807, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001981/0.001981, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.469/1.469, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8767/0.8767, allocations: 126.7 MB / 417.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 0.4958 GB, free: 2.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 78.86 MB / 0.5728 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002371/0.364, allocations: 1.256 MB / 0.574 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3652, allocations: 0.8296 MB / 0.5748 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.3653, allocations: 0.6562 kB / 0.5748 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.3653, allocations: 0.75 kB / 0.5748 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.3654, allocations: 6.328 kB / 0.5748 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.366, allocations: 132 kB / 0.5749 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.011e-05/0.366, allocations: 27.62 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.057e-05/0.3661, allocations: 4.344 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.3662, allocations: 8.125 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.3662, allocations: 14.78 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3663, allocations: 2.938 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.3667, allocations: 168.6 kB / 0.5752 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.3667, allocations: 2.875 kB / 0.5752 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.3668, allocations: 13.61 kB / 0.5752 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3671, allocations: 117.1 kB / 0.5753 GB, free: 29.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3671, allocations: 0.625 kB / 0.5753 GB, free: 29.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3671, allocations: 1.609 kB / 0.5753 GB, free: 29.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.3671, allocations: 0 / 0.5753 GB, free: 29.12 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.0004111/0.3675, allocations: 362.9 kB / 0.5756 GB, free: 28.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3676, allocations: 9.625 kB / 0.5756 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.3676, allocations: 3.688 kB / 0.5756 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.3677, allocations: 164.1 kB / 0.5758 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.3678, allocations: 29.95 kB / 0.5758 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.3678, allocations: 2.469 kB / 0.5758 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3679, allocations: 49.22 kB / 0.5759 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3679, allocations: 3.938 kB / 0.5759 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3679, allocations: 1.375 kB / 0.5759 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.368, allocations: 5.344 kB / 0.5759 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.3681, allocations: 19.27 kB / 0.5759 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.3682, allocations: 159.3 kB / 0.5761 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3684, allocations: 50.78 kB / 0.5761 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.3685, allocations: 20.23 kB / 0.5761 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.3688, allocations: 176.8 kB / 0.5763 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.3688, allocations: 37.62 kB / 0.5763 GB, free: 27.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3688, allocations: 1.25 kB / 0.5763 GB, free: 27.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.3691, allocations: 72.8 kB / 0.5764 GB, free: 27.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3691, allocations: 52.06 kB / 0.5764 GB, free: 27.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.708e-05/0.3692, allocations: 100.2 kB / 0.5765 GB, free: 27.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.3692, allocations: 26.92 kB / 0.5766 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.3692, allocations: 87.59 kB / 0.5767 GB, free: 27.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3692, allocations: 10.44 kB / 0.5767 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3693, allocations: 17.98 kB / 0.5767 GB, free: 27.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.3693, allocations: 313.3 kB / 0.577 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.3694, allocations: 15.56 kB / 0.577 GB, free: 27.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.3694, allocations: 13.14 kB / 0.577 GB, free: 27.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.539e-05/0.3695, allocations: 30.62 kB / 0.577 GB, free: 27.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3695, allocations: 0.6562 kB / 0.577 GB, free: 27.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.3697, allocations: 57.53 kB / 0.5771 GB, free: 27.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3697, allocations: 11.38 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3697, allocations: 1.969 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3697, allocations: 0.7969 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.3698, allocations: 9.406 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3698, allocations: 1.375 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.3698, allocations: 2.109 kB / 0.5771 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3698, allocations: 1.312 kB / 0.5771 GB, free: 27.25 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 5.531e-05/0.3699, allocations: 116.8 kB / 0.5772 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.3699, allocations: 6.375 kB / 0.5772 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.3701, allocations: 69.98 kB / 0.5773 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3701, allocations: 0 / 0.5773 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3701, allocations: 1.906 kB / 0.5773 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3701, allocations: 1.312 kB / 0.5773 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.639e-05/0.3702, allocations: 159 kB / 0.5775 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3702, allocations: 0.7969 kB / 0.5775 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.3703, allocations: 12.75 kB / 0.5775 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3703, allocations: 3.938 kB / 0.5775 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3703, allocations: 6.531 kB / 0.5775 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3703, allocations: 0.6094 kB / 0.5775 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3703, allocations: 6.594 kB / 0.5775 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.3704, allocations: 88.94 kB / 0.5776 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.3705, allocations: 85 kB / 0.5777 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3705, allocations: 5.531 kB / 0.5777 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.3706, allocations: 2.75 kB / 0.5777 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3706, allocations: 4.859 kB / 0.5777 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.3706, allocations: 2.656 kB / 0.5777 GB, free: 26.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.3707, allocations: 82.05 kB / 0.5777 GB, free: 26.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3707, allocations: 1.344 kB / 0.5777 GB, free: 26.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3709, allocations: 31.8 kB / 0.5778 GB, free: 26.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.0002181/0.3711, allocations: 135 kB / 0.5779 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3713, allocations: 34.25 kB / 0.5779 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3713, allocations: 0.9375 kB / 0.5779 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.27e-05/0.3714, allocations: 14.08 kB / 0.578 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3716, allocations: 9.734 kB / 0.578 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.3718, allocations: 120.5 kB / 0.5781 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.372, allocations: 0.6818 MB / 0.5787 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.372, allocations: 6.641 kB / 0.5788 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.372, allocations: 10.84 kB / 0.5788 GB, free: 25.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.372, allocations: 0 / 0.5788 GB, free: 25.67 MB / 446.1 MB Notification: Performance of Templates: time 0.003753/0.3758, allocations: 1.061 MB / 0.5798 GB, free: 25.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)