Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 186.6 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 0.5786 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008957/0.0008956, allocations: 93.17 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 13.91 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1847, allocations: 106.3 MB / 0.9014 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001454/0.1862, allocations: 1.215 MB / 0.9026 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1873, allocations: 0.8273 MB / 0.9034 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.1873, allocations: 3.938 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.1873, allocations: 0 / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.1874, allocations: 7.938 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1877, allocations: 115.5 kB / 0.9036 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.1878, allocations: 43.86 kB / 0.9036 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.1879, allocations: 19.97 kB / 0.9036 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.1879, allocations: 11.94 kB / 0.9036 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.188, allocations: 27.91 kB / 0.9037 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.188, allocations: 4 kB / 0.9037 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.1883, allocations: 171.7 kB / 0.9038 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.1883, allocations: 7.922 kB / 0.9038 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.1883, allocations: 49.56 kB / 0.9039 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.1885, allocations: 100.1 kB / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1885, allocations: 0 / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1885, allocations: 0 / 0.904 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.1885, allocations: 0 / 0.904 GB, free: 61.22 MB / 0.6042 GB 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.0004358/0.1889, allocations: 399.3 kB / 0.9044 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.189, allocations: 8.031 kB / 0.9044 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.189, allocations: 12.84 kB / 0.9044 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.53e-05/0.1891, allocations: 180.2 kB / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1891, allocations: 384 / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1892, allocations: 4.375 kB / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.1894, allocations: 86.2 kB / 0.9046 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1894, allocations: 192 / 0.9046 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1894, allocations: 7.875 kB / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1894, allocations: 4 kB / 0.9046 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.1897, allocations: 91.92 kB / 0.9047 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.19, allocations: 288.7 kB / 0.905 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1902, allocations: 66.53 kB / 0.9051 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1904, allocations: 48.92 kB / 0.9051 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.1905, allocations: 93.03 kB / 0.9052 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.1905, allocations: 30.56 kB / 0.9052 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1905, allocations: 4 kB / 0.9052 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005273/0.1911, allocations: 169.4 kB / 0.9054 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.1911, allocations: 51.41 kB / 0.9054 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/0.1912, allocations: 121.7 kB / 0.9056 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.1912, allocations: 25.7 kB / 0.9056 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.1912, allocations: 96.12 kB / 0.9057 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1913, allocations: 11.84 kB / 0.9057 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.1913, allocations: 0 / 0.9057 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.1913, allocations: 322.8 kB / 0.906 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1915, allocations: 43.97 kB / 0.906 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1916, allocations: 35.97 kB / 0.9061 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1919, allocations: 97 kB / 0.9062 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1919, allocations: 0 / 0.9062 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/0.1922, allocations: 125.5 kB / 0.9063 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1922, allocations: 14.64 kB / 0.9063 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1922, allocations: 0 / 0.9063 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1923, allocations: 4 kB / 0.9063 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1924, allocations: 19.98 kB / 0.9063 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1924, allocations: 0 / 0.9063 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1925, allocations: 15.98 kB / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1925, allocations: 0 / 0.9063 GB, free: 58.55 MB / 0.6042 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 4.987e-05/0.1925, allocations: 121.8 kB / 0.9065 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1926, allocations: 3.906 kB / 0.9065 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.1929, allocations: 137.4 kB / 0.9066 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1929, allocations: 0 / 0.9066 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1929, allocations: 7.938 kB / 0.9066 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1929, allocations: 0 / 0.9066 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1931, allocations: 169.6 kB / 0.9068 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1931, allocations: 3.984 kB / 0.9068 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1932, allocations: 23.98 kB / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1932, allocations: 0 / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1932, allocations: 0 / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1932, allocations: 0 / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1932, allocations: 0 / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.1936, allocations: 223.3 kB / 0.907 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.1936, allocations: 81.02 kB / 0.9071 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1936, allocations: 4 kB / 0.9071 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1937, allocations: 19.98 kB / 0.9071 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.1938, allocations: 11.98 kB / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1938, allocations: 0 / 0.9071 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.1938, allocations: 91.66 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1938, allocations: 0 / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002367/0.1941, allocations: 39.92 kB / 0.9072 GB, free: 57.53 MB / 0.6042 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.0001718/0.1942, allocations: 127.3 kB / 0.9074 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.1946, allocations: 91.92 kB / 0.9074 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1946, allocations: 0 / 0.9074 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1947, allocations: 47.89 kB / 0.9075 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.195, allocations: 24.27 kB / 0.9075 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.1953, allocations: 192.2 kB / 0.9077 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1954, allocations: 0.6809 MB / 0.9084 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1955, allocations: 7.438 kB / 0.9084 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/0.1955, allocations: 4 kB / 0.9084 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.002146/0.1976, allocations: 1.21 MB / 0.9096 GB, free: 55.1 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)