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.001091/0.001091, 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.001106/0.001106, allocations: 190.7 kB / 16.14 MB, free: 6.719 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9409/0.9409, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.98 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1768, allocations: 80.92 MB / 0.5837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002973/0.1798, allocations: 1.538 MB / 0.5852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1812, allocations: 0.8226 MB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.1812, allocations: 4 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.1813, allocations: 3.938 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.1813, allocations: 7.922 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1817, allocations: 115.6 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.1818, allocations: 51.73 kB / 0.5862 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1819, allocations: 15.97 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.182, allocations: 15.94 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.1821, allocations: 23.91 kB / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1821, allocations: 4 kB / 0.5862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1824, allocations: 175.7 kB / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.1825, allocations: 15.92 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.1825, allocations: 19.88 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1828, allocations: 147.9 kB / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1828, allocations: 0 / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1828, allocations: 0 / 0.5866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1828, allocations: 0 / 0.5866 GB, free: 2.07 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.0006101/0.1834, allocations: 403.2 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1835, allocations: 11.97 kB / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1835, allocations: 8.938 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1836, allocations: 176.2 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1836, allocations: 4.375 kB / 0.5872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1837, allocations: 4.375 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1839, allocations: 78.19 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1839, allocations: 192 / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.184, allocations: 7.938 kB / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.184, allocations: 0 / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1843, allocations: 67.92 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1847, allocations: 292.6 kB / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1849, allocations: 54.55 kB / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1851, allocations: 40.91 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.1853, allocations: 89.09 kB / 0.5878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1853, allocations: 34.56 kB / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1853, allocations: 0 / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005549/0.1859, allocations: 133.4 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1859, allocations: 55.39 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.186, allocations: 119 kB / 0.5881 GB, free: 320 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1861, allocations: 25.7 kB / 0.5881 GB, free: 288 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.1861, allocations: 84.14 kB / 0.5882 GB, free: 200 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1861, allocations: 15.91 kB / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.1862, allocations: 13.7 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1863, allocations: 322.8 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1865, allocations: 31.95 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1866, allocations: 31.97 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1869, allocations: 68.78 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1869, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003258/0.1873, allocations: 105.5 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1873, allocations: 4 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1873, allocations: 4 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1873, allocations: 0 / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1875, allocations: 19.97 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1875, allocations: 3.938 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.1876, allocations: 11.98 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1876, allocations: 0 / 0.5888 GB, free: 15.55 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 9.644e-05/0.1877, allocations: 117.8 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1877, allocations: 0 / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.1881, allocations: 113.8 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1881, allocations: 4.031 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1881, allocations: 3.938 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1881, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.1883, allocations: 181.5 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1883, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.1884, allocations: 15.98 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1884, allocations: 4 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1884, allocations: 3.984 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1884, allocations: 0 / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1884, allocations: 3.984 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1888, allocations: 195.4 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1889, allocations: 92.95 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1889, allocations: 4 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.189, allocations: 15.97 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.189, allocations: 0 / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.189, allocations: 0 / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.1891, allocations: 98.88 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1891, allocations: 0 / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002587/0.1894, allocations: 28 kB / 0.5896 GB, free: 14.58 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.0001984/0.1896, allocations: 135.2 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1899, allocations: 67.92 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1899, allocations: 0 / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1901, allocations: 51.83 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1904, allocations: 13.97 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.1909, allocations: 157 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1912, allocations: 0.6848 MB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.1912, allocations: 0 / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.1912, allocations: 11.44 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1912, allocations: 0 / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.003455/0.1947, allocations: 1.213 MB / 0.5919 GB, free: 12.21 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)