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.0007997/0.0007999, allocations: 91.84 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.0008452/0.0008453, 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.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001606/0.001606, allocations: 278 kB / 291.4 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9444/0.9444, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 16.97 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001637/0.1903, allocations: 1.194 MB / 0.6856 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1914, allocations: 0.7521 MB / 0.6864 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.1915, allocations: 1.219 kB / 0.6864 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1915, allocations: 3.938 kB / 0.6864 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.1916, allocations: 11.92 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1919, allocations: 105.9 kB / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.192, allocations: 51.83 kB / 0.6865 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1921, allocations: 23 kB / 0.6866 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.1922, allocations: 15.94 kB / 0.6866 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1922, allocations: 23.91 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1923, allocations: 0 / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.1926, allocations: 167.7 kB / 0.6868 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1926, allocations: 11.94 kB / 0.6868 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.1926, allocations: 27.17 kB / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1928, allocations: 103.8 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1928, allocations: 0 / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1928, allocations: 0 / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1929, allocations: 0.5 kB / 0.6869 GB, free: 12.98 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.0005345/0.1934, allocations: 401.9 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1934, allocations: 8.031 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1935, allocations: 15.45 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1936, allocations: 174.9 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1936, allocations: 4 kB / 0.6875 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1936, allocations: 4 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.1939, allocations: 82.36 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1939, allocations: 0 / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1939, allocations: 0.6562 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1939, allocations: 1.281 kB / 0.6876 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.1942, allocations: 96.5 kB / 0.6876 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1946, allocations: 288.7 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1948, allocations: 66.55 kB / 0.688 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.195, allocations: 56.91 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.1952, allocations: 89.09 kB / 0.6881 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1952, allocations: 34.52 kB / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1952, allocations: 0 / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004932/0.1957, allocations: 169.5 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1958, allocations: 51.41 kB / 0.6884 GB, free: 11.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.1959, allocations: 117.8 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1959, allocations: 25.7 kB / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1959, allocations: 92.05 kB / 0.6886 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.196, allocations: 11.89 kB / 0.6886 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.196, allocations: 0 / 0.6886 GB, free: 11.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1961, allocations: 318.8 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1962, allocations: 35.97 kB / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1964, allocations: 47.95 kB / 0.689 GB, free: 10.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1965, allocations: 43.91 kB / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1965, allocations: 0 / 0.689 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002915/0.1968, allocations: 129.5 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1968, allocations: 8 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1968, allocations: 7.953 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1968, allocations: 0 / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.197, allocations: 23.98 kB / 0.6892 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.197, allocations: 0 / 0.6892 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.23e-05/0.1971, allocations: 19.98 kB / 0.6892 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1971, allocations: 0 / 0.6892 GB, free: 10.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.108e-05/0.1972, allocations: 110.5 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1972, allocations: 4 kB / 0.6893 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.1975, allocations: 141.7 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1975, allocations: 3.953 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1976, allocations: 48 / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1976, allocations: 3.984 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.1977, allocations: 173.7 kB / 0.6896 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1977, allocations: 7.938 kB / 0.6896 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.1978, allocations: 23.98 kB / 0.6897 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1978, allocations: 4 kB / 0.6897 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1979, allocations: 4 kB / 0.6897 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1979, allocations: 0 / 0.6897 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1979, allocations: 3.953 kB / 0.6897 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1982, allocations: 215.4 kB / 0.6899 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1983, allocations: 89.02 kB / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1983, allocations: 0 / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.1984, allocations: 19.98 kB / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.1984, allocations: 11.88 kB / 0.69 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1985, allocations: 0 / 0.69 GB, free: 9.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.1985, allocations: 95.27 kB / 0.6901 GB, free: 9.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1985, allocations: 0 / 0.6901 GB, free: 9.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1988, allocations: 24 kB / 0.6901 GB, free: 9.363 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 (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.0002132/0.199, allocations: 143.1 kB / 0.6902 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1993, allocations: 91.91 kB / 0.6903 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1993, allocations: 0 / 0.6903 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.1995, allocations: 47.97 kB / 0.6904 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1998, allocations: 9.203 kB / 0.6904 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.2001, allocations: 166.5 kB / 0.6905 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2004, allocations: 0.6902 MB / 0.6912 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.2004, allocations: 0 / 0.6912 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.2004, allocations: 11.44 kB / 0.6912 GB, free: 8.156 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2004, allocations: 0 / 0.6912 GB, free: 8.156 MB / 494.1 MB Notification: Performance of Templates: time 0.003629/0.2041, allocations: 1.193 MB / 0.6924 GB, free: 6.973 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)