Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.93 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.001018/0.001018, allocations: 164.5 kB / 327.5 MB, free: 2.172 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.398/1.398, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007728/0.0007728, allocations: 88.12 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 16.42 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.6/3.783, allocations: 2.182 GB / 3.083 GB, free: 38.01 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/3.783, allocations: 97.62 kB / 3.083 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.173/8.956, allocations: 1.909 GB / 4.992 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.675e-06/8.956, allocations: 192 / 4.992 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001272/8.956, allocations: 31.98 kB / 4.992 GB, free: 190.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004078/8.96, allocations: 1.565 MB / 4.993 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/8.96, allocations: 12.03 kB / 4.994 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/8.961, allocations: 203.3 kB / 4.994 GB, free: 189 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/8.964, allocations: 1.485 MB / 4.995 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/8.964, allocations: 49.69 kB / 4.995 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/8.964, allocations: 72.36 kB / 4.995 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/8.965, allocations: 0.9563 MB / 4.996 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/8.965, allocations: 4 kB / 4.996 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/8.965, allocations: 28 kB / 4.996 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/8.965, allocations: 12 kB / 4.996 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/8.966, allocations: 0.757 MB / 4.997 GB, free: 185.5 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.003116/8.969, allocations: 4.727 MB / 5.002 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/8.971, allocations: 4.064 MB / 5.006 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/8.971, allocations: 355 kB / 5.006 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/8.971, allocations: 190.2 kB / 5.006 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/8.972, allocations: 338.1 kB / 5.006 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003087/8.972, allocations: 31.69 kB / 5.006 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 1.874e-06/8.972, allocations: 0 / 5.006 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.003607/8.976, allocations: 1.536 MB / 5.008 GB, free: 173 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/8.976, allocations: 93.08 kB / 5.008 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/8.977, allocations: 1.169 MB / 5.009 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/8.977, allocations: 37.7 kB / 5.009 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/8.977, allocations: 0.5236 MB / 5.01 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/8.977, allocations: 126.2 kB / 5.01 GB, free: 171 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/8.977, allocations: 15.94 kB / 5.01 GB, free: 171 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/8.977, allocations: 322 kB / 5.01 GB, free: 170.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/8.977, allocations: 213 kB / 5.01 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/8.978, allocations: 0.5599 MB / 5.011 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/8.979, allocations: 0.6457 MB / 5.012 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.979, allocations: 0 / 5.012 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001641/8.98, allocations: 1.037 MB / 5.013 GB, free: 168 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/8.98, allocations: 296.4 kB / 5.013 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/8.98, allocations: 4 kB / 5.013 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/8.981, allocations: 321.7 kB / 5.013 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/8.982, allocations: 79.69 kB / 5.013 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/8.982, allocations: 1.006 MB / 5.014 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008494/8.983, allocations: 99.8 kB / 5.014 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/8.983, allocations: 27.98 kB / 5.014 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/8.983, allocations: 4 kB / 5.014 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/8.984, allocations: 0.7908 MB / 5.015 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/8.984, allocations: 8 kB / 5.015 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/8.985, allocations: 222.8 kB / 5.015 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/8.985, allocations: 87.92 kB / 5.015 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/8.987, allocations: 2.884 MB / 5.018 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/8.988, allocations: 107.8 kB / 5.018 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/8.988, allocations: 24 kB / 5.018 GB, free: 161.8 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 (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.0004879/8.989, allocations: 480.8 kB / 5.019 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/8.989, allocations: 110.7 kB / 5.019 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/8.99, allocations: 0.7853 MB / 5.02 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/8.99, allocations: 7.984 kB / 5.02 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/8.99, allocations: 0 / 5.02 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/8.99, allocations: 0 / 5.02 GB, free: 160.4 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.002224/8.992, allocations: 2.147 MB / 5.022 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/8.992, allocations: 4 kB / 5.022 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/8.992, allocations: 55.89 kB / 5.022 GB, free: 158.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/8.993, allocations: 180.8 kB / 5.022 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/8.993, allocations: 12 kB / 5.022 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004757/8.993, allocations: 0.8543 MB / 5.023 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/8.993, allocations: 4 kB / 5.023 GB, free: 157 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/8.994, allocations: 0.8658 MB / 5.024 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/8.994, allocations: 231.7 kB / 5.024 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/8.995, allocations: 8.094 kB / 5.024 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/8.995, allocations: 87.69 kB / 5.024 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/8.995, allocations: 35.88 kB / 5.024 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/8.995, allocations: 16 kB / 5.024 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008137/8.996, allocations: 0.8287 MB / 5.025 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/8.996, allocations: 0 / 5.025 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001536/8.998, allocations: 0.605 MB / 5.025 GB, free: 154.2 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 (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.001568/8.999, allocations: 1.058 MB / 5.027 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001873/9.001, allocations: 1.141 MB / 5.028 GB, free: 152 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/9.001, allocations: 0 / 5.028 GB, free: 152 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/9.002, allocations: 251.7 kB / 5.028 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/9.005, allocations: 0.6461 MB / 5.028 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/9.008, allocations: 2.113 MB / 5.031 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/9.008, allocations: 1.213 MB / 5.032 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00108/9.009, allocations: 380.6 kB / 5.032 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/9.009, allocations: 75.42 kB / 5.032 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/9.009, allocations: 0 / 5.032 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.04174/9.051, allocations: 33.72 MB / 5.065 GB, free: 113.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)