Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009025/0.0009025, 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.0009343/0.0009343, allocations: 177.3 kB / 15.95 MB, free: 216 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.298/1.298, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.04/1.04, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 8 kB / 0.5158 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 83.41 MB / 0.5973 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001548/0.1592, allocations: 1.194 MB / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.1602, allocations: 0.6595 MB / 0.5991 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.1602, allocations: 7.938 kB / 0.5991 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.1602, allocations: 11.92 kB / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.1603, allocations: 11.97 kB / 0.5991 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1607, allocations: 95.72 kB / 0.5992 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.1607, allocations: 31.95 kB / 0.5992 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.1608, allocations: 11.98 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.1609, allocations: 19.92 kB / 0.5993 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.161, allocations: 23.91 kB / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.161, allocations: 4 kB / 0.5993 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.1613, allocations: 163.8 kB / 0.5994 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1613, allocations: 7.922 kB / 0.5995 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.1614, allocations: 33.7 kB / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1615, allocations: 100.1 kB / 0.5996 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1616, allocations: 3.938 kB / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1616, allocations: 0 / 0.5996 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1616, allocations: 0 / 0.5996 GB, free: 5.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005659/0.1621, allocations: 395.2 kB / 0.6 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1622, allocations: 8.031 kB / 0.6 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1622, allocations: 11.86 kB / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1624, allocations: 171 kB / 0.6001 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1624, allocations: 0 / 0.6001 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1624, allocations: 8 kB / 0.6001 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1627, allocations: 89.62 kB / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1627, allocations: 0 / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1627, allocations: 0 / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1627, allocations: 0 / 0.6002 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.163, allocations: 91.92 kB / 0.6003 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.1634, allocations: 288.7 kB / 0.6006 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1636, allocations: 62.48 kB / 0.6007 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.1638, allocations: 97.19 kB / 0.6007 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1639, allocations: 38.55 kB / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1639, allocations: 0 / 0.6008 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005658/0.1644, allocations: 169.4 kB / 0.6009 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1645, allocations: 55.41 kB / 0.601 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.1646, allocations: 117.8 kB / 0.6011 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1646, allocations: 25.7 kB / 0.6011 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1647, allocations: 88.14 kB / 0.6012 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.1647, allocations: 11.91 kB / 0.6012 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.1647, allocations: 0 / 0.6012 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1648, allocations: 326.8 kB / 0.6015 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.165, allocations: 39.97 kB / 0.6016 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1651, allocations: 47.95 kB / 0.6016 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1653, allocations: 39.97 kB / 0.6017 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1653, allocations: 0 / 0.6017 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003355/0.1656, allocations: 125.5 kB / 0.6018 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1657, allocations: 4 kB / 0.6018 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1657, allocations: 0 / 0.6018 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1657, allocations: 11.95 kB / 0.6018 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1659, allocations: 23.97 kB / 0.6018 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1659, allocations: 4 kB / 0.6018 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.166, allocations: 15.98 kB / 0.6018 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.166, allocations: 0 / 0.6018 GB, free: 2.914 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 (3): * Single equations (assignments): 3 * 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.562e-05/0.1661, allocations: 113.8 kB / 0.602 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1661, allocations: 8.234 kB / 0.602 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.1665, allocations: 137.4 kB / 0.6021 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1665, allocations: 0 / 0.6021 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1665, allocations: 3.953 kB / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1665, allocations: 0 / 0.6021 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1667, allocations: 169.6 kB / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1667, allocations: 0 / 0.6023 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.1668, allocations: 23.98 kB / 0.6023 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1668, allocations: 3.984 kB / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1668, allocations: 4 kB / 0.6023 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1668, allocations: 0 / 0.6023 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1668, allocations: 0 / 0.6023 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.1672, allocations: 215.4 kB / 0.6025 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1673, allocations: 81.02 kB / 0.6026 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1673, allocations: 4 kB / 0.6026 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1674, allocations: 23.97 kB / 0.6026 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1675, allocations: 0 / 0.6026 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1675, allocations: 7.875 kB / 0.6026 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.1676, allocations: 107.2 kB / 0.6027 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1676, allocations: 3.938 kB / 0.6027 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002885/0.1679, allocations: 31.94 kB / 0.6027 GB, free: 1.887 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 (3): * Single equations (assignments): 3 * 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.000208/0.1681, allocations: 131.2 kB / 0.6029 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.1684, allocations: 87.92 kB / 0.6029 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1685, allocations: 0 / 0.6029 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1686, allocations: 47.95 kB / 0.603 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1688, allocations: 12 kB / 0.603 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.1692, allocations: 166.4 kB / 0.6032 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1694, allocations: 0.6848 MB / 0.6038 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.1695, allocations: 8.25 kB / 0.6038 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1695, allocations: 11.44 kB / 0.6039 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1695, allocations: 0 / 0.6039 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of Templates: time 0.2629/0.4324, allocations: 1.2 MB / 0.605 GB, free: 40.52 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: