Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.174/2.174, allocations: 248.7 MB / 256.2 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 185.2 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 86.53 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.037e-05, allocations: 7.984 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 106.2 MB / 0.8841 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.122/7.349, allocations: 2.182 GB / 3.066 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/7.349, allocations: 90.11 kB / 3.066 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.748/16.1, allocations: 1.706 GB / 4.772 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/16.1, allocations: 0 / 4.772 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001761/16.1, allocations: 27.98 kB / 4.772 GB, free: 133.9 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.003057/16.1, allocations: 1.148 MB / 4.773 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/16.1, allocations: 12.5 kB / 4.773 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/16.1, allocations: 182.5 kB / 4.773 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003778/16.11, allocations: 1.081 MB / 4.774 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/16.11, allocations: 16 kB / 4.774 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/16.11, allocations: 44 kB / 4.774 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/16.11, allocations: 466.3 kB / 4.774 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/16.11, allocations: 0.6649 MB / 4.775 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/16.11, allocations: 7.938 kB / 4.775 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/16.11, allocations: 4 kB / 4.775 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/16.11, allocations: 16 kB / 4.775 GB, free: 130.1 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.008098/16.12, allocations: 4.473 MB / 4.779 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/16.12, allocations: 442.4 kB / 4.78 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/16.12, allocations: 239.6 kB / 4.78 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/16.12, allocations: 198.2 kB / 4.78 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007797/16.12, allocations: 257.4 kB / 4.781 GB, free: 124 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 4.268e-06/16.12, allocations: 0 / 4.781 GB, free: 124 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001458/16.12, allocations: 0.4935 MB / 4.781 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/16.12, allocations: 85.11 kB / 4.781 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/16.12, allocations: 0.848 MB / 4.782 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/16.12, allocations: 25.7 kB / 4.782 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/16.12, allocations: 496.9 kB / 4.782 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/16.12, allocations: 102.5 kB / 4.783 GB, free: 122 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/16.12, allocations: 0 / 4.783 GB, free: 122 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/16.12, allocations: 322 kB / 4.783 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/16.13, allocations: 180.8 kB / 4.783 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/16.13, allocations: 0.496 MB / 4.784 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/16.13, allocations: 261.8 kB / 4.784 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/16.13, allocations: 0 / 4.784 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001519/16.13, allocations: 0.6131 MB / 4.784 GB, free: 120 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005734/16.13, allocations: 2.131 MB / 4.786 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/16.13, allocations: 4 kB / 4.786 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-05/16.13, allocations: 8 kB / 4.786 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/16.13, allocations: 111.8 kB / 4.787 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/16.13, allocations: 15.92 kB / 4.787 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/16.13, allocations: 91.47 kB / 4.787 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/16.13, allocations: 31.98 kB / 4.787 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/16.13, allocations: 0 / 4.787 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/16.13, allocations: 416 kB / 4.787 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/16.13, allocations: 4 kB / 4.787 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/16.13, allocations: 8 kB / 4.787 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/16.13, allocations: 112.2 kB / 4.787 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/16.13, allocations: 11.98 kB / 4.787 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/16.13, allocations: 79.62 kB / 4.787 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/16.13, allocations: 24 kB / 4.787 GB, free: 116.8 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.0002274/16.13, allocations: 136.7 kB / 4.787 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009889/16.14, allocations: 408.3 kB / 4.788 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/16.14, allocations: 90.88 kB / 4.788 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/16.14, allocations: 442.7 kB / 4.788 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/16.14, allocations: 4 kB / 4.788 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/16.14, allocations: 0 / 4.788 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/16.14, allocations: 4.234 kB / 4.788 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/16.14, allocations: 1.261 MB / 4.79 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/16.14, allocations: 4 kB / 4.79 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/16.14, allocations: 63.89 kB / 4.79 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/16.14, allocations: 11.94 kB / 4.79 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/16.14, allocations: 8 kB / 4.79 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/16.14, allocations: 4 kB / 4.79 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.822e-06/16.14, allocations: 3.938 kB / 4.79 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/16.14, allocations: 0.6291 MB / 4.79 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/16.14, allocations: 211.9 kB / 4.791 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/16.14, allocations: 4 kB / 4.791 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/16.14, allocations: 47.84 kB / 4.791 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/16.14, allocations: 39.91 kB / 4.791 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/16.14, allocations: 11.98 kB / 4.791 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001162/16.14, allocations: 0.6572 MB / 4.791 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/16.14, allocations: 0 / 4.791 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002003/16.15, allocations: 451.3 kB / 4.792 GB, free: 112.1 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.002979/16.15, allocations: 2.587 MB / 4.794 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001584/16.15, allocations: 0.7631 MB / 4.795 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/16.15, allocations: 0 / 4.795 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/16.15, allocations: 177.8 kB / 4.795 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/16.16, allocations: 401.2 kB / 4.796 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/16.16, allocations: 1.588 MB / 4.797 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/16.16, allocations: 1.21 MB / 4.798 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003465/16.16, allocations: 0.7445 MB / 4.799 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/16.16, allocations: 307.3 kB / 4.799 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.543e-06/16.16, allocations: 3.938 kB / 4.799 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/16.27, allocations: 29.87 MB / 4.828 GB, free: 74.42 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/16.28, allocations: 194.1 kB / 4.829 GB, free: 74.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.773/20.05, allocations: 0 / 4.829 GB, free: 74.23 MB / 0.8698 GB