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.001123/0.001122, allocations: 104.2 kB / 15.98 MB, free: 5.871 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.001073/0.001073, allocations: 191 kB / 16.91 MB, free: 5.738 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 122.9 MB / 413.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 60.5 kB / 0.4906 GB, free: 14.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1614, allocations: 77.93 MB / 0.5667 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002811/0.1643, allocations: 1.325 MB / 0.568 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1657, allocations: 0.8186 MB / 0.5688 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1657, allocations: 0 / 0.5688 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.1658, allocations: 7.938 kB / 0.5688 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.1659, allocations: 7.984 kB / 0.5688 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.1665, allocations: 115.5 kB / 0.5689 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.1666, allocations: 23.92 kB / 0.5689 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.1667, allocations: 0 / 0.5689 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.1667, allocations: 12 kB / 0.5689 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.1668, allocations: 11.92 kB / 0.569 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1668, allocations: 3.938 kB / 0.569 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.1672, allocations: 179.7 kB / 0.5691 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.1672, allocations: 7.984 kB / 0.5691 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.1673, allocations: 7.938 kB / 0.5692 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.1675, allocations: 128 kB / 0.5693 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1676, allocations: 0 / 0.5693 GB, free: 13.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1676, allocations: 0 / 0.5693 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1676, allocations: 0 / 0.5693 GB, free: 13.95 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.0004623/0.168, allocations: 363.3 kB / 0.5696 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1681, allocations: 8.031 kB / 0.5696 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1681, allocations: 8.938 kB / 0.5696 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1682, allocations: 160.4 kB / 0.5698 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.1683, allocations: 30.27 kB / 0.5698 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1683, allocations: 4.375 kB / 0.5698 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1685, allocations: 50.23 kB / 0.5699 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1685, allocations: 3.938 kB / 0.5699 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1685, allocations: 0 / 0.5699 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1685, allocations: 3.938 kB / 0.5699 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/0.1686, allocations: 19.98 kB / 0.5699 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.1688, allocations: 161.7 kB / 0.5701 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.169, allocations: 42.56 kB / 0.5701 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1691, allocations: 16.8 kB / 0.5701 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/0.1694, allocations: 178.3 kB / 0.5703 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1694, allocations: 38.56 kB / 0.5703 GB, free: 12.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1694, allocations: 0 / 0.5703 GB, free: 12.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002425/0.1697, allocations: 77.45 kB / 0.5704 GB, free: 12.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1697, allocations: 55.41 kB / 0.5704 GB, free: 12.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.1698, allocations: 98.02 kB / 0.5705 GB, free: 12.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1698, allocations: 29.7 kB / 0.5706 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.1698, allocations: 84.14 kB / 0.5706 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1699, allocations: 11.89 kB / 0.5707 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1699, allocations: 17.62 kB / 0.5707 GB, free: 12.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1701, allocations: 318.8 kB / 0.571 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.1701, allocations: 8 kB / 0.571 GB, free: 11.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.1702, allocations: 11.98 kB / 0.571 GB, free: 11.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.53e-05/0.1703, allocations: 28.78 kB / 0.571 GB, free: 11.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1703, allocations: 4 kB / 0.571 GB, free: 11.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.1704, allocations: 57.69 kB / 0.5711 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1704, allocations: 7.938 kB / 0.5711 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1704, allocations: 0 / 0.5711 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1705, allocations: 0 / 0.5711 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.1705, allocations: 11.98 kB / 0.5711 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1705, allocations: 7.922 kB / 0.5711 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.1706, allocations: 7.938 kB / 0.5711 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.1706, allocations: 0 / 0.5711 GB, free: 11.79 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 8.79e-05/0.1707, allocations: 109.8 kB / 0.5712 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.1707, allocations: 7.938 kB / 0.5712 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.1709, allocations: 69.11 kB / 0.5713 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.1709, allocations: 4 kB / 0.5713 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1709, allocations: 0 / 0.5713 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1709, allocations: 3.984 kB / 0.5713 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1711, allocations: 153.7 kB / 0.5714 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1711, allocations: 0 / 0.5714 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.1711, allocations: 8 kB / 0.5715 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1711, allocations: 7.938 kB / 0.5715 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1712, allocations: 0 / 0.5715 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1712, allocations: 0 / 0.5715 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1712, allocations: 3.938 kB / 0.5715 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.1713, allocations: 88.95 kB / 0.5716 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.1714, allocations: 81.11 kB / 0.5716 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1714, allocations: 7.922 kB / 0.5716 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.1715, allocations: 8 kB / 0.5716 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1715, allocations: 4 kB / 0.5716 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1715, allocations: 4 kB / 0.5717 GB, free: 11.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.1716, allocations: 83.69 kB / 0.5717 GB, free: 11.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1716, allocations: 0 / 0.5717 GB, free: 11.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1718, allocations: 35.94 kB / 0.5718 GB, free: 11.02 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.0002186/0.1721, allocations: 135.2 kB / 0.5719 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1722, allocations: 32.06 kB / 0.5719 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1722, allocations: 0 / 0.5719 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.1723, allocations: 20.08 kB / 0.5719 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1725, allocations: 4 kB / 0.5719 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.1728, allocations: 130.6 kB / 0.5721 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1731, allocations: 0.6807 MB / 0.5727 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.1731, allocations: 4 kB / 0.5727 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.1731, allocations: 11.44 kB / 0.5728 GB, free: 9.949 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1731, allocations: 0 / 0.5728 GB, free: 9.949 MB / 446.1 MB Notification: Performance of Templates: time 0.003425/0.1766, allocations: 1.034 MB / 0.5738 GB, free: 8.918 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)