Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009767/0.0009767, allocations: 178.2 kB / 327.6 MB, free: 2.168 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.336/1.336, allocations: 205.4 MB / 0.5785 GB, free: 20.51 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.0007297/0.0007297, allocations: 101.2 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003382, allocations: 11.94 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.484/3.646, allocations: 2.185 GB / 3.086 GB, free: 36.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/3.646, allocations: 99.06 kB / 3.086 GB, free: 36.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.277/8.923, allocations: 1.919 GB / 5.004 GB, free: 177 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/8.923, allocations: 0 / 5.004 GB, free: 177 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001208/8.923, allocations: 31.98 kB / 5.005 GB, free: 176.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004303/8.928, allocations: 1.553 MB / 5.006 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/8.928, allocations: 12.03 kB / 5.006 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/8.929, allocations: 203.2 kB / 5.006 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/8.932, allocations: 1.508 MB / 5.008 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/8.932, allocations: 53.67 kB / 5.008 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/8.932, allocations: 68.36 kB / 5.008 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/8.933, allocations: 0.9563 MB / 5.009 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/8.933, allocations: 4 kB / 5.009 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/8.933, allocations: 24 kB / 5.009 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/8.933, allocations: 16 kB / 5.009 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/8.934, allocations: 0.7609 MB / 5.01 GB, free: 171.6 MB / 0.8855 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.003178/8.937, allocations: 4.695 MB / 5.014 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/8.939, allocations: 4.009 MB / 5.018 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/8.939, allocations: 359 kB / 5.018 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/8.939, allocations: 202.1 kB / 5.019 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/8.94, allocations: 328.7 kB / 5.019 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002598/8.94, allocations: 31.69 kB / 5.019 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 1.933e-06/8.94, allocations: 0 / 5.019 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.004169/8.944, allocations: 1.685 MB / 5.021 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/8.944, allocations: 89.03 kB / 5.021 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/8.945, allocations: 1.177 MB / 5.022 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/8.945, allocations: 41.7 kB / 5.022 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/8.946, allocations: 0.5085 MB / 5.022 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/8.946, allocations: 134.2 kB / 5.022 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/8.946, allocations: 8 kB / 5.022 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.821e-05/8.946, allocations: 326 kB / 5.023 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/8.946, allocations: 209 kB / 5.023 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/8.946, allocations: 0.56 MB / 5.024 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/8.947, allocations: 0.6527 MB / 5.024 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/8.947, allocations: 0 / 5.024 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001744/8.949, allocations: 1.076 MB / 5.025 GB, free: 154 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/8.949, allocations: 285.4 kB / 5.025 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/8.949, allocations: 7.984 kB / 5.025 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/8.95, allocations: 360.4 kB / 5.026 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/8.95, allocations: 75.83 kB / 5.026 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007478/8.951, allocations: 1.048 MB / 5.027 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/8.952, allocations: 99.8 kB / 5.027 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/8.952, allocations: 28 kB / 5.027 GB, free: 152 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/8.952, allocations: 4 kB / 5.027 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001169/8.953, allocations: 0.8175 MB / 5.028 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/8.953, allocations: 4 kB / 5.028 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/8.954, allocations: 255.3 kB / 5.028 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/8.954, allocations: 83.77 kB / 5.028 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/8.957, allocations: 3.083 MB / 5.031 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/8.957, allocations: 111.8 kB / 5.031 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/8.957, allocations: 24 kB / 5.031 GB, free: 147.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003879/8.958, allocations: 477 kB / 5.032 GB, free: 147 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/8.958, allocations: 106.7 kB / 5.032 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/8.959, allocations: 0.828 MB / 5.033 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/8.959, allocations: 4 kB / 5.033 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/8.959, allocations: 4 kB / 5.033 GB, free: 146 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/8.959, allocations: 0 / 5.033 GB, free: 146 MB / 0.8855 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.00218/8.961, allocations: 2.19 MB / 5.035 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/8.961, allocations: 0 / 5.035 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/8.961, allocations: 47.91 kB / 5.035 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/8.962, allocations: 206.5 kB / 5.035 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/8.962, allocations: 12 kB / 5.035 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004895/8.962, allocations: 0.8806 MB / 5.036 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/8.962, allocations: 4 kB / 5.036 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009521/8.963, allocations: 0.897 MB / 5.037 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/8.964, allocations: 231.7 kB / 5.037 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/8.964, allocations: 8 kB / 5.037 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/8.964, allocations: 83.75 kB / 5.037 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/8.964, allocations: 43.97 kB / 5.037 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/8.964, allocations: 8 kB / 5.037 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000782/8.965, allocations: 0.8328 MB / 5.038 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.31e-07/8.965, allocations: 0 / 5.038 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001497/8.967, allocations: 0.6166 MB / 5.039 GB, free: 139.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/8.968, allocations: 1.127 MB / 5.04 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001485/8.969, allocations: 1.164 MB / 5.041 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/8.969, allocations: 0 / 5.041 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/8.97, allocations: 255.7 kB / 5.041 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002907/8.973, allocations: 0.6544 MB / 5.042 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/8.975, allocations: 2.122 MB / 5.044 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/8.975, allocations: 1.213 MB / 5.045 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009236/8.976, allocations: 380.6 kB / 5.045 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/8.977, allocations: 71.44 kB / 5.045 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/8.977, allocations: 0 / 5.045 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03795/9.014, allocations: 34.68 MB / 5.079 GB, free: 98.16 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)