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.176/2.176, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.0016/0.001599, allocations: 179.2 kB / 325.6 MB, free: 2.824 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.361/2.361, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.00115/0.001149, allocations: 102 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 16.09 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 106.2 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.966/7.175, allocations: 2.182 GB / 3.08 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/7.176, allocations: 93.39 kB / 3.081 GB, free: 244 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.794/15.97, allocations: 1.726 GB / 4.806 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/15.97, allocations: 0 / 4.806 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001466/15.97, allocations: 40.83 kB / 4.806 GB, free: 258.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004321/15.97, allocations: 1.413 MB / 4.808 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/15.97, allocations: 11.47 kB / 4.808 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/15.98, allocations: 181 kB / 4.808 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/15.98, allocations: 1.092 MB / 4.809 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/15.98, allocations: 49.44 kB / 4.809 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/15.98, allocations: 66 kB / 4.809 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/15.98, allocations: 0.7643 MB / 4.81 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/15.98, allocations: 0 / 4.81 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/15.98, allocations: 25.22 kB / 4.81 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/15.98, allocations: 19.12 kB / 4.81 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/15.98, allocations: 0.5092 MB / 4.81 GB, free: 257.2 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.005533/15.99, allocations: 4.591 MB / 4.815 GB, free: 253.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/15.99, allocations: 427.7 kB / 4.815 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/15.99, allocations: 200 kB / 4.815 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006616/15.99, allocations: 295.5 kB / 4.816 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.777e-06/15.99, allocations: 0 / 4.816 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.002168/15.99, allocations: 0.6371 MB / 4.816 GB, free: 253.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/15.99, allocations: 83.47 kB / 4.816 GB, free: 253.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/15.99, allocations: 0.9863 MB / 4.817 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/15.99, allocations: 36.2 kB / 4.817 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/16, allocations: 494.3 kB / 4.818 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/16, allocations: 115.3 kB / 4.818 GB, free: 253 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/16, allocations: 10.72 kB / 4.818 GB, free: 253 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/16, allocations: 320.2 kB / 4.818 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/16, allocations: 185.5 kB / 4.818 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/16, allocations: 0.5098 MB / 4.819 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/16, allocations: 291.2 kB / 4.819 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/16, allocations: 3.594 kB / 4.819 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001796/16, allocations: 0.679 MB / 4.82 GB, free: 252.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004786/16, allocations: 2.135 MB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/16, allocations: 3.562 kB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/16, allocations: 11.28 kB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/16, allocations: 112.7 kB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/16, allocations: 11.12 kB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/16, allocations: 108.8 kB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/16, allocations: 28.77 kB / 4.822 GB, free: 250 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/16, allocations: 8.656 kB / 4.822 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/16, allocations: 0.5423 MB / 4.823 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/16, allocations: 3.875 kB / 4.823 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/16, allocations: 11.77 kB / 4.823 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/16, allocations: 107.8 kB / 4.823 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/16, allocations: 15.5 kB / 4.823 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/16.01, allocations: 96.25 kB / 4.823 GB, free: 249.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/16.01, allocations: 23.81 kB / 4.823 GB, free: 249.9 MB / 0.8855 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 () * Number of clocked 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.0007889/16.01, allocations: 465.8 kB / 4.823 GB, free: 249.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/16.01, allocations: 100.4 kB / 4.823 GB, free: 249.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/16.01, allocations: 0.4936 MB / 4.824 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/16.01, allocations: 10.8 kB / 4.824 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/16.01, allocations: 0 / 4.824 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/16.01, allocations: 3.703 kB / 4.824 GB, free: 249.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/16.01, allocations: 1.396 MB / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/16.01, allocations: 0 / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/16.01, allocations: 71.61 kB / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/16.01, allocations: 3.406 kB / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/16.01, allocations: 6.719 kB / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/16.01, allocations: 6.188 kB / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/16.01, allocations: 0 / 4.825 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/16.01, allocations: 0.7032 MB / 4.826 GB, free: 248.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/16.01, allocations: 218.7 kB / 4.826 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/16.01, allocations: 7.25 kB / 4.826 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/16.01, allocations: 57.53 kB / 4.826 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/16.02, allocations: 32.75 kB / 4.826 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/16.02, allocations: 14.83 kB / 4.826 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001506/16.02, allocations: 0.7797 MB / 4.827 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/16.02, allocations: 3.688 kB / 4.827 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002046/16.02, allocations: 480.6 kB / 4.828 GB, free: 248.4 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001679/16.02, allocations: 0.9047 MB / 4.829 GB, free: 248.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002088/16.02, allocations: 0.8031 MB / 4.829 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/16.02, allocations: 3.531 kB / 4.829 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/16.02, allocations: 211 kB / 4.83 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/16.03, allocations: 456.2 kB / 4.83 GB, free: 248 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/16.03, allocations: 1.952 MB / 4.832 GB, free: 247.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/16.03, allocations: 1.198 MB / 4.833 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002003/16.03, allocations: 429.5 kB / 4.833 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/16.03, allocations: 71.19 kB / 4.834 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/16.03, allocations: 0 / 4.834 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.06044/16.09, allocations: 26.7 MB / 4.86 GB, free: 234.8 MB / 0.8855 GB