Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.3 MB / 303.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.83 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 15.83 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00121/0.2038, allocations: 0.9768 MB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.2047, allocations: 0.737 MB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.2047, allocations: 4 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2048, allocations: 3.984 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.2048, allocations: 0 / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.2052, allocations: 119.6 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.357e-05/0.2052, allocations: 19.97 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.2053, allocations: 4 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.2053, allocations: 7.984 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.2054, allocations: 15.92 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2054, allocations: 0 / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.2057, allocations: 175.8 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.2057, allocations: 4 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.2057, allocations: 29.7 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.2059, allocations: 88.05 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.2059, allocations: 4 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2059, allocations: 0 / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.2059, allocations: 0 / 0.9816 GB, free: 25.5 MB / 0.6198 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.0003582/0.2063, allocations: 355.2 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.2063, allocations: 8.031 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2064, allocations: 4 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.944e-05/0.2064, allocations: 171 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.2065, allocations: 29.7 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2065, allocations: 0 / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2066, allocations: 45.69 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2067, allocations: 0 / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2067, allocations: 8 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2067, allocations: 0 / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.2068, allocations: 15.92 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.2069, allocations: 165.6 kB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2071, allocations: 50.53 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.2073, allocations: 178.3 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.2074, allocations: 38.56 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2074, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002126/0.2076, allocations: 61.67 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.2076, allocations: 59.41 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.926e-05/0.2077, allocations: 93.98 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.2077, allocations: 29.7 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.2077, allocations: 80.14 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.2077, allocations: 19.73 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2077, allocations: 3.938 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.2078, allocations: 314.8 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.2078, allocations: 12 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.2079, allocations: 12.17 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.2079, allocations: 16.08 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2079, allocations: 0 / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.208, allocations: 53.67 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2081, allocations: 8 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2081, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2081, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.2081, allocations: 7.938 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2081, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.2082, allocations: 11.98 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2082, allocations: 0 / 0.9833 GB, free: 23.42 MB / 0.6198 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 4.273e-05/0.2082, allocations: 113.8 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.2083, allocations: 3.906 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.2084, allocations: 69.16 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2084, allocations: 0 / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2084, allocations: 4 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2084, allocations: 0 / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.48e-05/0.2085, allocations: 165.6 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2085, allocations: 0 / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.2086, allocations: 15.92 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2086, allocations: 0 / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2086, allocations: 0 / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2086, allocations: 4 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2086, allocations: 0 / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.2088, allocations: 73.12 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2088, allocations: 96.95 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.2088, allocations: 0 / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.2089, allocations: 7.938 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.2089, allocations: 3.984 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2089, allocations: 4 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.605e-05/0.209, allocations: 79.28 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.209, allocations: 0 / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002073/0.2092, allocations: 39.92 kB / 0.984 GB, free: 22.65 MB / 0.6198 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.0001837/0.2094, allocations: 139.2 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2095, allocations: 31.91 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2095, allocations: 4 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.2096, allocations: 8 kB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.2097, allocations: 14.53 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.21, allocations: 142.5 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.2101, allocations: 0.6814 MB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.2101, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.2101, allocations: 11.44 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2101, allocations: 4 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.002651/0.2128, allocations: 0.9987 MB / 0.986 GB, free: 20.57 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)