Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.356/4.356, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.609e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.729/6.948, allocations: 2.177 GB / 2.806 GB, free: 159.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/6.949, allocations: 93.31 kB / 2.806 GB, free: 159 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.622/15.57, allocations: 1.705 GB / 4.511 GB, free: 39.89 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.974e-06/15.57, allocations: 7.938 kB / 4.511 GB, free: 39.88 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001611/15.57, allocations: 31.98 kB / 4.511 GB, free: 39.85 MB / 0.823 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.00285/15.57, allocations: 1.137 MB / 4.512 GB, free: 38.66 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/15.57, allocations: 11.97 kB / 4.512 GB, free: 38.65 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/15.58, allocations: 190.5 kB / 4.513 GB, free: 38.46 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/15.58, allocations: 1.093 MB / 4.514 GB, free: 37.31 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/15.58, allocations: 16 kB / 4.514 GB, free: 37.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/15.58, allocations: 36 kB / 4.514 GB, free: 37.26 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/15.58, allocations: 470.3 kB / 4.514 GB, free: 36.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/15.58, allocations: 0.6728 MB / 4.515 GB, free: 36.05 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/15.58, allocations: 7.938 kB / 4.515 GB, free: 36.04 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/15.58, allocations: 0 / 4.515 GB, free: 36.04 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/15.58, allocations: 16 kB / 4.515 GB, free: 36.03 MB / 0.823 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.005439/15.59, allocations: 4.306 MB / 4.519 GB, free: 31.36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/15.59, allocations: 458.6 kB / 4.52 GB, free: 30.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/15.59, allocations: 244.1 kB / 4.52 GB, free: 30.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/15.59, allocations: 202.1 kB / 4.52 GB, free: 30.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005156/15.59, allocations: 261.1 kB / 4.52 GB, free: 30.15 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.376e-06/15.59, allocations: 0 / 4.52 GB, free: 30.15 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001543/15.59, allocations: 492 kB / 4.521 GB, free: 29.67 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/15.59, allocations: 85.11 kB / 4.521 GB, free: 29.57 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/15.59, allocations: 0.844 MB / 4.522 GB, free: 28.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/15.59, allocations: 33.7 kB / 4.522 GB, free: 28.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/15.59, allocations: 0.4923 MB / 4.522 GB, free: 28.17 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/15.59, allocations: 102.5 kB / 4.522 GB, free: 28.07 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/15.59, allocations: 0 / 4.522 GB, free: 28.07 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/15.59, allocations: 330 kB / 4.523 GB, free: 27.74 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/15.59, allocations: 184.7 kB / 4.523 GB, free: 27.56 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/15.6, allocations: 499.9 kB / 4.523 GB, free: 26.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/15.6, allocations: 263.2 kB / 4.523 GB, free: 26.68 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/15.6, allocations: 4 kB / 4.523 GB, free: 26.67 MB / 0.823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001482/15.6, allocations: 0.613 MB / 4.524 GB, free: 26.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005001/15.6, allocations: 2.128 MB / 4.526 GB, free: 23.76 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/15.6, allocations: 8 kB / 4.526 GB, free: 23.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/15.6, allocations: 8 kB / 4.526 GB, free: 23.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000868/15.6, allocations: 119.8 kB / 4.526 GB, free: 23.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/15.6, allocations: 8 kB / 4.526 GB, free: 23.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/15.6, allocations: 87.52 kB / 4.526 GB, free: 23.53 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/15.6, allocations: 24 kB / 4.526 GB, free: 23.51 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/15.6, allocations: 4 kB / 4.526 GB, free: 23.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009218/15.6, allocations: 420.4 kB / 4.527 GB, free: 23.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/15.6, allocations: 8 kB / 4.527 GB, free: 23.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/15.6, allocations: 11.95 kB / 4.527 GB, free: 23.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/15.6, allocations: 112.5 kB / 4.527 GB, free: 22.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/15.6, allocations: 11.94 kB / 4.527 GB, free: 22.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/15.6, allocations: 83.55 kB / 4.527 GB, free: 22.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/15.6, allocations: 20 kB / 4.527 GB, free: 22.85 MB / 0.823 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.000206/15.6, allocations: 128.8 kB / 4.527 GB, free: 22.72 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008695/15.6, allocations: 400.6 kB / 4.527 GB, free: 22.32 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/15.6, allocations: 98.83 kB / 4.528 GB, free: 22.22 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/15.61, allocations: 446.7 kB / 4.528 GB, free: 21.78 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/15.61, allocations: 4 kB / 4.528 GB, free: 21.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/15.61, allocations: 0 / 4.528 GB, free: 21.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/15.61, allocations: 3.984 kB / 4.528 GB, free: 21.77 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/15.61, allocations: 1.261 MB / 4.529 GB, free: 20.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/15.61, allocations: 0 / 4.529 GB, free: 20.44 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/15.61, allocations: 67.95 kB / 4.529 GB, free: 20.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/15.61, allocations: 4 kB / 4.529 GB, free: 20.37 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/15.61, allocations: 8.156 kB / 4.529 GB, free: 20.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/15.61, allocations: 7.984 kB / 4.529 GB, free: 20.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/15.61, allocations: 7.984 kB / 4.529 GB, free: 20.35 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009601/15.61, allocations: 0.6346 MB / 4.53 GB, free: 19.64 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/15.61, allocations: 207.9 kB / 4.53 GB, free: 19.41 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/15.61, allocations: 8 kB / 4.53 GB, free: 19.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/15.61, allocations: 47.8 kB / 4.53 GB, free: 19.36 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/15.61, allocations: 35.91 kB / 4.53 GB, free: 19.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/15.61, allocations: 8 kB / 4.53 GB, free: 19.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001137/15.61, allocations: 0.665 MB / 4.531 GB, free: 18.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.01e-07/15.61, allocations: 0 / 4.531 GB, free: 18.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002057/15.62, allocations: 447.4 kB / 4.531 GB, free: 18.2 MB / 0.823 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.002782/15.62, allocations: 2.585 MB / 4.534 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001566/15.62, allocations: 0.7599 MB / 4.535 GB, free: 14.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/15.62, allocations: 8 kB / 4.535 GB, free: 14.75 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004158/15.62, allocations: 175.6 kB / 4.535 GB, free: 14.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/15.62, allocations: 398.8 kB / 4.535 GB, free: 14.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/15.63, allocations: 1.591 MB / 4.537 GB, free: 12.54 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/15.63, allocations: 1.202 MB / 4.538 GB, free: 11.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003889/15.63, allocations: 0.7603 MB / 4.539 GB, free: 10.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006568/15.63, allocations: 311.3 kB / 4.539 GB, free: 10.23 MB / 0.823 GB Notification: Performance of SimCode: time 1.202e-06/15.63, allocations: 0 / 4.539 GB, free: 10.23 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6926/16.33, allocations: 30.26 MB / 4.568 GB, free: 232 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/16.33, allocations: 195.6 kB / 4.569 GB, free: 231.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.84/20.17, allocations: 0 / 4.569 GB, free: 231.8 MB / 0.823 GB