Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 293 MB / 309 MB, free: 4.797 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.001235/0.001235, allocations: 175.6 kB / 378.7 MB, free: 1.012 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.659/1.659, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0008649/0.0008649, allocations: 92.14 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004318, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3008, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.609/1.91, allocations: 422.9 MB / 1.403 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.911, allocations: 97.11 kB / 1.404 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.576/10.49, allocations: 2.263 GB / 3.667 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.675e-06/10.49, allocations: 0 / 3.667 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001917/10.49, allocations: 247.8 kB / 3.667 GB, free: 121.9 MB / 0.9948 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.04098/10.53, allocations: 9.382 MB / 3.676 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/10.53, allocations: 9.562 kB / 3.676 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009699/10.54, allocations: 1.232 MB / 3.677 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03711/10.58, allocations: 12.19 MB / 3.689 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007853/10.58, allocations: 444 kB / 3.69 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004177/10.58, allocations: 0.5806 MB / 3.69 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0454/10.63, allocations: 13.68 MB / 3.704 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007091/10.63, allocations: 29.27 kB / 3.704 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00449/10.63, allocations: 239.7 kB / 3.704 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000355/10.63, allocations: 138.1 kB / 3.704 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04059/10.67, allocations: 18.35 MB / 3.722 GB, free: 115.6 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.11/10.78, allocations: 55.18 MB / 3.776 GB, free: 96.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/10.8, allocations: 8.84 MB / 3.785 GB, free: 96.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01342/10.81, allocations: 9.364 MB / 3.794 GB, free: 96.58 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06292/10.87, allocations: 26.17 MB / 3.819 GB, free: 88.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01247/10.89, allocations: 7.416 MB / 3.827 GB, free: 85.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05373/10.94, allocations: 21.13 MB / 3.847 GB, free: 83.35 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=301): time 4.214e-05/10.94, allocations: 7.5 kB / 3.847 GB, free: 83.35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=301): time 0.06209/11, allocations: 23.01 MB / 3.87 GB, free: 74.85 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/11, allocations: 89.95 kB / 3.87 GB, free: 74.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/11.02, allocations: 7.785 MB / 3.877 GB, free: 72.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002466/11.02, allocations: 100 kB / 3.877 GB, free: 72.28 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005787/11.03, allocations: 3.993 MB / 3.881 GB, free: 69.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004061/11.03, allocations: 1.084 MB / 3.882 GB, free: 68.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/11.04, allocations: 91.09 kB / 3.882 GB, free: 68.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005898/11.04, allocations: 496.8 kB / 3.883 GB, free: 67.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01628/11.05, allocations: 6.186 MB / 3.889 GB, free: 65.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01831/11.07, allocations: 8.02 MB / 3.897 GB, free: 58.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03603/11.11, allocations: 14.58 MB / 3.911 GB, free: 45.11 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.982e-05/11.11, allocations: 15.94 kB / 3.911 GB, free: 45.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05713/11.16, allocations: 16.69 MB / 3.927 GB, free: 31.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001577/11.17, allocations: 1.539 MB / 3.929 GB, free: 29.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/11.17, allocations: 48.75 kB / 3.929 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06609/11.23, allocations: 11.04 MB / 3.94 GB, free: 19.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008597/11.24, allocations: 1.608 MB / 3.941 GB, free: 17.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009329/11.25, allocations: 6.328 MB / 3.947 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/11.26, allocations: 0.5665 MB / 3.948 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003235/11.27, allocations: 0.5403 MB / 3.949 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/11.27, allocations: 4 kB / 3.949 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7438/12.01, allocations: 15.92 MB / 3.964 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/12.01, allocations: 48.75 kB / 3.964 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06666/12.08, allocations: 10.62 MB / 3.974 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01057/12.09, allocations: 1.598 MB / 3.976 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/12.1, allocations: 10.22 MB / 3.986 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/12.12, allocations: 0.5542 MB / 3.987 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003612/12.12, allocations: 0.5334 MB / 3.987 GB, free: 118.3 MB / 0.9948 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 () * Number of clocked 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.01054/12.13, allocations: 2.632 MB / 3.99 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004478/12.14, allocations: 0.7561 MB / 3.99 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03361/12.17, allocations: 13.65 MB / 4.004 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/12.17, allocations: 33.5 kB / 4.004 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/12.17, allocations: 2 kB / 4.004 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01986/12.19, allocations: 10.26 MB / 4.014 GB, free: 117.3 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.05222/12.24, allocations: 23.82 MB / 4.037 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/12.24, allocations: 3.75 kB / 4.037 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005334/12.25, allocations: 0.6978 MB / 4.038 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06062/12.31, allocations: 9.934 MB / 4.047 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/12.31, allocations: 101.8 kB / 4.048 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005069/12.32, allocations: 4.315 MB / 4.052 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/12.32, allocations: 0 / 4.052 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03547/12.35, allocations: 18.44 MB / 4.07 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008508/12.36, allocations: 1.899 MB / 4.072 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00442/12.36, allocations: 73.2 kB / 4.072 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00939/12.37, allocations: 404.7 kB / 4.072 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001773/12.38, allocations: 213.2 kB / 4.072 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00145/12.38, allocations: 158.7 kB / 4.072 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01459/12.39, allocations: 5.334 MB / 4.078 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.021e-06/12.39, allocations: 0 / 4.078 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02778/12.42, allocations: 4.873 MB / 4.082 GB, free: 110.1 MB / 0.9948 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) * Number of clocked states: 0 () * 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.004574/12.42, allocations: 1.247 MB / 4.084 GB, free: 109.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04582/12.47, allocations: 23.57 MB / 4.107 GB, free: 109 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/12.47, allocations: 0 / 4.107 GB, free: 109 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/12.48, allocations: 6.193 MB / 4.113 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03765/12.52, allocations: 4.61 MB / 4.117 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05167/12.57, allocations: 22.27 MB / 4.139 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/12.58, allocations: 5.203 MB / 4.144 GB, free: 99.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02571/12.61, allocations: 4.986 MB / 4.149 GB, free: 99.02 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007391/12.61, allocations: 0.9053 MB / 4.15 GB, free: 99.01 MB / 0.9948 GB Notification: Performance of SimCode: time 1.543e-06/12.61, allocations: 0 / 4.15 GB, free: 99.01 MB / 0.9948 GB Notification: Performance of Templates: time 1.052/13.66, allocations: 219.2 MB / 4.364 GB, free: 154.8 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)