Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.187/2.187, allocations: 253.2 MB / 260.6 MB, free: 7.391 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.001491/0.00149, allocations: 177 kB / 319.9 MB, free: 3.035 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.078/2.078, allocations: 205.5 MB / 0.5708 GB, free: 15.18 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.001095/0.001094, allocations: 92.83 kB / 0.6751 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.537e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2094, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.089/7.298, allocations: 2.182 GB / 3.07 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/7.299, allocations: 84.08 kB / 3.071 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.719/16.02, allocations: 1.706 GB / 4.776 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/16.02, allocations: 0 / 4.776 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001475/16.02, allocations: 27.98 kB / 4.776 GB, free: 126.4 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002711/16.02, allocations: 1.14 MB / 4.777 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/16.02, allocations: 12.03 kB / 4.777 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/16.02, allocations: 186.5 kB / 4.777 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/16.03, allocations: 1.077 MB / 4.779 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/16.03, allocations: 19.98 kB / 4.779 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/16.03, allocations: 39.94 kB / 4.779 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001123/16.03, allocations: 470.3 kB / 4.779 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/16.03, allocations: 0.6738 MB / 4.78 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/16.03, allocations: 7.875 kB / 4.78 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/16.03, allocations: 7.938 kB / 4.78 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/16.03, allocations: 12 kB / 4.78 GB, free: 122.6 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.005204/16.03, allocations: 4.469 MB / 4.784 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008171/16.03, allocations: 442.5 kB / 4.784 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/16.03, allocations: 232.7 kB / 4.785 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/16.04, allocations: 198.2 kB / 4.785 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/16.04, allocations: 261.1 kB / 4.785 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.286e-06/16.04, allocations: 4 kB / 4.785 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001397/16.04, allocations: 489.9 kB / 4.786 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/16.04, allocations: 85.05 kB / 4.786 GB, free: 116 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/16.04, allocations: 0.8518 MB / 4.787 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.982e-05/16.04, allocations: 29.7 kB / 4.787 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/16.04, allocations: 488.1 kB / 4.787 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/16.04, allocations: 110.5 kB / 4.787 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/16.04, allocations: 4 kB / 4.787 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/16.04, allocations: 326 kB / 4.787 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/16.04, allocations: 176.8 kB / 4.788 GB, free: 114 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/16.04, allocations: 495.9 kB / 4.788 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/16.04, allocations: 257.9 kB / 4.788 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/16.04, allocations: 4 kB / 4.788 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001336/16.04, allocations: 0.6135 MB / 4.789 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004378/16.04, allocations: 2.136 MB / 4.791 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/16.04, allocations: 11.94 kB / 4.791 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/16.04, allocations: 8 kB / 4.791 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008143/16.04, allocations: 111.8 kB / 4.791 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/16.04, allocations: 15.92 kB / 4.791 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/16.04, allocations: 87.53 kB / 4.791 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/16.04, allocations: 31.98 kB / 4.791 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/16.04, allocations: 4 kB / 4.791 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008978/16.05, allocations: 415.7 kB / 4.792 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/16.05, allocations: 8 kB / 4.792 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/16.05, allocations: 8.656 kB / 4.792 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/16.05, allocations: 107.9 kB / 4.792 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/16.05, allocations: 11.94 kB / 4.792 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/16.05, allocations: 75.62 kB / 4.792 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/16.05, allocations: 23.98 kB / 4.792 GB, free: 109.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/16.05, allocations: 129 kB / 4.792 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/16.05, allocations: 98.88 kB / 4.792 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/16.05, allocations: 442.7 kB / 4.793 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/16.05, allocations: 4 kB / 4.793 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/16.05, allocations: 0 / 4.793 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/16.05, allocations: 0 / 4.793 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/16.05, allocations: 1.273 MB / 4.794 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/16.05, allocations: 4 kB / 4.794 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/16.05, allocations: 67.89 kB / 4.794 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/16.05, allocations: 4 kB / 4.794 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/16.05, allocations: 8.219 kB / 4.794 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/16.05, allocations: 7.953 kB / 4.794 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/16.05, allocations: 3.938 kB / 4.794 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/16.05, allocations: 0.6211 MB / 4.794 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/16.05, allocations: 207.9 kB / 4.795 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/16.05, allocations: 11.95 kB / 4.795 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/16.05, allocations: 55.73 kB / 4.795 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/16.06, allocations: 31.89 kB / 4.795 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/16.06, allocations: 12 kB / 4.795 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001126/16.06, allocations: 0.665 MB / 4.795 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/16.06, allocations: 0 / 4.795 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001897/16.06, allocations: 443.4 kB / 4.796 GB, free: 105 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/16.06, allocations: 1.027 MB / 4.797 GB, free: 104 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00151/16.06, allocations: 0.757 MB / 4.798 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/16.06, allocations: 0 / 4.798 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/16.06, allocations: 179.9 kB / 4.798 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/16.06, allocations: 404.2 kB / 4.798 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/16.07, allocations: 1.321 MB / 4.799 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/16.07, allocations: 1.206 MB / 4.801 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003383/16.07, allocations: 0.7484 MB / 4.801 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/16.07, allocations: 55.42 kB / 4.801 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of SimCode: time 1.322e-06/16.07, allocations: 0 / 4.801 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.04902/16.12, allocations: 19.86 MB / 4.821 GB, free: 79.54 MB / 0.8698 GB