Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.112/2.112, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001562, allocations: 179.7 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.415/2.415, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001158/0.001158, allocations: 93.52 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004708, allocations: 11.59 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/6.438, allocations: 2.182 GB / 3.081 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/6.439, allocations: 91.92 kB / 3.081 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.55/16.99, allocations: 1.913 GB / 4.994 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.645e-06/16.99, allocations: 0 / 4.994 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002336/16.99, allocations: 35.98 kB / 4.994 GB, free: 160.3 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.009099/17, allocations: 1.58 MB / 4.995 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/17, allocations: 8.031 kB / 4.995 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/17, allocations: 198.3 kB / 4.996 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/17.01, allocations: 1.449 MB / 4.997 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.862e-05/17.01, allocations: 49.31 kB / 4.997 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/17.01, allocations: 60 kB / 4.997 GB, free: 156.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/17.01, allocations: 0.9504 MB / 4.998 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/17.01, allocations: 3.938 kB / 4.998 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/17.01, allocations: 27.98 kB / 4.998 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/17.01, allocations: 16 kB / 4.998 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/17.01, allocations: 0.757 MB / 4.999 GB, free: 155 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.006533/17.02, allocations: 4.722 MB / 5.004 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/17.02, allocations: 4.062 MB / 5.007 GB, free: 145 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/17.02, allocations: 194.2 kB / 5.008 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/17.02, allocations: 317.4 kB / 5.008 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006654/17.02, allocations: 43.58 kB / 5.008 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.276e-06/17.02, allocations: 4 kB / 5.008 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.00569/17.03, allocations: 1.313 MB / 5.009 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/17.03, allocations: 85.11 kB / 5.009 GB, free: 143 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/17.03, allocations: 1.042 MB / 5.01 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/17.03, allocations: 37.7 kB / 5.01 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/17.03, allocations: 0.5166 MB / 5.011 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/17.03, allocations: 126.2 kB / 5.011 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/17.03, allocations: 12 kB / 5.011 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/17.03, allocations: 322 kB / 5.011 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/17.03, allocations: 217 kB / 5.012 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/17.04, allocations: 0.5521 MB / 5.012 GB, free: 140 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/17.04, allocations: 324.3 kB / 5.012 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/17.04, allocations: 0 / 5.012 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00268/17.04, allocations: 0.9861 MB / 5.013 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/17.04, allocations: 2.224 MB / 5.016 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/17.04, allocations: 11.98 kB / 5.016 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/17.04, allocations: 233.9 kB / 5.016 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/17.04, allocations: 83.83 kB / 5.016 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/17.04, allocations: 0.9989 MB / 5.017 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/17.04, allocations: 95.81 kB / 5.017 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/17.04, allocations: 31.98 kB / 5.017 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/17.04, allocations: 4 kB / 5.017 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002274/17.05, allocations: 0.7984 MB / 5.018 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/17.05, allocations: 4 kB / 5.018 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/17.05, allocations: 223.1 kB / 5.018 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/17.05, allocations: 80.02 kB / 5.018 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/17.05, allocations: 2.939 MB / 5.021 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/17.06, allocations: 103.8 kB / 5.021 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-05/17.06, allocations: 27.98 kB / 5.021 GB, free: 130.5 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.0009116/17.06, allocations: 481.3 kB / 5.022 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/17.06, allocations: 110.7 kB / 5.022 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/17.06, allocations: 0.7969 MB / 5.022 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/17.06, allocations: 4 kB / 5.022 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/17.06, allocations: 4 kB / 5.022 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/17.06, allocations: 7.984 kB / 5.022 GB, free: 129.1 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.00465/17.06, allocations: 2.144 MB / 5.025 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/17.06, allocations: 4 kB / 5.025 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/17.06, allocations: 55.91 kB / 5.025 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/17.06, allocations: 176.9 kB / 5.025 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/17.06, allocations: 12 kB / 5.025 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009703/17.07, allocations: 0.8547 MB / 5.026 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/17.07, allocations: 4.031 kB / 5.026 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/17.07, allocations: 0.959 MB / 5.027 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006805/17.07, allocations: 235.7 kB / 5.027 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/17.07, allocations: 8 kB / 5.027 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/17.07, allocations: 87.75 kB / 5.027 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/17.07, allocations: 35.91 kB / 5.027 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/17.07, allocations: 8 kB / 5.027 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001678/17.07, allocations: 0.8249 MB / 5.028 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.533e-06/17.07, allocations: 0 / 5.028 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002702/17.07, allocations: 0.6088 MB / 5.028 GB, free: 122.8 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.002047/17.08, allocations: 1.059 MB / 5.029 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00318/17.08, allocations: 1.142 MB / 5.03 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/17.08, allocations: 0 / 5.03 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008002/17.08, allocations: 248.6 kB / 5.031 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/17.09, allocations: 0.6465 MB / 5.031 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/17.09, allocations: 2.11 MB / 5.033 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/17.09, allocations: 1.237 MB / 5.035 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00197/17.09, allocations: 388.6 kB / 5.035 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/17.09, allocations: 75.42 kB / 5.035 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/17.09, allocations: 0 / 5.035 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.07514/17.17, allocations: 33.36 MB / 5.068 GB, free: 82.61 MB / 0.8855 GB