Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001277/0.001277, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001872/0.001872, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 8 kB / 0.507 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 82.3 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001429/0.1853, allocations: 0.9822 MB / 0.5883 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1868, allocations: 0.7936 MB / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.1869, allocations: 0 / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.1869, allocations: 0 / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.187, allocations: 7.922 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.1876, allocations: 103.6 kB / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.431e-05/0.1878, allocations: 27.86 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.1878, allocations: 0 / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.1879, allocations: 11.98 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.413e-05/0.188, allocations: 19.91 kB / 0.5893 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.188, allocations: 0 / 0.5893 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.1884, allocations: 167.7 kB / 0.5894 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1884, allocations: 3.984 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1885, allocations: 29.7 kB / 0.5895 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1887, allocations: 80.12 kB / 0.5895 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1888, allocations: 4 kB / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1888, allocations: 0 / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1888, allocations: 3.938 kB / 0.5895 GB, free: 0.7852 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.0005489/0.1893, allocations: 357.3 kB / 0.5899 GB, free: 400 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1894, allocations: 12.03 kB / 0.5899 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.1895, allocations: 3.953 kB / 0.5899 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1896, allocations: 171 kB / 0.5901 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-05/0.1897, allocations: 29.7 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1897, allocations: 4 kB / 0.5901 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1899, allocations: 41.69 kB / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1899, allocations: 0 / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1899, allocations: 0 / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.19, allocations: 4 kB / 0.5901 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.1901, allocations: 19.98 kB / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.1903, allocations: 161.6 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1905, allocations: 54.53 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1906, allocations: 12.84 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.1909, allocations: 186.3 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1909, allocations: 34.56 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1909, allocations: 0 / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000252/0.1912, allocations: 61.67 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1912, allocations: 55.41 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.1913, allocations: 97.84 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1914, allocations: 37.64 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.1914, allocations: 80.14 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.1914, allocations: 7.812 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1914, allocations: 0 / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1915, allocations: 322.8 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.1916, allocations: 7.984 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.1916, allocations: 4 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.1917, allocations: 19.92 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1917, allocations: 4 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.1918, allocations: 53.69 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1918, allocations: 8 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1918, allocations: 0 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1919, allocations: 0 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.1919, allocations: 11.98 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.1919, allocations: 3.938 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.192, allocations: 3.938 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.192, allocations: 0 / 0.5913 GB, free: 14.7 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.1921, allocations: 117.8 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1921, allocations: 3.906 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.1923, allocations: 69.17 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1923, allocations: 0 / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.1923, allocations: 3.984 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1923, allocations: 0 / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1924, allocations: 165.6 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1924, allocations: 4 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.1925, allocations: 8 kB / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1925, allocations: 0 / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.1925, allocations: 7.938 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1925, allocations: 0 / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1925, allocations: 0 / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1927, allocations: 85.62 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.1928, allocations: 85 kB / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1928, allocations: 0 / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.1929, allocations: 15.94 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1929, allocations: 48 / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1929, allocations: 7.984 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.193, allocations: 79.27 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.193, allocations: 0 / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002611/0.1932, allocations: 35.94 kB / 0.592 GB, free: 13.91 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.1935, allocations: 135.2 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1937, allocations: 31.92 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1937, allocations: 0 / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.1938, allocations: 19.98 kB / 0.5922 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.194, allocations: 11.19 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.1944, allocations: 134.8 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1947, allocations: 0.6809 MB / 0.593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.1948, allocations: 4 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1948, allocations: 11.44 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1948, allocations: 0 / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.003581/0.1984, allocations: 1.002 MB / 0.594 GB, free: 11.84 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)