Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001198/0.001198, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001467/0.001468, allocations: 196.1 kB / 16.25 MB, free: 6.621 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.503/1.503, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.1 MB / 425.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.55 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1751, allocations: 80.93 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003384/0.1785, allocations: 1.55 MB / 0.5854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.18, allocations: 0.7953 MB / 0.5862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.1801, allocations: 0 / 0.5862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.1802, allocations: 0 / 0.5862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.1803, allocations: 7.938 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006507/0.1809, allocations: 127.5 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.181, allocations: 51.78 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1812, allocations: 23.97 kB / 0.5864 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.1812, allocations: 19.92 kB / 0.5864 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.1813, allocations: 19.92 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1813, allocations: 4 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.1817, allocations: 179.7 kB / 0.5866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.1818, allocations: 11.98 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.1818, allocations: 19.88 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1822, allocations: 151.8 kB / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1822, allocations: 0 / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1822, allocations: 4 kB / 0.5868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1822, allocations: 0 / 0.5868 GB, free: 1.918 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.0006433/0.1828, allocations: 399.2 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1829, allocations: 12.03 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1829, allocations: 4.938 kB / 0.5872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1831, allocations: 168.3 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1831, allocations: 8.312 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1831, allocations: 4.375 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1834, allocations: 78.19 kB / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1834, allocations: 4.125 kB / 0.5874 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1835, allocations: 3.938 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1835, allocations: 4 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1838, allocations: 71.92 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.1842, allocations: 288.7 kB / 0.5878 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1844, allocations: 66.42 kB / 0.5878 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1846, allocations: 40.91 kB / 0.5879 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.1848, allocations: 89.09 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1848, allocations: 30.56 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.1849, allocations: 4 kB / 0.588 GB, free: 496 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005718/0.1854, allocations: 129.5 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.1855, allocations: 51.41 kB / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1856, allocations: 117.8 kB / 0.5883 GB, free: 168 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1856, allocations: 25.7 kB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.1857, allocations: 96.14 kB / 0.5884 GB, free: 36 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1857, allocations: 7.891 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1857, allocations: 17.66 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1859, allocations: 318.8 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.186, allocations: 31.95 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1862, allocations: 35.97 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1864, allocations: 68.78 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1864, allocations: 0 / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000327/0.1868, allocations: 101.5 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1868, allocations: 4 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1868, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1868, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.187, allocations: 23.91 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.187, allocations: 0 / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.187, allocations: 11.98 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1871, allocations: 0 / 0.589 GB, free: 15.4 MB / 0.4981 GB 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.351e-05/0.1872, allocations: 121.8 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1872, allocations: 0 / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.1876, allocations: 109.8 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1876, allocations: 4 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1876, allocations: 0 / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1876, allocations: 3.984 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.1878, allocations: 173.5 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1878, allocations: 4 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1879, allocations: 23.91 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1879, allocations: 3.938 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.188, allocations: 3.938 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.188, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.188, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1883, allocations: 199.4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1884, allocations: 84.95 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1884, allocations: 3.984 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1885, allocations: 11.98 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1886, allocations: 0 / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1886, allocations: 12 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.1887, allocations: 92.25 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1887, allocations: 4 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000285/0.189, allocations: 32 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB 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.0002266/0.1892, allocations: 131.2 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1895, allocations: 71.86 kB / 0.59 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1896, allocations: 4 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1897, allocations: 39.95 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.19, allocations: 11.03 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1904, allocations: 167.1 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.1906, allocations: 0.6807 MB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.1907, allocations: 4 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.1907, allocations: 7.438 kB / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1907, allocations: 0 / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.003947/0.1947, allocations: 1.256 MB / 0.5921 GB, free: 12.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)