Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.98/4.98, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002452/0.002453, allocations: 362.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.172/4.172, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00187/0.00187, allocations: 195.1 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.000515, allocations: 12 kB / 1.349 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7441, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/7.182, allocations: 2.063 GB / 3.525 GB, free: 278.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/7.183, allocations: 105.1 kB / 3.525 GB, free: 278.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.97/17.15, allocations: 1.977 GB / 5.502 GB, free: 155.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.535e-06/17.15, allocations: 0 / 5.502 GB, free: 155.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001511/17.15, allocations: 31.98 kB / 5.502 GB, free: 155.4 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.007987/17.16, allocations: 1.577 MB / 5.504 GB, free: 153.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/17.16, allocations: 15.62 kB / 5.504 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/17.16, allocations: 202.3 kB / 5.504 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/17.17, allocations: 1.437 MB / 5.505 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/17.17, allocations: 49.31 kB / 5.505 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/17.17, allocations: 67.94 kB / 5.505 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/17.17, allocations: 0.9566 MB / 5.506 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/17.17, allocations: 9.484 kB / 5.506 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/17.17, allocations: 24 kB / 5.506 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/17.17, allocations: 16 kB / 5.506 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/17.17, allocations: 0.757 MB / 5.507 GB, free: 150.1 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.00625/17.18, allocations: 4.741 MB / 5.512 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/17.18, allocations: 4.058 MB / 5.516 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/17.18, allocations: 346.8 kB / 5.516 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/17.18, allocations: 198.2 kB / 5.516 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007313/17.18, allocations: 331.9 kB / 5.516 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006684/17.18, allocations: 35.69 kB / 5.516 GB, free: 139.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.085e-06/17.18, allocations: 0 / 5.516 GB, free: 139.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.007835/17.19, allocations: 1.54 MB / 5.518 GB, free: 137.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/17.19, allocations: 81.11 kB / 5.518 GB, free: 137.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/17.19, allocations: 1.177 MB / 5.519 GB, free: 136.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/17.19, allocations: 37.7 kB / 5.519 GB, free: 136.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/17.2, allocations: 0.5127 MB / 5.52 GB, free: 135.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/17.2, allocations: 130.2 kB / 5.52 GB, free: 135.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/17.2, allocations: 4 kB / 5.52 GB, free: 135.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.236e-05/17.2, allocations: 330 kB / 5.52 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/17.2, allocations: 209 kB / 5.52 GB, free: 135.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/17.2, allocations: 0.5554 MB / 5.521 GB, free: 134.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/17.2, allocations: 331.8 kB / 5.521 GB, free: 134.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/17.2, allocations: 4 kB / 5.521 GB, free: 134.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003443/17.2, allocations: 1.039 MB / 5.522 GB, free: 133 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/17.2, allocations: 280 kB / 5.523 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/17.2, allocations: 11.94 kB / 5.523 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/17.2, allocations: 317.8 kB / 5.523 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/17.2, allocations: 87.84 kB / 5.523 GB, free: 132.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/17.21, allocations: 0.9969 MB / 5.524 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/17.21, allocations: 95.81 kB / 5.524 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/17.21, allocations: 35.98 kB / 5.524 GB, free: 131.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/17.21, allocations: 4 kB / 5.524 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002184/17.21, allocations: 0.7865 MB / 5.525 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/17.21, allocations: 7.953 kB / 5.525 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00092/17.21, allocations: 221.1 kB / 5.525 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/17.21, allocations: 79.89 kB / 5.525 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004631/17.22, allocations: 2.893 MB / 5.528 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/17.22, allocations: 107.8 kB / 5.528 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/17.22, allocations: 24 kB / 5.528 GB, free: 126.9 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.0008165/17.22, allocations: 479.9 kB / 5.529 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/17.22, allocations: 110.7 kB / 5.529 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/17.22, allocations: 0.7951 MB / 5.529 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/17.22, allocations: 7.953 kB / 5.529 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/17.22, allocations: 0 / 5.529 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/17.22, allocations: 0 / 5.529 GB, free: 125.5 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.004271/17.22, allocations: 2.155 MB / 5.531 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/17.22, allocations: 4 kB / 5.532 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/17.23, allocations: 52.16 kB / 5.532 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006464/17.23, allocations: 176.6 kB / 5.532 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/17.23, allocations: 11.98 kB / 5.532 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009211/17.23, allocations: 0.8483 MB / 5.533 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/17.23, allocations: 11.95 kB / 5.533 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/17.23, allocations: 0.8599 MB / 5.533 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/17.23, allocations: 235.7 kB / 5.534 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/17.23, allocations: 11.95 kB / 5.534 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/17.23, allocations: 71.81 kB / 5.534 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/17.23, allocations: 43.89 kB / 5.534 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/17.23, allocations: 12 kB / 5.534 GB, free: 120.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001526/17.23, allocations: 0.8288 MB / 5.535 GB, free: 119.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.473e-06/17.23, allocations: 0 / 5.535 GB, free: 119.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002446/17.24, allocations: 0.6049 MB / 5.535 GB, free: 119.3 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.001919/17.24, allocations: 1.066 MB / 5.536 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002917/17.24, allocations: 1.13 MB / 5.537 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/17.24, allocations: 0 / 5.537 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/17.24, allocations: 260.2 kB / 5.538 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006145/17.25, allocations: 0.6584 MB / 5.538 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/17.25, allocations: 2.106 MB / 5.54 GB, free: 114 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/17.25, allocations: 1.229 MB / 5.541 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001929/17.25, allocations: 392.6 kB / 5.542 GB, free: 112.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/17.25, allocations: 71.44 kB / 5.542 GB, free: 112.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.253e-06/17.25, allocations: 0 / 5.542 GB, free: 112.3 MB / 0.948 GB Notification: Performance of Templates: time 0.07476/17.33, allocations: 33.38 MB / 5.574 GB, free: 79.31 MB / 0.948 GB