Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.626/1.626, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.001618/0.001618, allocations: 195.1 kB / 371.9 MB, free: 10.27 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.584/1.584, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000819/0.000819, allocations: 90.92 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003962, allocations: 16.16 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.7143/0.9437, allocations: 140.5 MB / 1.117 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00444/0.9481, allocations: 2.148 MB / 1.119 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004983/0.9487, allocations: 14.56 kB / 1.119 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.9497, allocations: 229.5 kB / 1.119 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.9524, allocations: 0.6848 MB / 1.12 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.9541, allocations: 455.3 kB / 1.12 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00232/0.9565, allocations: 1.637 MB / 1.122 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/0.9598, allocations: 2.31 MB / 1.124 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.962, allocations: 0.8582 MB / 1.125 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/0.9628, allocations: 0.6016 MB / 1.125 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.631e-05/0.9629, allocations: 46.78 kB / 1.125 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.9645, allocations: 0.6288 MB / 1.126 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.9648, allocations: 301 kB / 1.126 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.9652, allocations: 246.1 kB / 1.126 GB, free: 16.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.9663, allocations: 1.17 MB / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9663, allocations: 0 / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9663, allocations: 0 / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.9663, allocations: 0 / 1.128 GB, free: 16.53 MB / 0.698 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.002727/0.9691, allocations: 1.526 MB / 1.129 GB, free: 15.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.9691, allocations: 8 kB / 1.129 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008099/0.9699, allocations: 195.7 kB / 1.129 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.9717, allocations: 0.8709 MB / 1.13 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.9718, allocations: 49.62 kB / 1.13 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.9719, allocations: 62.47 kB / 1.13 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.9734, allocations: 0.9906 MB / 1.131 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.9735, allocations: 2.906 kB / 1.131 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.9735, allocations: 21.19 kB / 1.131 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.9736, allocations: 15.81 kB / 1.131 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.9748, allocations: 0.8114 MB / 1.132 GB, free: 14.41 MB / 0.698 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.005459/0.9802, allocations: 4.812 MB / 1.137 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.9832, allocations: 4.037 MB / 1.141 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.9833, allocations: 12.19 kB / 1.141 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005405/0.9838, allocations: 329.7 kB / 1.141 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004253/0.9843, allocations: 35.72 kB / 1.141 GB, free: 6.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.9843, allocations: 0.9062 kB / 1.141 GB, free: 6.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.00489/0.9892, allocations: 1.599 MB / 1.143 GB, free: 5.355 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.9893, allocations: 107 kB / 1.143 GB, free: 5.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.9911, allocations: 1.18 MB / 1.144 GB, free: 4.859 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.9911, allocations: 36.83 kB / 1.144 GB, free: 4.828 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.9916, allocations: 0.5177 MB / 1.144 GB, free: 4.605 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.9917, allocations: 119.8 kB / 1.145 GB, free: 4.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.9917, allocations: 11.16 kB / 1.145 GB, free: 4.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9919, allocations: 322.4 kB / 1.145 GB, free: 4.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.9923, allocations: 211.5 kB / 1.145 GB, free: 4.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.9929, allocations: 0.5328 MB / 1.146 GB, free: 3.719 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.9935, allocations: 326.1 kB / 1.146 GB, free: 3.609 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.9935, allocations: 2.469 kB / 1.146 GB, free: 3.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002307/0.9959, allocations: 1.036 MB / 1.147 GB, free: 3.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.9969, allocations: 2.142 MB / 1.149 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.9969, allocations: 5.531 kB / 1.149 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.9982, allocations: 331.4 kB / 1.149 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.9987, allocations: 113.8 kB / 1.149 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.9998, allocations: 1.001 MB / 1.15 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.001, allocations: 101.9 kB / 1.151 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/1.001, allocations: 27.77 kB / 1.151 GB, free: 164 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.001, allocations: 2.812 kB / 1.151 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00152/1.003, allocations: 0.7979 MB / 1.151 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.003, allocations: 4.125 kB / 1.151 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005905/1.003, allocations: 235.8 kB / 1.152 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/1.004, allocations: 101.6 kB / 1.152 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/1.008, allocations: 2.994 MB / 1.155 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.009, allocations: 104.6 kB / 1.155 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/1.009, allocations: 28.86 kB / 1.155 GB, free: 14 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (38): * Single equations (assignments): 36 * 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.0008524/1.01, allocations: 478.9 kB / 1.155 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/1.01, allocations: 106.2 kB / 1.155 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/1.012, allocations: 0.7686 MB / 1.156 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.012, allocations: 7.547 kB / 1.156 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.012, allocations: 0 / 1.156 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/1.012, allocations: 1.781 kB / 1.156 GB, free: 13.42 MB / 0.7136 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.003977/1.016, allocations: 2.195 MB / 1.158 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.016, allocations: 5.781 kB / 1.158 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/1.016, allocations: 80.14 kB / 1.158 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/1.017, allocations: 177.7 kB / 1.158 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/1.017, allocations: 10.19 kB / 1.158 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000835/1.017, allocations: 0.8671 MB / 1.159 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.017, allocations: 2.75 kB / 1.159 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/1.019, allocations: 0.9433 MB / 1.16 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/1.02, allocations: 239.9 kB / 1.16 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/1.02, allocations: 8.781 kB / 1.16 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/1.021, allocations: 78.09 kB / 1.161 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.021, allocations: 32.61 kB / 1.161 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/1.021, allocations: 9.062 kB / 1.161 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001448/1.022, allocations: 0.8303 MB / 1.161 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.82e-07/1.022, allocations: 4 kB / 1.161 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002219/1.024, allocations: 0.5015 MB / 1.162 GB, free: 10.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 22 * 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.0005435/1.025, allocations: 196.8 kB / 1.162 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00227/1.027, allocations: 1.123 MB / 1.163 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.027, allocations: 0 / 1.163 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004632/1.028, allocations: 250.6 kB / 1.163 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.031, allocations: 0.6466 MB / 1.164 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/1.035, allocations: 2.103 MB / 1.166 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.036, allocations: 1.24 MB / 1.167 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001258/1.037, allocations: 357.4 kB / 1.168 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/1.037, allocations: 74.17 kB / 1.168 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.037, allocations: 0 / 1.168 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of Templates: time 0.03827/1.076, allocations: 20.83 MB / 1.188 GB, free: 9.633 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)