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.658/1.658, allocations: 288.4 MB / 304.3 MB, free: 8.051 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.001053/0.001053, allocations: 183 kB / 373 MB, free: 10.14 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.576/1.576, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0008718/0.0008718, allocations: 92.08 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 17.08 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.558/4.805, allocations: 2.064 GB / 3.044 GB, free: 253.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/4.805, allocations: 97.06 kB / 3.045 GB, free: 253.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.202/10.01, allocations: 1.978 GB / 5.023 GB, free: 87.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.853e-06/10.01, allocations: 0 / 5.023 GB, free: 87.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.602e-05/10.01, allocations: 35.98 kB / 5.023 GB, free: 87.75 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.004056/10.01, allocations: 1.562 MB / 5.024 GB, free: 86.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/10.01, allocations: 12.03 kB / 5.024 GB, free: 86.11 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008103/10.01, allocations: 199.3 kB / 5.025 GB, free: 85.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/10.01, allocations: 1.492 MB / 5.026 GB, free: 84.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/10.01, allocations: 49.69 kB / 5.026 GB, free: 84.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/10.01, allocations: 64.38 kB / 5.026 GB, free: 84.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/10.02, allocations: 0.9602 MB / 5.027 GB, free: 83.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/10.02, allocations: 3.938 kB / 5.027 GB, free: 83.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/10.02, allocations: 24 kB / 5.027 GB, free: 83.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/10.02, allocations: 12 kB / 5.027 GB, free: 83.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009754/10.02, allocations: 0.7532 MB / 5.028 GB, free: 82.42 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.003309/10.02, allocations: 4.741 MB / 5.032 GB, free: 77.36 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/10.02, allocations: 4.071 MB / 5.036 GB, free: 72.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/10.02, allocations: 346.5 kB / 5.037 GB, free: 72.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/10.02, allocations: 190.2 kB / 5.037 GB, free: 71.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/10.02, allocations: 335.2 kB / 5.037 GB, free: 71.55 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003496/10.02, allocations: 27.69 kB / 5.037 GB, free: 71.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.625e-06/10.02, allocations: 0 / 5.037 GB, free: 71.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.004025/10.03, allocations: 1.547 MB / 5.039 GB, free: 69.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/10.03, allocations: 85.11 kB / 5.039 GB, free: 69.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/10.03, allocations: 1.173 MB / 5.04 GB, free: 68.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/10.03, allocations: 37.7 kB / 5.04 GB, free: 68.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/10.03, allocations: 0.5162 MB / 5.041 GB, free: 68.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/10.03, allocations: 126.2 kB / 5.041 GB, free: 67.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/10.03, allocations: 12 kB / 5.041 GB, free: 67.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/10.03, allocations: 326 kB / 5.041 GB, free: 67.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/10.03, allocations: 209 kB / 5.041 GB, free: 67.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/10.03, allocations: 0.56 MB / 5.042 GB, free: 66.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/10.03, allocations: 0.6528 MB / 5.042 GB, free: 65.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/10.03, allocations: 0 / 5.042 GB, free: 65.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001712/10.03, allocations: 1.032 MB / 5.043 GB, free: 64.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/10.03, allocations: 283.9 kB / 5.044 GB, free: 64.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/10.03, allocations: 7.938 kB / 5.044 GB, free: 64.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/10.03, allocations: 328.4 kB / 5.044 GB, free: 64.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/10.03, allocations: 76.77 kB / 5.044 GB, free: 64.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006927/10.03, allocations: 1.009 MB / 5.045 GB, free: 63.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/10.04, allocations: 107.8 kB / 5.045 GB, free: 63.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/10.04, allocations: 27.98 kB / 5.045 GB, free: 63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/10.04, allocations: 4 kB / 5.045 GB, free: 63 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/10.04, allocations: 0.7863 MB / 5.046 GB, free: 62.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/10.04, allocations: 4 kB / 5.046 GB, free: 62.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/10.04, allocations: 222.2 kB / 5.046 GB, free: 61.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/10.04, allocations: 83.83 kB / 5.046 GB, free: 61.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/10.04, allocations: 2.894 MB / 5.049 GB, free: 58.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/10.04, allocations: 99.8 kB / 5.049 GB, free: 58.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/10.04, allocations: 24 kB / 5.049 GB, free: 58.75 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.0005326/10.04, allocations: 486.3 kB / 5.05 GB, free: 58.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/10.04, allocations: 110.6 kB / 5.05 GB, free: 58.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/10.04, allocations: 0.7969 MB / 5.051 GB, free: 57.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/10.04, allocations: 4 kB / 5.051 GB, free: 57.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/10.04, allocations: 0 / 5.051 GB, free: 57.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/10.04, allocations: 3.984 kB / 5.051 GB, free: 57.34 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.002206/10.04, allocations: 2.148 MB / 5.053 GB, free: 55.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/10.04, allocations: 4.031 kB / 5.053 GB, free: 55.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/10.04, allocations: 55.92 kB / 5.053 GB, free: 55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/10.05, allocations: 172.5 kB / 5.053 GB, free: 54.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/10.05, allocations: 16 kB / 5.053 GB, free: 54.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004808/10.05, allocations: 0.8527 MB / 5.054 GB, free: 53.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/10.05, allocations: 7.969 kB / 5.054 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/10.05, allocations: 0.8697 MB / 5.055 GB, free: 53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/10.05, allocations: 235.7 kB / 5.055 GB, free: 52.75 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/10.05, allocations: 8 kB / 5.055 GB, free: 52.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/10.05, allocations: 79.75 kB / 5.055 GB, free: 52.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/10.05, allocations: 39.83 kB / 5.055 GB, free: 52.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/10.05, allocations: 16 kB / 5.055 GB, free: 52.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007926/10.05, allocations: 0.817 MB / 5.056 GB, free: 51.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/10.05, allocations: 0 / 5.056 GB, free: 51.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001502/10.05, allocations: 0.6088 MB / 5.056 GB, free: 51.18 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.001279/10.05, allocations: 1.07 MB / 5.057 GB, free: 50.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001679/10.05, allocations: 1.13 MB / 5.059 GB, free: 48.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/10.05, allocations: 7.938 kB / 5.059 GB, free: 48.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/10.05, allocations: 256.9 kB / 5.059 GB, free: 48.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/10.06, allocations: 0.6511 MB / 5.059 GB, free: 48.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/10.06, allocations: 2.095 MB / 5.061 GB, free: 45.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/10.06, allocations: 1.213 MB / 5.063 GB, free: 44.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001103/10.06, allocations: 388.6 kB / 5.063 GB, free: 44.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/10.06, allocations: 79.36 kB / 5.063 GB, free: 44.18 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/10.06, allocations: 0 / 5.063 GB, free: 44.18 MB / 0.948 GB Notification: Performance of Templates: time 0.04149/10.1, allocations: 33.71 MB / 5.096 GB, free: 10.63 MB / 0.948 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)