Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.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.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001593/0.001593, allocations: 176.8 kB / 361.4 MB, free: 6.832 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.68/1.68, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008804/0.0008806, allocations: 90.84 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.985e-05, allocations: 4 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6776, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.744, allocations: 421 MB / 1.375 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.744, allocations: 93.61 kB / 1.376 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.682/10.43, allocations: 2.261 GB / 3.636 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.124e-06/10.43, allocations: 0 / 3.636 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001932/10.43, allocations: 258.3 kB / 3.636 GB, free: 105.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03104/10.46, allocations: 7.301 MB / 3.643 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/10.46, allocations: 9.875 kB / 3.643 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/10.47, allocations: 1.226 MB / 3.645 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03389/10.5, allocations: 12.53 MB / 3.657 GB, free: 97.96 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/10.5, allocations: 178.5 kB / 3.657 GB, free: 97.96 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00279/10.51, allocations: 353 kB / 3.657 GB, free: 97.95 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02877/10.53, allocations: 17.76 MB / 3.675 GB, free: 91.97 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/10.56, allocations: 12.54 MB / 3.687 GB, free: 84.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/10.56, allocations: 23.17 kB / 3.687 GB, free: 84.34 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/10.56, allocations: 15.12 kB / 3.687 GB, free: 84.34 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-05/10.56, allocations: 144.8 kB / 3.687 GB, free: 84.33 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/10.66, allocations: 54.56 MB / 3.74 GB, free: 30.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/10.67, allocations: 8.644 MB / 3.749 GB, free: 22.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01069/10.69, allocations: 9.191 MB / 3.758 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05803/10.74, allocations: 26.28 MB / 3.784 GB, free: 2.344 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7558/11.5, allocations: 7.21 MB / 3.791 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05302/11.55, allocations: 21.04 MB / 3.811 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 4.65e-05/11.55, allocations: 0 / 3.811 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.03663/11.59, allocations: 15.03 MB / 3.826 GB, free: 130.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/11.59, allocations: 90.09 kB / 3.826 GB, free: 130.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01519/11.6, allocations: 6.392 MB / 3.832 GB, free: 130 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002871/11.61, allocations: 33.7 kB / 3.832 GB, free: 130 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005162/11.61, allocations: 3.986 MB / 3.836 GB, free: 129.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004027/11.62, allocations: 1.051 MB / 3.837 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/11.62, allocations: 0 / 3.837 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004607/11.62, allocations: 0.4895 MB / 3.838 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00986/11.63, allocations: 6.023 MB / 3.843 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0138/11.64, allocations: 7.802 MB / 3.851 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01975/11.66, allocations: 7.544 MB / 3.858 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001864/11.66, allocations: 13.59 kB / 3.858 GB, free: 125.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05475/11.72, allocations: 16.58 MB / 3.875 GB, free: 125.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00707/11.72, allocations: 24.56 MB / 3.899 GB, free: 99.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002357/11.72, allocations: 48.03 kB / 3.899 GB, free: 99.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/11.73, allocations: 1.546 MB / 3.9 GB, free: 99.37 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/11.74, allocations: 1.613 MB / 3.902 GB, free: 99.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/11.75, allocations: 6.934 MB / 3.909 GB, free: 96.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01456/11.77, allocations: 0.5013 MB / 3.909 GB, free: 96.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004208/11.77, allocations: 0.5423 MB / 3.91 GB, free: 96.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/11.77, allocations: 6.125 kB / 3.91 GB, free: 96.3 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04122/11.81, allocations: 15.76 MB / 3.925 GB, free: 95.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002471/11.81, allocations: 44.78 kB / 3.925 GB, free: 95.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003944/11.82, allocations: 1.415 MB / 3.926 GB, free: 95.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009626/11.83, allocations: 1.597 MB / 3.928 GB, free: 95.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/11.85, allocations: 10.52 MB / 3.938 GB, free: 91.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/11.86, allocations: 491.2 kB / 3.939 GB, free: 91.12 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003621/11.86, allocations: 0.5372 MB / 3.939 GB, free: 91.12 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.003584/11.87, allocations: 253.2 kB / 3.939 GB, free: 91.02 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003705/11.87, allocations: 0.6967 MB / 3.94 GB, free: 90.65 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/11.9, allocations: 13.76 MB / 3.954 GB, free: 90.12 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/11.9, allocations: 33.56 kB / 3.954 GB, free: 90.12 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/11.9, allocations: 3.781 kB / 3.954 GB, free: 90.12 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01777/11.92, allocations: 10.46 MB / 3.964 GB, free: 89.59 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04756/11.97, allocations: 23.48 MB / 3.987 GB, free: 86.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/11.97, allocations: 1.688 kB / 3.987 GB, free: 86.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005065/11.97, allocations: 0.7048 MB / 3.987 GB, free: 86.33 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/11.97, allocations: 0.6995 MB / 3.988 GB, free: 86.28 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000631/11.97, allocations: 69.3 kB / 3.988 GB, free: 86.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007664/11.98, allocations: 5.001 MB / 3.993 GB, free: 83.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/11.98, allocations: 7.562 kB / 3.993 GB, free: 83.29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/12.01, allocations: 18.46 MB / 4.011 GB, free: 74.57 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007782/12.02, allocations: 1.925 MB / 4.013 GB, free: 73.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003934/12.02, allocations: 20.58 kB / 4.013 GB, free: 73.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01312/12.04, allocations: 358.2 kB / 4.013 GB, free: 73.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001623/12.04, allocations: 220.5 kB / 4.014 GB, free: 73.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000829/12.04, allocations: 159.3 kB / 4.014 GB, free: 73.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01068/12.05, allocations: 4.856 MB / 4.018 GB, free: 71.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.51e-07/12.05, allocations: 0 / 4.018 GB, free: 71.98 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03571/12.08, allocations: 5.021 MB / 4.023 GB, free: 71.66 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004048/12.09, allocations: 1.171 MB / 4.024 GB, free: 71.33 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.03848/12.13, allocations: 23.05 MB / 4.047 GB, free: 61.64 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/12.13, allocations: 3.969 kB / 4.047 GB, free: 61.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.009733/12.14, allocations: 6.005 MB / 4.053 GB, free: 58.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02622/12.16, allocations: 4.005 MB / 4.057 GB, free: 57.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/12.2, allocations: 16.76 MB / 4.073 GB, free: 47.23 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005321/12.21, allocations: 5.369 MB / 4.078 GB, free: 43.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03226/12.24, allocations: 7.256 MB / 4.085 GB, free: 38.14 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006177/12.25, allocations: 0.7467 MB / 4.086 GB, free: 37.62 MB / 0.9792 GB Notification: Performance of SimCode: time 2.034e-06/12.25, allocations: 0 / 4.086 GB, free: 37.62 MB / 0.9792 GB Notification: Performance of Templates: time 1.006/13.25, allocations: 198.3 MB / 4.28 GB, free: 131.6 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)