Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0009949/0.000995, allocations: 92.8 kB / 16.02 MB, free: 84 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.001349/0.001349, allocations: 175.4 kB / 16.92 MB, free: 6.684 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 123 MB / 415.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005536, allocations: 11.98 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5491/0.5497, allocations: 79.28 MB / 0.5707 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002017/0.5518, allocations: 1.199 MB / 0.5719 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5532, allocations: 0.8214 MB / 0.5727 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.5532, allocations: 1.969 kB / 0.5727 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.5532, allocations: 1.984 kB / 0.5727 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.5533, allocations: 10.03 kB / 0.5727 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.5537, allocations: 108.3 kB / 0.5728 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.385e-05/0.5538, allocations: 51.58 kB / 0.5729 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.5539, allocations: 11.14 kB / 0.5729 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.554, allocations: 18.81 kB / 0.5729 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.5541, allocations: 28.05 kB / 0.5729 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.5541, allocations: 2.156 kB / 0.5729 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.5545, allocations: 169.7 kB / 0.5731 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.5545, allocations: 8.391 kB / 0.5731 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.5545, allocations: 44.28 kB / 0.5731 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.5549, allocations: 156.7 kB / 0.5733 GB, free: 9.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5549, allocations: 0.8125 kB / 0.5733 GB, free: 9.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5549, allocations: 0 / 0.5733 GB, free: 9.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.5549, allocations: 0.7812 kB / 0.5733 GB, free: 9.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005429/0.5554, allocations: 401.2 kB / 0.5737 GB, free: 9.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5555, allocations: 10.42 kB / 0.5737 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.5555, allocations: 7.062 kB / 0.5737 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/0.5556, allocations: 172.7 kB / 0.5739 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5556, allocations: 2.828 kB / 0.5739 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.5557, allocations: 10.75 kB / 0.5739 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.556, allocations: 89.19 kB / 0.574 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.556, allocations: 192 / 0.574 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.556, allocations: 5.797 kB / 0.574 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.556, allocations: 0 / 0.574 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.5564, allocations: 88.92 kB / 0.574 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.5568, allocations: 286.9 kB / 0.5743 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.557, allocations: 73.39 kB / 0.5744 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.5572, allocations: 50.59 kB / 0.5744 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.5574, allocations: 90.28 kB / 0.5745 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.5574, allocations: 33.3 kB / 0.5746 GB, free: 8.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.5574, allocations: 0 / 0.5746 GB, free: 8.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006163/0.5581, allocations: 165.3 kB / 0.5747 GB, free: 8.301 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.5581, allocations: 52.38 kB / 0.5748 GB, free: 8.238 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.5582, allocations: 121.6 kB / 0.5749 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.5582, allocations: 25.7 kB / 0.5749 GB, free: 8.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.5582, allocations: 88.78 kB / 0.575 GB, free: 8.012 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.5583, allocations: 18.05 kB / 0.575 GB, free: 7.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.5583, allocations: 10.38 kB / 0.575 GB, free: 7.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.5584, allocations: 319.1 kB / 0.5753 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5585, allocations: 44.92 kB / 0.5754 GB, free: 7.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.5587, allocations: 44.3 kB / 0.5754 GB, free: 7.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.559, allocations: 90.94 kB / 0.5755 GB, free: 7.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.559, allocations: 0 / 0.5755 GB, free: 7.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003587/0.5594, allocations: 123.2 kB / 0.5756 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.5594, allocations: 8.234 kB / 0.5756 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5594, allocations: 0 / 0.5756 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5594, allocations: 1.031 kB / 0.5756 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.5596, allocations: 24.25 kB / 0.5756 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5596, allocations: 4.516 kB / 0.5756 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.845e-05/0.5597, allocations: 16.66 kB / 0.5757 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5597, allocations: 1.156 kB / 0.5757 GB, free: 7.574 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 (3): * Single equations (assignments): 3 * 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.589e-05/0.5598, allocations: 113.5 kB / 0.5758 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.5598, allocations: 6.531 kB / 0.5758 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.5602, allocations: 133 kB / 0.5759 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5602, allocations: 1.031 kB / 0.5759 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5602, allocations: 4 kB / 0.5759 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5602, allocations: 1.656 kB / 0.5759 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5604, allocations: 176.5 kB / 0.5761 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5604, allocations: 4.609 kB / 0.5761 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5605, allocations: 20.88 kB / 0.5761 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5605, allocations: 0 / 0.5761 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5605, allocations: 5 kB / 0.5761 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5605, allocations: 5.797 kB / 0.5761 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5605, allocations: 4 kB / 0.5761 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.5609, allocations: 219.6 kB / 0.5763 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.561, allocations: 77.92 kB / 0.5764 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.561, allocations: 5.719 kB / 0.5764 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5611, allocations: 19.83 kB / 0.5764 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5612, allocations: 8.781 kB / 0.5764 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.5612, allocations: 9 kB / 0.5764 GB, free: 6.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.5612, allocations: 93.03 kB / 0.5765 GB, free: 6.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5612, allocations: 0 / 0.5765 GB, free: 6.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.5615, allocations: 31.7 kB / 0.5766 GB, free: 6.824 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 (3): * Single equations (assignments): 3 * 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.0002245/0.5618, allocations: 125.9 kB / 0.5767 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.5622, allocations: 91.55 kB / 0.5768 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5622, allocations: 0 / 0.5768 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.5624, allocations: 48.89 kB / 0.5768 GB, free: 6.711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.5627, allocations: 13.94 kB / 0.5768 GB, free: 6.703 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.563, allocations: 174.9 kB / 0.577 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.5632, allocations: 0.6855 MB / 0.5777 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.202e-05/0.5632, allocations: 3.25 kB / 0.5777 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.5632, allocations: 9.844 kB / 0.5777 GB, free: 5.863 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5632, allocations: 0 / 0.5777 GB, free: 5.863 MB / 430.1 MB Notification: Performance of Templates: time 0.005284/0.5685, allocations: 1.212 MB / 0.5789 GB, free: 5.742 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)