Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005923/0.005923, allocations: 101.5 kB / 15.73 MB, free: 5.992 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.001329/0.001329, allocations: 198.8 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.1 MB / 222.6 MB, free: 4.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 69.78 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00189/0.1893, allocations: 1.279 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1905, allocations: 0.8315 MB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.1905, allocations: 0 / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.1905, allocations: 0 / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.1906, allocations: 7.922 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.191, allocations: 131.4 kB / 0.8302 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.1911, allocations: 19.92 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.1911, allocations: 8 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.1911, allocations: 15.86 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.1912, allocations: 4 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.1912, allocations: 4 kB / 0.8303 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.1915, allocations: 171.7 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.1915, allocations: 11.92 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.1916, allocations: 12 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1918, allocations: 123.7 kB / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1918, allocations: 0 / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1918, allocations: 0 / 0.8306 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.1918, allocations: 0 / 0.8306 GB, free: 13.56 MB / 0.6544 GB 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.0003969/0.1922, allocations: 363.4 kB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.1922, allocations: 8.031 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1923, allocations: 4.938 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1924, allocations: 164.3 kB / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.1924, allocations: 34.27 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.1925, allocations: 4.312 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1926, allocations: 46.23 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1926, allocations: 3.938 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1926, allocations: 3.984 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.1926, allocations: 0 / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.875e-05/0.1927, allocations: 19.98 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1929, allocations: 153.7 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.1931, allocations: 50.56 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.386e-05/0.1932, allocations: 20.8 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.1934, allocations: 178.3 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1934, allocations: 30.56 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1935, allocations: 4 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.1937, allocations: 69.61 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1937, allocations: 51.41 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.13e-05/0.1938, allocations: 105.8 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1938, allocations: 25.7 kB / 0.8319 GB, free: 12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.1938, allocations: 80.14 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1939, allocations: 15.75 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.1939, allocations: 25.7 kB / 0.832 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.194, allocations: 314.8 kB / 0.8323 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.194, allocations: 8 kB / 0.8323 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.1941, allocations: 11.98 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.1942, allocations: 28.84 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1942, allocations: 0 / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001255/0.1943, allocations: 49.69 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1943, allocations: 15.94 kB / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1943, allocations: 0 / 0.8324 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1944, allocations: 7.875 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.1944, allocations: 15.92 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1944, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.74e-05/0.1945, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1945, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.1945, allocations: 113.8 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1946, allocations: 7.844 kB / 0.8325 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.1947, allocations: 69.69 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1947, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1947, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1947, allocations: 3.984 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.1948, allocations: 157.7 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1948, allocations: 0 / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.1949, allocations: 11.98 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1949, allocations: 11.92 kB / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1949, allocations: 0 / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1949, allocations: 0 / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1949, allocations: 4 kB / 0.8328 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1951, allocations: 85.11 kB / 0.8329 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1951, allocations: 77.11 kB / 0.8329 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1951, allocations: 11.92 kB / 0.8329 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.1952, allocations: 0 / 0.8329 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.1952, allocations: 0 / 0.8329 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1952, allocations: 4 kB / 0.8329 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.1953, allocations: 87.27 kB / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1953, allocations: 4 kB / 0.833 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002041/0.1955, allocations: 27.94 kB / 0.8331 GB, free: 10.64 MB / 0.6544 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 (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.000221/0.1957, allocations: 143.1 kB / 0.8332 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1959, allocations: 31.92 kB / 0.8332 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1959, allocations: 0 / 0.8332 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/0.1959, allocations: 23.92 kB / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1961, allocations: 6.406 kB / 0.8333 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.1964, allocations: 127.1 kB / 0.8334 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1966, allocations: 0.6805 MB / 0.834 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.1967, allocations: 11.84 kB / 0.8341 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.1967, allocations: 11.44 kB / 0.8341 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.1967, allocations: 0 / 0.8341 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of Templates: time 0.00335/0.2001, allocations: 1.067 MB / 0.8351 GB, free: 8.488 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)