Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 252.6 MB / 265.2 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001425, allocations: 167.9 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 90.62 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.205e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.016/7.255, allocations: 2.184 GB / 3.079 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/7.255, allocations: 90.75 kB / 3.079 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.01/17.26, allocations: 1.921 GB / 5.001 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/17.27, allocations: 0 / 5.001 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002015/17.27, allocations: 37.77 kB / 5.001 GB, free: 198 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.006817/17.27, allocations: 1.265 MB / 5.002 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/17.27, allocations: 11.78 kB / 5.002 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/17.27, allocations: 201.8 kB / 5.002 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006725/17.28, allocations: 1.446 MB / 5.004 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/17.28, allocations: 58.81 kB / 5.004 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/17.28, allocations: 67 kB / 5.004 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/17.28, allocations: 0.917 MB / 5.005 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/17.28, allocations: 3.844 kB / 5.005 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/17.28, allocations: 23.25 kB / 5.005 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/17.28, allocations: 23.12 kB / 5.005 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/17.28, allocations: 0.7004 MB / 5.005 GB, free: 195.2 MB / 0.8698 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.006416/17.29, allocations: 4.701 MB / 5.01 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/17.29, allocations: 3.966 MB / 5.014 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006675/17.29, allocations: 325.3 kB / 5.014 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/17.29, allocations: 197.4 kB / 5.014 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/17.29, allocations: 313.3 kB / 5.015 GB, free: 185 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006347/17.3, allocations: 27.69 kB / 5.015 GB, free: 185 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.876e-06/17.3, allocations: 0 / 5.015 GB, free: 185 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.002167/17.3, allocations: 0.7627 MB / 5.015 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/17.3, allocations: 85.11 kB / 5.015 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/17.3, allocations: 1.032 MB / 5.016 GB, free: 183 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/17.3, allocations: 45.69 kB / 5.016 GB, free: 183 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/17.3, allocations: 0.5088 MB / 5.017 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/17.3, allocations: 125.6 kB / 5.017 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/17.3, allocations: 8 kB / 5.017 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/17.3, allocations: 334 kB / 5.017 GB, free: 182 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/17.3, allocations: 185 kB / 5.018 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/17.3, allocations: 0.5249 MB / 5.018 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005621/17.3, allocations: 323.5 kB / 5.018 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/17.3, allocations: 4 kB / 5.018 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002332/17.3, allocations: 0.9522 MB / 5.019 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004733/17.31, allocations: 2.226 MB / 5.022 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/17.31, allocations: 4 kB / 5.022 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/17.31, allocations: 270.7 kB / 5.022 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/17.31, allocations: 83.81 kB / 5.022 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/17.31, allocations: 1.039 MB / 5.023 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/17.31, allocations: 103.8 kB / 5.023 GB, free: 176 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/17.31, allocations: 31.98 kB / 5.023 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/17.31, allocations: 5.406 kB / 5.023 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002002/17.31, allocations: 0.7591 MB / 5.024 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/17.31, allocations: 8 kB / 5.024 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/17.31, allocations: 257.2 kB / 5.024 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/17.31, allocations: 79.83 kB / 5.024 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/17.32, allocations: 3.072 MB / 5.027 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/17.32, allocations: 103.8 kB / 5.027 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/17.32, allocations: 28 kB / 5.027 GB, free: 171.5 MB / 0.8698 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002553/17.32, allocations: 141 kB / 5.027 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/17.32, allocations: 110.5 kB / 5.027 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/17.32, allocations: 0.7944 MB / 5.028 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/17.32, allocations: 4 kB / 5.028 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/17.32, allocations: 4 kB / 5.028 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/17.32, allocations: 0 / 5.028 GB, free: 170.4 MB / 0.8698 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.004611/17.33, allocations: 2.148 MB / 5.03 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/17.33, allocations: 7.984 kB / 5.03 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/17.33, allocations: 43.91 kB / 5.03 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000778/17.33, allocations: 211.1 kB / 5.031 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/17.33, allocations: 8 kB / 5.031 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009848/17.33, allocations: 0.88 MB / 5.031 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/17.33, allocations: 4 kB / 5.031 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/17.33, allocations: 0.9599 MB / 5.032 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/17.33, allocations: 235.7 kB / 5.033 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/17.33, allocations: 8 kB / 5.033 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/17.34, allocations: 87.66 kB / 5.033 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/17.34, allocations: 39.83 kB / 5.033 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/17.34, allocations: 12 kB / 5.033 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001576/17.34, allocations: 0.8184 MB / 5.034 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/17.34, allocations: 0 / 5.034 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00273/17.34, allocations: 0.6012 MB / 5.034 GB, free: 164.1 MB / 0.8698 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/17.34, allocations: 1.129 MB / 5.035 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00272/17.35, allocations: 1.12 MB / 5.036 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/17.35, allocations: 64 / 5.036 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/17.35, allocations: 244.2 kB / 5.037 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00616/17.35, allocations: 0.6498 MB / 5.037 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/17.36, allocations: 1.454 MB / 5.039 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/17.36, allocations: 1.242 MB / 5.04 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003688/17.36, allocations: 0.8076 MB / 5.041 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/17.36, allocations: 47.44 kB / 5.041 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/17.36, allocations: 0 / 5.041 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.08477/17.45, allocations: 39.4 MB / 5.079 GB, free: 118.4 MB / 0.8698 GB