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.001095/0.001096, allocations: 97.64 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 182.6 kB / 16.92 MB, free: 6.898 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7124/0.7124, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003433, allocations: 8.969 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 77.53 MB / 0.5599 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001713/0.1675, allocations: 0.9886 MB / 0.5609 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.169, allocations: 0.8305 MB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.169, allocations: 3.938 kB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.169, allocations: 3.938 kB / 0.5617 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.1691, allocations: 4 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1695, allocations: 119.5 kB / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.1696, allocations: 23.92 kB / 0.5619 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1696, allocations: 0 / 0.5619 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.1697, allocations: 8 kB / 0.5619 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.1697, allocations: 19.92 kB / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1698, allocations: 0 / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.1701, allocations: 171.7 kB / 0.5621 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1701, allocations: 0 / 0.5621 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.1702, allocations: 45.62 kB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1704, allocations: 116 kB / 0.5622 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1704, allocations: 4 kB / 0.5622 GB, free: 6.707 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1704, allocations: 0 / 0.5622 GB, free: 6.707 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1704, allocations: 0 / 0.5622 GB, free: 6.707 MB / 430.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.0004681/0.1709, allocations: 355.5 kB / 0.5626 GB, free: 6.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1709, allocations: 8.031 kB / 0.5626 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.171, allocations: 8.844 kB / 0.5626 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1711, allocations: 164.4 kB / 0.5627 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.1712, allocations: 34.27 kB / 0.5628 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1712, allocations: 384 / 0.5628 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1714, allocations: 46.23 kB / 0.5628 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1714, allocations: 7.875 kB / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1714, allocations: 0 / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1714, allocations: 8 kB / 0.5628 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.1715, allocations: 11.98 kB / 0.5628 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.1717, allocations: 157.7 kB / 0.563 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.172, allocations: 42.61 kB / 0.563 GB, free: 5.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.45e-05/0.1721, allocations: 20.94 kB / 0.563 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.1724, allocations: 186.1 kB / 0.5632 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1725, allocations: 34.56 kB / 0.5633 GB, free: 5.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1725, allocations: 0 / 0.5633 GB, free: 5.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002602/0.1727, allocations: 77.48 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1728, allocations: 51.41 kB / 0.5634 GB, free: 5.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.1728, allocations: 97.84 kB / 0.5635 GB, free: 5.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1729, allocations: 29.7 kB / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.1729, allocations: 80.14 kB / 0.5636 GB, free: 5.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1729, allocations: 19.8 kB / 0.5636 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.173, allocations: 9.719 kB / 0.5636 GB, free: 5.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.1731, allocations: 310.8 kB / 0.5639 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.1731, allocations: 15.98 kB / 0.5639 GB, free: 4.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.1732, allocations: 4 kB / 0.5639 GB, free: 4.703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1733, allocations: 40.78 kB / 0.564 GB, free: 4.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1733, allocations: 0 / 0.564 GB, free: 4.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.1734, allocations: 53.67 kB / 0.564 GB, free: 4.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1734, allocations: 9.812 kB / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1734, allocations: 0 / 0.564 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1735, allocations: 4 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.1735, allocations: 8 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1735, allocations: 0 / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.196e-05/0.1736, allocations: 7.938 kB / 0.564 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1736, allocations: 3.984 kB / 0.564 GB, free: 4.57 MB / 430.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.883e-05/0.1736, allocations: 109.8 kB / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1737, allocations: 12.36 kB / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.1739, allocations: 65.11 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1739, allocations: 8.031 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1739, allocations: 0 / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.1739, allocations: 0 / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.174, allocations: 157.7 kB / 0.5644 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.174, allocations: 0 / 0.5644 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.1741, allocations: 15.98 kB / 0.5644 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1741, allocations: 3.938 kB / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1741, allocations: 0 / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1741, allocations: 0 / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1741, allocations: 0 / 0.5644 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.1743, allocations: 89 kB / 0.5645 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.1743, allocations: 89 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1744, allocations: 3.938 kB / 0.5646 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.1744, allocations: 8 kB / 0.5646 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1745, allocations: 3.984 kB / 0.5646 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1745, allocations: 4 kB / 0.5646 GB, free: 3.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.1745, allocations: 79.28 kB / 0.5647 GB, free: 3.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1745, allocations: 0 / 0.5647 GB, free: 3.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1748, allocations: 39.92 kB / 0.5647 GB, free: 3.793 MB / 430.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.0002622/0.175, allocations: 131.2 kB / 0.5648 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1752, allocations: 35.91 kB / 0.5649 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1752, allocations: 0 / 0.5649 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.1753, allocations: 12 kB / 0.5649 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1755, allocations: 11.98 kB / 0.5649 GB, free: 3.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.1758, allocations: 130.8 kB / 0.565 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1761, allocations: 0.677 MB / 0.5657 GB, free: 2.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.1762, allocations: 11.97 kB / 0.5657 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.1762, allocations: 11.44 kB / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1762, allocations: 0 / 0.5657 GB, free: 2.715 MB / 430.1 MB Notification: Performance of Templates: time 0.003482/0.1797, allocations: 1.011 MB / 0.5667 GB, free: 1.707 MB / 430.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)