Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001042/0.001042, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001121/0.001121, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002306/0.002306, allocations: 286.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8974/0.8974, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 95.05 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1558, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002926/0.1588, allocations: 1.486 MB / 0.6831 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.1601, allocations: 0.8075 MB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.1601, allocations: 0 / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.1602, allocations: 7.922 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.1603, allocations: 11.94 kB / 0.6839 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1607, allocations: 127.4 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.1608, allocations: 51.84 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.1609, allocations: 15.92 kB / 0.684 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.161, allocations: 23.92 kB / 0.6841 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.1611, allocations: 31.86 kB / 0.6841 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1611, allocations: 4 kB / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.1614, allocations: 171.7 kB / 0.6843 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.1614, allocations: 11.98 kB / 0.6843 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.1615, allocations: 23.86 kB / 0.6843 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1618, allocations: 143.6 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1618, allocations: 0 / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1618, allocations: 0 / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1618, allocations: 4 kB / 0.6844 GB, free: 4.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005652/0.1624, allocations: 395.3 kB / 0.6848 GB, free: 4.105 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1624, allocations: 8.031 kB / 0.6848 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1625, allocations: 8.844 kB / 0.6848 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1626, allocations: 172.2 kB / 0.685 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1626, allocations: 4.375 kB / 0.685 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.1626, allocations: 4.375 kB / 0.685 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1629, allocations: 78.14 kB / 0.6851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1629, allocations: 192 / 0.6851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1629, allocations: 7.938 kB / 0.6851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1629, allocations: 0 / 0.6851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.1632, allocations: 67.92 kB / 0.6852 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.1636, allocations: 288.7 kB / 0.6854 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1638, allocations: 58.64 kB / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.164, allocations: 36.81 kB / 0.6855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.1641, allocations: 89.09 kB / 0.6856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1642, allocations: 38.5 kB / 0.6856 GB, free: 3.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1642, allocations: 4 kB / 0.6856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00051/0.1647, allocations: 137.5 kB / 0.6858 GB, free: 2.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1647, allocations: 51.41 kB / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.1648, allocations: 121.8 kB / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1649, allocations: 25.7 kB / 0.686 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.1649, allocations: 92.14 kB / 0.6861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1649, allocations: 15.8 kB / 0.6861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.165, allocations: 13.72 kB / 0.6861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1651, allocations: 318.8 kB / 0.6864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1652, allocations: 31.95 kB / 0.6864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1653, allocations: 35.97 kB / 0.6865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1656, allocations: 76.72 kB / 0.6865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1656, allocations: 0 / 0.6865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002715/0.1659, allocations: 97.62 kB / 0.6866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1659, allocations: 4 kB / 0.6866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1659, allocations: 0 / 0.6866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1659, allocations: 0 / 0.6866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.166, allocations: 19.97 kB / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.166, allocations: 0 / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.1661, allocations: 11.98 kB / 0.6867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1661, allocations: 0 / 0.6867 GB, free: 2.031 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 (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 9.705e-05/0.1662, allocations: 125.7 kB / 0.6868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1663, allocations: 3.906 kB / 0.6868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.1666, allocations: 109.5 kB / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1666, allocations: 0 / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.1666, allocations: 7.984 kB / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1666, allocations: 0 / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1668, allocations: 173.6 kB / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1668, allocations: 4 kB / 0.6871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.1669, allocations: 19.97 kB / 0.6871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1669, allocations: 0 / 0.6871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.167, allocations: 0 / 0.6871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.167, allocations: 7.875 kB / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.167, allocations: 0 / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.1673, allocations: 203.3 kB / 0.6873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.1674, allocations: 85.09 kB / 0.6874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1674, allocations: 0 / 0.6874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1675, allocations: 11.98 kB / 0.6874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1675, allocations: 0 / 0.6874 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1676, allocations: 4 kB / 0.6874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.1676, allocations: 95.27 kB / 0.6875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1676, allocations: 4 kB / 0.6875 GB, free: 1.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1679, allocations: 31.98 kB / 0.6875 GB, free: 1.059 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 (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.0002242/0.1681, allocations: 127.2 kB / 0.6876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1685, allocations: 67.92 kB / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1685, allocations: 4 kB / 0.6877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1686, allocations: 44.27 kB / 0.6877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1689, allocations: 7.938 kB / 0.6877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.1693, allocations: 151.3 kB / 0.6879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2329/0.4022, allocations: 0.6777 MB / 0.6885 GB, free: 17.63 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.4023, allocations: 3.578 kB / 0.6885 GB, free: 17.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.4024, allocations: 11.77 kB / 0.6886 GB, free: 17.62 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4024, allocations: 0 / 0.6886 GB, free: 17.62 MB / 494.1 MB Notification: Performance of Templates: time 0.004351/0.4068, allocations: 1.373 MB / 0.6899 GB, free: 17.6 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)