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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.7 MB / 302.3 MB, free: 2.117 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.001128/0.001128, allocations: 182.4 kB / 371.6 MB, free: 3.375 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.772/1.772, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008825/0.0008824, allocations: 92.92 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.438e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.423/6.728, allocations: 2.065 GB / 3.044 GB, free: 132 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/6.729, allocations: 93.05 kB / 3.044 GB, free: 131.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.165/14.89, allocations: 1.981 GB / 5.025 GB, free: 194.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.512e-06/14.89, allocations: 0 / 5.025 GB, free: 194.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00012/14.89, allocations: 31.66 kB / 5.026 GB, free: 194.6 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.004013/14.9, allocations: 1.272 MB / 5.027 GB, free: 194.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/14.9, allocations: 14.28 kB / 5.027 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/14.9, allocations: 196.8 kB / 5.027 GB, free: 194.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/14.9, allocations: 1.432 MB / 5.028 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/14.9, allocations: 51.41 kB / 5.028 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/14.9, allocations: 65.5 kB / 5.028 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/14.9, allocations: 0.9243 MB / 5.029 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/14.9, allocations: 0 / 5.029 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/14.9, allocations: 23.78 kB / 5.029 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/14.9, allocations: 15.33 kB / 5.029 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009715/14.9, allocations: 0.7131 MB / 5.03 GB, free: 193.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00413/14.91, allocations: 4.733 MB / 5.035 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/14.91, allocations: 4.023 MB / 5.039 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/14.91, allocations: 325.6 kB / 5.039 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/14.91, allocations: 194.9 kB / 5.039 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/14.91, allocations: 305 kB / 5.039 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004239/14.91, allocations: 29.66 kB / 5.039 GB, free: 186 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/14.91, allocations: 0 / 5.039 GB, free: 186 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001298/14.91, allocations: 0.7315 MB / 5.04 GB, free: 185.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/14.91, allocations: 84.05 kB / 5.04 GB, free: 185.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/14.92, allocations: 1.027 MB / 5.041 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/14.92, allocations: 37.67 kB / 5.041 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/14.92, allocations: 0.5159 MB / 5.042 GB, free: 185.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/14.92, allocations: 125.8 kB / 5.042 GB, free: 185.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/14.92, allocations: 11.75 kB / 5.042 GB, free: 185.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/14.92, allocations: 333.4 kB / 5.042 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/14.92, allocations: 188.5 kB / 5.042 GB, free: 185.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/14.92, allocations: 0.5254 MB / 5.043 GB, free: 184.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/14.92, allocations: 306.6 kB / 5.043 GB, free: 184.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/14.92, allocations: 2.875 kB / 5.043 GB, free: 184.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001281/14.92, allocations: 0.9354 MB / 5.044 GB, free: 184.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005423/14.92, allocations: 2.224 MB / 5.046 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/14.92, allocations: 7.094 kB / 5.046 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/14.92, allocations: 237.8 kB / 5.047 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/14.92, allocations: 73.89 kB / 5.047 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008557/14.92, allocations: 0.9993 MB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/14.92, allocations: 105.6 kB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/14.92, allocations: 30.52 kB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/14.92, allocations: 6.469 kB / 5.048 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/14.92, allocations: 0.7453 MB / 5.048 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/14.92, allocations: 3.188 kB / 5.048 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/14.92, allocations: 220.9 kB / 5.049 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/14.92, allocations: 78.25 kB / 5.049 GB, free: 181.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/14.93, allocations: 2.886 MB / 5.052 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/14.93, allocations: 95.31 kB / 5.052 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/14.93, allocations: 26.14 kB / 5.052 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 () * 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.0001927/14.93, allocations: 150.1 kB / 5.052 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/14.93, allocations: 106 kB / 5.052 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/14.93, allocations: 0.7575 MB / 5.053 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/14.93, allocations: 6 kB / 5.053 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/14.93, allocations: 0 / 5.053 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/14.93, allocations: 0 / 5.053 GB, free: 180 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002796/14.93, allocations: 2.125 MB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/14.93, allocations: 3.375 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/14.93, allocations: 46.75 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/14.93, allocations: 180.2 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/14.93, allocations: 7.156 kB / 5.055 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007008/14.93, allocations: 0.856 MB / 5.056 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/14.93, allocations: 9.938 kB / 5.056 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/14.93, allocations: 0.9217 MB / 5.057 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/14.94, allocations: 234.5 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/14.94, allocations: 12.38 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/14.94, allocations: 80.31 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/14.94, allocations: 35.14 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/14.94, allocations: 13.66 kB / 5.057 GB, free: 178.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001116/14.94, allocations: 0.8131 MB / 5.058 GB, free: 178 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/14.94, allocations: 0 / 5.058 GB, free: 178 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002334/14.94, allocations: 0.6055 MB / 5.058 GB, free: 177.9 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) * 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.002216/14.94, allocations: 1.06 MB / 5.06 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00238/14.94, allocations: 1.103 MB / 5.061 GB, free: 177.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/14.94, allocations: 0 / 5.061 GB, free: 177.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/14.94, allocations: 232.6 kB / 5.061 GB, free: 177.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/14.95, allocations: 0.647 MB / 5.061 GB, free: 177.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/14.95, allocations: 1.468 MB / 5.063 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/14.95, allocations: 1.237 MB / 5.064 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002449/14.95, allocations: 0.8215 MB / 5.065 GB, free: 176.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/14.96, allocations: 48.56 kB / 5.065 GB, free: 176.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.69e-06/14.96, allocations: 0 / 5.065 GB, free: 176.3 MB / 0.948 GB Notification: Performance of Templates: time 0.06789/15.02, allocations: 38.27 MB / 5.102 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)