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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.413/4.413, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.214e-05, allocations: 4.781 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.84/7.063, allocations: 2.178 GB / 2.812 GB, free: 124.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/7.064, allocations: 91.75 kB / 2.812 GB, free: 124.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.298/16.36, allocations: 1.724 GB / 4.536 GB, free: 234.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.054e-06/16.36, allocations: 0 / 4.536 GB, free: 234.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001686/16.36, allocations: 31.88 kB / 4.536 GB, free: 234.4 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.002676/16.37, allocations: 1.142 MB / 4.537 GB, free: 233.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/16.37, allocations: 7.812 kB / 4.537 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/16.37, allocations: 103.6 kB / 4.537 GB, free: 233.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/16.37, allocations: 186.7 kB / 4.538 GB, free: 233.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/16.37, allocations: 1.091 MB / 4.539 GB, free: 233.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/16.37, allocations: 46.92 kB / 4.539 GB, free: 233.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/16.37, allocations: 61.59 kB / 4.539 GB, free: 233.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/16.37, allocations: 0.7354 MB / 4.539 GB, free: 233.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/16.37, allocations: 3.391 kB / 4.539 GB, free: 233.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/16.37, allocations: 21.67 kB / 4.54 GB, free: 233.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/16.37, allocations: 11.88 kB / 4.54 GB, free: 233.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/16.37, allocations: 494.8 kB / 4.54 GB, free: 233.3 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.005801/16.38, allocations: 4.422 MB / 4.544 GB, free: 230 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/16.38, allocations: 400.5 kB / 4.545 GB, free: 230 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/16.38, allocations: 227.2 kB / 4.545 GB, free: 230 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/16.38, allocations: 196.1 kB / 4.545 GB, free: 229.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/16.38, allocations: 280.8 kB / 4.545 GB, free: 229.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/16.38, allocations: 0 / 4.545 GB, free: 229.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=31): time 0.001422/16.38, allocations: 457.3 kB / 4.546 GB, free: 229.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/16.38, allocations: 84.67 kB / 4.546 GB, free: 229.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/16.38, allocations: 0.9767 MB / 4.547 GB, free: 229.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.784e-05/16.38, allocations: 33.42 kB / 4.547 GB, free: 229.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/16.39, allocations: 0.4927 MB / 4.547 GB, free: 229.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/16.39, allocations: 104.6 kB / 4.547 GB, free: 229.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/16.39, allocations: 13.62 kB / 4.547 GB, free: 229.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/16.39, allocations: 323.8 kB / 4.548 GB, free: 228.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/16.39, allocations: 163 kB / 4.548 GB, free: 228.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/16.39, allocations: 492 kB / 4.548 GB, free: 228.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/16.39, allocations: 271.5 kB / 4.549 GB, free: 228.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/16.39, allocations: 6.578 kB / 4.549 GB, free: 228.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001471/16.39, allocations: 0.6461 MB / 4.549 GB, free: 228.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005069/16.39, allocations: 2.143 MB / 4.551 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/16.39, allocations: 7.281 kB / 4.551 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/16.39, allocations: 7.844 kB / 4.551 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/16.39, allocations: 112.6 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/16.39, allocations: 11.62 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/16.39, allocations: 104 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/16.39, allocations: 28.41 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/16.39, allocations: 6.094 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/16.39, allocations: 497.9 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/16.39, allocations: 6.969 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/16.39, allocations: 11.84 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/16.39, allocations: 112.5 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/16.39, allocations: 12.92 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/16.4, allocations: 94.45 kB / 4.552 GB, free: 226.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/16.4, allocations: 28.69 kB / 4.552 GB, free: 226.1 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.0001884/16.4, allocations: 138 kB / 4.553 GB, free: 226 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/16.4, allocations: 100.1 kB / 4.553 GB, free: 225.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/16.4, allocations: 462.5 kB / 4.553 GB, free: 225.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/16.4, allocations: 3.688 kB / 4.553 GB, free: 225.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/16.4, allocations: 6.906 kB / 4.553 GB, free: 225.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/16.4, allocations: 3.422 kB / 4.553 GB, free: 225.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/16.4, allocations: 1.352 MB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/16.4, allocations: 11.44 kB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/16.4, allocations: 64.83 kB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/16.4, allocations: 3.625 kB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/16.4, allocations: 10.56 kB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/16.4, allocations: 3.062 kB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/16.4, allocations: 2.938 kB / 4.554 GB, free: 225.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/16.4, allocations: 0.6561 MB / 4.555 GB, free: 225.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005287/16.4, allocations: 213.6 kB / 4.555 GB, free: 224.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/16.4, allocations: 10.53 kB / 4.555 GB, free: 224.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009393/16.4, allocations: 56.69 kB / 4.555 GB, free: 224.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/16.4, allocations: 33.3 kB / 4.555 GB, free: 224.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/16.4, allocations: 14.58 kB / 4.555 GB, free: 224.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00149/16.4, allocations: 0.7722 MB / 4.556 GB, free: 224.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.2e-07/16.4, allocations: 0 / 4.556 GB, free: 224.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002016/16.41, allocations: 474.5 kB / 4.557 GB, free: 224.8 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.002843/16.41, allocations: 2.474 MB / 4.559 GB, free: 223.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001708/16.41, allocations: 0.7874 MB / 4.56 GB, free: 223.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/16.41, allocations: 3.312 kB / 4.56 GB, free: 223.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004427/16.41, allocations: 188.6 kB / 4.56 GB, free: 223.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/16.42, allocations: 462.1 kB / 4.56 GB, free: 223.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/16.42, allocations: 1.647 MB / 4.562 GB, free: 222.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/16.42, allocations: 1.202 MB / 4.563 GB, free: 222 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003542/16.42, allocations: 0.8191 MB / 4.564 GB, free: 222 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/16.42, allocations: 311.7 kB / 4.564 GB, free: 222 MB / 0.823 GB Notification: Performance of SimCode: time 9.12e-07/16.42, allocations: 0 / 4.564 GB, free: 222 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/16.53, allocations: 43.37 MB / 4.607 GB, free: 211.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003034/16.53, allocations: 229.2 kB / 4.607 GB, free: 211.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.488/21.02, allocations: 0 / 4.607 GB, free: 211.3 MB / 0.823 GB