Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 293 MB / 309 MB, free: 4.82 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.00153/0.001531, allocations: 179.9 kB / 378.7 MB, free: 1.016 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.635/1.635, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007809/0.0007809, allocations: 91.66 kB / 0.7527 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.000461, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.261, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.527/4.788, allocations: 2.065 GB / 3.055 GB, free: 152.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/4.789, allocations: 97.11 kB / 3.055 GB, free: 152.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.286/11.07, allocations: 1.978 GB / 5.034 GB, free: 193 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.104e-06/11.07, allocations: 0 / 5.034 GB, free: 193 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001665/11.07, allocations: 30.47 kB / 5.034 GB, free: 193 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00514/11.08, allocations: 1.565 MB / 5.035 GB, free: 192.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/11.08, allocations: 9.375 kB / 5.035 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/11.08, allocations: 202.4 kB / 5.035 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/11.08, allocations: 1.485 MB / 5.037 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/11.08, allocations: 54.62 kB / 5.037 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/11.08, allocations: 65.22 kB / 5.037 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/11.09, allocations: 0.9621 MB / 5.038 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/11.09, allocations: 4.875 kB / 5.038 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/11.09, allocations: 23.3 kB / 5.038 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/11.09, allocations: 17.03 kB / 5.038 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/11.09, allocations: 0.759 MB / 5.039 GB, free: 191.8 MB / 0.948 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.004012/11.09, allocations: 4.726 MB / 5.043 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/11.09, allocations: 4.061 MB / 5.047 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/11.09, allocations: 351.8 kB / 5.048 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/11.09, allocations: 199.3 kB / 5.048 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/11.09, allocations: 326.8 kB / 5.048 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000476/11.09, allocations: 34.77 kB / 5.048 GB, free: 184.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.126e-06/11.09, allocations: 0 / 5.048 GB, free: 184.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.004226/11.1, allocations: 1.55 MB / 5.05 GB, free: 184 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/11.1, allocations: 82.64 kB / 5.05 GB, free: 184 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/11.1, allocations: 1.17 MB / 5.051 GB, free: 183.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/11.1, allocations: 36.55 kB / 5.051 GB, free: 183.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/11.1, allocations: 0.5266 MB / 5.051 GB, free: 183.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/11.1, allocations: 132.8 kB / 5.051 GB, free: 183.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/11.1, allocations: 9.812 kB / 5.051 GB, free: 183.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/11.1, allocations: 325.7 kB / 5.052 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/11.1, allocations: 209 kB / 5.052 GB, free: 183.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/11.1, allocations: 0.5572 MB / 5.053 GB, free: 182.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/11.1, allocations: 0.6525 MB / 5.053 GB, free: 182.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/11.1, allocations: 0 / 5.053 GB, free: 182.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002027/11.11, allocations: 1.025 MB / 5.054 GB, free: 182.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001703/11.11, allocations: 285.9 kB / 5.054 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/11.11, allocations: 6.438 kB / 5.054 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/11.11, allocations: 326.9 kB / 5.055 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/11.11, allocations: 75.67 kB / 5.055 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009242/11.11, allocations: 1.013 MB / 5.056 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/11.11, allocations: 101.2 kB / 5.056 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/11.11, allocations: 28.12 kB / 5.056 GB, free: 181.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/11.11, allocations: 2.594 kB / 5.056 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/11.11, allocations: 0.7865 MB / 5.057 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/11.11, allocations: 9.656 kB / 5.057 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/11.11, allocations: 221.8 kB / 5.057 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/11.11, allocations: 80.27 kB / 5.057 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/11.11, allocations: 2.895 MB / 5.06 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/11.12, allocations: 98.73 kB / 5.06 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/11.12, allocations: 22.03 kB / 5.06 GB, free: 180.2 MB / 0.948 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007105/11.12, allocations: 480.4 kB / 5.06 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/11.12, allocations: 113.4 kB / 5.061 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/11.12, allocations: 0.7928 MB / 5.061 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/11.12, allocations: 9.484 kB / 5.061 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/11.12, allocations: 0 / 5.061 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/11.12, allocations: 3.281 kB / 5.061 GB, free: 179.9 MB / 0.948 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.003187/11.12, allocations: 2.155 MB / 5.063 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/11.12, allocations: 3.75 kB / 5.063 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/11.12, allocations: 54.98 kB / 5.063 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003585/11.12, allocations: 176 kB / 5.064 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/11.12, allocations: 6.906 kB / 5.064 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005899/11.12, allocations: 0.8585 MB / 5.064 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/11.12, allocations: 3.312 kB / 5.064 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/11.12, allocations: 0.8717 MB / 5.065 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/11.12, allocations: 232.4 kB / 5.066 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/11.12, allocations: 12.33 kB / 5.066 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/11.12, allocations: 75.3 kB / 5.066 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/11.13, allocations: 46.11 kB / 5.066 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/11.13, allocations: 13.03 kB / 5.066 GB, free: 178.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001128/11.13, allocations: 0.8195 MB / 5.066 GB, free: 178 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/11.13, allocations: 3.125 kB / 5.066 GB, free: 178 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002042/11.13, allocations: 0.6009 MB / 5.067 GB, free: 178 MB / 0.948 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/11.13, allocations: 1.071 MB / 5.068 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001942/11.13, allocations: 1.138 MB / 5.069 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/11.13, allocations: 0 / 5.069 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/11.13, allocations: 249.8 kB / 5.069 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/11.14, allocations: 0.6472 MB / 5.07 GB, free: 177.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/11.14, allocations: 2.101 MB / 5.072 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/11.14, allocations: 1.217 MB / 5.073 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001204/11.14, allocations: 388.7 kB / 5.074 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/11.14, allocations: 71.38 kB / 5.074 GB, free: 175.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/11.14, allocations: 2.438 kB / 5.074 GB, free: 175.8 MB / 0.948 GB Notification: Performance of Templates: time 0.04934/11.19, allocations: 33.71 MB / 5.107 GB, free: 174.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)