Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009817/0.0009818, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001024/0.001025, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.964/0.964, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 12 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 83.4 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001433/0.1729, allocations: 0.9822 MB / 0.5982 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1741, allocations: 0.7297 MB / 0.599 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1741, allocations: 4 kB / 0.599 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.1742, allocations: 3.938 kB / 0.599 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.1742, allocations: 7.969 kB / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.1747, allocations: 107.7 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.1748, allocations: 19.91 kB / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.1748, allocations: 4 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.1749, allocations: 12 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.175, allocations: 11.92 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.175, allocations: 0 / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.1753, allocations: 183.7 kB / 0.5993 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1754, allocations: 3.984 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1754, allocations: 29.7 kB / 0.5993 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1756, allocations: 88.12 kB / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1756, allocations: 0 / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1756, allocations: 0 / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1756, allocations: 0 / 0.5994 GB, free: 5.621 MB / 0.4981 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.000436/0.1761, allocations: 351.3 kB / 0.5997 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1761, allocations: 8.031 kB / 0.5997 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.1762, allocations: 11.86 kB / 0.5998 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1763, allocations: 167.1 kB / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.1764, allocations: 29.7 kB / 0.5999 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1764, allocations: 0 / 0.5999 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1765, allocations: 45.62 kB / 0.6 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1765, allocations: 0 / 0.6 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1766, allocations: 8 kB / 0.6 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1766, allocations: 0 / 0.6 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.1767, allocations: 19.94 kB / 0.6 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.1768, allocations: 157.7 kB / 0.6002 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1771, allocations: 46.59 kB / 0.6002 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.1774, allocations: 186.2 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1774, allocations: 38.5 kB / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1774, allocations: 0 / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002559/0.1777, allocations: 65.61 kB / 0.6005 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1777, allocations: 55.41 kB / 0.6005 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.1778, allocations: 93.86 kB / 0.6006 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1778, allocations: 29.7 kB / 0.6007 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1779, allocations: 84.14 kB / 0.6007 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1779, allocations: 7.812 kB / 0.6007 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.1779, allocations: 4 kB / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.178, allocations: 318.8 kB / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.1781, allocations: 8 kB / 0.6011 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-05/0.1781, allocations: 16.3 kB / 0.6011 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.1782, allocations: 8 kB / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1782, allocations: 0 / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.1783, allocations: 65.75 kB / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1784, allocations: 8 kB / 0.6012 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1784, allocations: 0 / 0.6012 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1784, allocations: 0 / 0.6012 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.1784, allocations: 4 kB / 0.6012 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1785, allocations: 4 kB / 0.6012 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.1785, allocations: 3.938 kB / 0.6012 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1785, allocations: 7.969 kB / 0.6012 GB, free: 3.551 MB / 0.4981 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.246e-05/0.1786, allocations: 124 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1786, allocations: 3.906 kB / 0.6013 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.1788, allocations: 69.11 kB / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1788, allocations: 0 / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1788, allocations: 0 / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1788, allocations: 0 / 0.6014 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.1789, allocations: 161.6 kB / 0.6015 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.179, allocations: 0 / 0.6015 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.179, allocations: 11.98 kB / 0.6015 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.179, allocations: 4 kB / 0.6015 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.179, allocations: 0 / 0.6015 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.179, allocations: 4 kB / 0.6015 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.179, allocations: 0 / 0.6015 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1792, allocations: 84.95 kB / 0.6016 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.1793, allocations: 93 kB / 0.6017 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1793, allocations: 0 / 0.6017 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.1794, allocations: 12 kB / 0.6017 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1794, allocations: 3.984 kB / 0.6017 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1794, allocations: 0 / 0.6017 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.1795, allocations: 79.28 kB / 0.6018 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1795, allocations: 0 / 0.6018 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002459/0.1797, allocations: 39.92 kB / 0.6018 GB, free: 2.773 MB / 0.4981 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 () * 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 (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.000247/0.18, allocations: 131.2 kB / 0.602 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1801, allocations: 39.91 kB / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1801, allocations: 0 / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.562e-05/0.1802, allocations: 12 kB / 0.602 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.1804, allocations: 11.94 kB / 0.602 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1807, allocations: 135.8 kB / 0.6022 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.181, allocations: 0.6809 MB / 0.6028 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.181, allocations: 4 kB / 0.6028 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.1811, allocations: 11.44 kB / 0.6028 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of SimCode: time 2.745e-06/0.1811, allocations: 0 / 0.6028 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.003339/0.1844, allocations: 1.039 MB / 0.6038 GB, free: 0.6562 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: