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.001024/0.001024, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001086/0.001086, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 278.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 91.8 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1738, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002703/0.1765, allocations: 1.546 MB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1778, allocations: 0.8301 MB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.1779, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.1779, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.178, allocations: 11.86 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.1784, allocations: 111.6 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.1785, allocations: 47.86 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.1786, allocations: 20.2 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.1786, allocations: 19.92 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.1787, allocations: 27.84 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1787, allocations: 4 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.179, allocations: 167.7 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.1791, allocations: 7.984 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.1791, allocations: 23.86 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1794, allocations: 147.6 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1794, allocations: 0 / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1794, allocations: 4 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1794, allocations: 0 / 0.6823 GB, free: 14.24 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.0005632/0.18, allocations: 399.3 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.18, allocations: 8.031 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1801, allocations: 8.844 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1802, allocations: 172.3 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1802, allocations: 4.312 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1802, allocations: 12.38 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.1805, allocations: 78.14 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1805, allocations: 192 / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1805, allocations: 3.938 kB / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1805, allocations: 0 / 0.683 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.1808, allocations: 63.92 kB / 0.683 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.1812, allocations: 292.7 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1814, allocations: 58.48 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1816, allocations: 40.91 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.1818, allocations: 89.09 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1818, allocations: 34.56 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1818, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005462/0.1824, allocations: 133.5 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1824, allocations: 51.41 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1825, allocations: 121.8 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1826, allocations: 25.7 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.1826, allocations: 88.14 kB / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1826, allocations: 15.8 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.1827, allocations: 13.72 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.1828, allocations: 322.8 kB / 0.6843 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1829, allocations: 31.95 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1831, allocations: 31.97 kB / 0.6843 GB, free: 11.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.1833, allocations: 68.78 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1834, allocations: 4 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.1837, allocations: 97.84 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1837, allocations: 4 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1837, allocations: 48 / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1837, allocations: 3.984 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1839, allocations: 19.97 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1839, allocations: 4 kB / 0.6845 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.184, allocations: 15.98 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.184, allocations: 0 / 0.6845 GB, free: 11.73 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 8.545e-05/0.1841, allocations: 123 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1841, allocations: 3.906 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.1845, allocations: 109.5 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1845, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1845, allocations: 3.938 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1845, allocations: 7.984 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1847, allocations: 169.7 kB / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1847, allocations: 0 / 0.6849 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1848, allocations: 15.97 kB / 0.6849 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1848, allocations: 7.938 kB / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1848, allocations: 0 / 0.685 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1848, allocations: 4 kB / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1848, allocations: 0 / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.1852, allocations: 195.3 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1853, allocations: 81.11 kB / 0.6852 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.1853, allocations: 7.922 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1854, allocations: 15.98 kB / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.1855, allocations: 0 / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1855, allocations: 0 / 0.6852 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.029e-05/0.1855, allocations: 95.7 kB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1856, allocations: 3.938 kB / 0.6853 GB, free: 10.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1858, allocations: 31.98 kB / 0.6854 GB, free: 10.77 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.0002199/0.1861, allocations: 135.2 kB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1864, allocations: 71.92 kB / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1864, allocations: 0 / 0.6856 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1866, allocations: 35.95 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.187, allocations: 16.27 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.1874, allocations: 168.8 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1877, allocations: 0.6809 MB / 0.6864 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.1877, allocations: 8 kB / 0.6864 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1877, allocations: 11.42 kB / 0.6865 GB, free: 9.59 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1877, allocations: 0 / 0.6865 GB, free: 9.59 MB / 494.1 MB Notification: Performance of Templates: time 0.003727/0.1915, allocations: 1.226 MB / 0.6877 GB, free: 8.375 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)