Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00106/0.00106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001058/0.001058, allocations: 187.3 kB / 16.25 MB, free: 6.59 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 286.6 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 91.84 kB / 0.5947 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1631, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002189/0.1653, allocations: 1.339 MB / 0.6809 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1665, allocations: 0.8225 MB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.1665, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1665, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.1666, allocations: 4.812 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.167, allocations: 108.3 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.705e-05/0.1671, allocations: 24.55 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1671, allocations: 9.734 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.1672, allocations: 15.86 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.1672, allocations: 12 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.1672, allocations: 0 / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.1675, allocations: 171.7 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.1675, allocations: 11.92 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.111e-05/0.1676, allocations: 12 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1678, allocations: 120 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1678, allocations: 0 / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1678, allocations: 0 / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1678, allocations: 0 / 0.6822 GB, free: 14.42 MB / 494.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.0004677/0.1683, allocations: 371.3 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1683, allocations: 8.031 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1684, allocations: 8.844 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1685, allocations: 164.4 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.1686, allocations: 34.2 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.1686, allocations: 384 / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1687, allocations: 46.23 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1687, allocations: 3.938 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1687, allocations: 4 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1688, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.1688, allocations: 15.98 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.169, allocations: 165.7 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1692, allocations: 46.5 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.1693, allocations: 20.94 kB / 0.6831 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.1696, allocations: 178.2 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1696, allocations: 34.56 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1696, allocations: 0 / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002486/0.1698, allocations: 69.8 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1699, allocations: 51.41 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.17, allocations: 101.8 kB / 0.6835 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.17, allocations: 25.7 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.17, allocations: 84.08 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.1701, allocations: 19.75 kB / 0.6836 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.1701, allocations: 21.7 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.1702, allocations: 314.8 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.1702, allocations: 7.984 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.1703, allocations: 8 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.1704, allocations: 28.84 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1704, allocations: 0 / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.1705, allocations: 53.69 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1706, allocations: 15.94 kB / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1706, allocations: 0 / 0.684 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1706, allocations: 7.922 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.1706, allocations: 11.94 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1707, allocations: 0 / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.1707, allocations: 0 / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1707, allocations: 0 / 0.684 GB, free: 12.27 MB / 494.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 5.949e-05/0.1708, allocations: 111.2 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.1708, allocations: 7.844 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.171, allocations: 77.16 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.171, allocations: 0 / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.171, allocations: 0 / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.171, allocations: 3.938 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1711, allocations: 157.7 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1711, allocations: 0 / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.1712, allocations: 7.938 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1712, allocations: 7.938 kB / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1712, allocations: 0 / 0.6844 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1712, allocations: 4 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1712, allocations: 0 / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1713, allocations: 81.11 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1714, allocations: 85 kB / 0.6846 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1715, allocations: 7.938 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.1715, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1716, allocations: 4 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1716, allocations: 15.98 kB / 0.6846 GB, free: 11.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.036e-05/0.1716, allocations: 75.7 kB / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 0.6847 GB, free: 11.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1718, allocations: 31.94 kB / 0.6847 GB, free: 11.5 MB / 494.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.0002135/0.1721, allocations: 149.2 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1722, allocations: 28.11 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1722, allocations: 4 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.279e-05/0.1723, allocations: 23.92 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1725, allocations: 4 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.1727, allocations: 131.2 kB / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.173, allocations: 0.6729 MB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.173, allocations: 8 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.1731, allocations: 19.42 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1731, allocations: 0 / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of Templates: time 0.002865/0.1759, allocations: 1.036 MB / 0.6867 GB, free: 9.379 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)