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.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.065/4.065, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.434e-05, allocations: 4.656 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 98.74 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.766/6.985, allocations: 2.178 GB / 2.812 GB, free: 124.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003853/6.986, allocations: 93.19 kB / 2.812 GB, free: 124.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.299/16.29, allocations: 1.726 GB / 4.538 GB, free: 235 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.067e-06/16.29, allocations: 0 / 4.538 GB, free: 235 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003001/16.29, allocations: 33.23 kB / 4.538 GB, free: 235 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.009528/16.3, allocations: 1.232 MB / 4.539 GB, free: 234.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/16.3, allocations: 10.72 kB / 4.539 GB, free: 234.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006051/16.3, allocations: 99.58 kB / 4.539 GB, free: 234.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/16.3, allocations: 180.7 kB / 4.54 GB, free: 234.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009995/16.31, allocations: 1.404 MB / 4.541 GB, free: 234.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/16.31, allocations: 44.66 kB / 4.541 GB, free: 234.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/16.31, allocations: 65.42 kB / 4.541 GB, free: 234.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/16.31, allocations: 0.7503 MB / 4.542 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/16.31, allocations: 0 / 4.542 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/16.31, allocations: 27.55 kB / 4.542 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/16.31, allocations: 12.47 kB / 4.542 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/16.31, allocations: 0.497 MB / 4.542 GB, free: 233.9 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.007982/16.32, allocations: 4.054 MB / 4.546 GB, free: 231.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/16.32, allocations: 417.2 kB / 4.547 GB, free: 231.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008905/16.32, allocations: 320.5 kB / 4.547 GB, free: 231.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/16.32, allocations: 197.5 kB / 4.547 GB, free: 231 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008324/16.33, allocations: 294.2 kB / 4.547 GB, free: 230.9 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008422/16.33, allocations: 31.39 kB / 4.547 GB, free: 230.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 3.827e-06/16.33, allocations: 0 / 4.547 GB, free: 230.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.003277/16.33, allocations: 0.7193 MB / 4.548 GB, free: 230.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/16.33, allocations: 100 kB / 4.548 GB, free: 230.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/16.33, allocations: 1.003 MB / 4.549 GB, free: 230.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/16.33, allocations: 38.95 kB / 4.549 GB, free: 230.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007627/16.33, allocations: 0.5012 MB / 4.55 GB, free: 230.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/16.33, allocations: 115.6 kB / 4.55 GB, free: 230.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/16.33, allocations: 5.438 kB / 4.55 GB, free: 230.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001223/16.33, allocations: 324.7 kB / 4.55 GB, free: 230 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/16.33, allocations: 184.5 kB / 4.55 GB, free: 230 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/16.34, allocations: 0.5041 MB / 4.551 GB, free: 229.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008761/16.34, allocations: 306.7 kB / 4.551 GB, free: 229.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/16.34, allocations: 7.094 kB / 4.551 GB, free: 229.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003567/16.34, allocations: 0.9052 MB / 4.552 GB, free: 229.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006792/16.34, allocations: 2.143 MB / 4.554 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/16.34, allocations: 3.625 kB / 4.554 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/16.34, allocations: 263.4 kB / 4.554 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/16.34, allocations: 62.67 kB / 4.554 GB, free: 227.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/16.35, allocations: 1.025 MB / 4.555 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/16.35, allocations: 98.48 kB / 4.555 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/16.35, allocations: 22.44 kB / 4.556 GB, free: 226.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/16.35, allocations: 3.344 kB / 4.556 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003143/16.35, allocations: 0.7263 MB / 4.556 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/16.35, allocations: 14.09 kB / 4.556 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/16.35, allocations: 245.6 kB / 4.556 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/16.35, allocations: 60.28 kB / 4.557 GB, free: 226.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006929/16.36, allocations: 2.995 MB / 4.559 GB, free: 225.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/16.36, allocations: 92.92 kB / 4.56 GB, free: 225.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/16.36, allocations: 22.78 kB / 4.56 GB, free: 225.3 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003164/16.36, allocations: 145.8 kB / 4.56 GB, free: 225.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/16.36, allocations: 106.1 kB / 4.56 GB, free: 225.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/16.37, allocations: 0.7433 MB / 4.561 GB, free: 225 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/16.37, allocations: 3.344 kB / 4.561 GB, free: 225 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/16.37, allocations: 3.406 kB / 4.561 GB, free: 225 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/16.37, allocations: 6.984 kB / 4.561 GB, free: 225 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/16.37, allocations: 1.669 MB / 4.562 GB, free: 224.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/16.37, allocations: 3.781 kB / 4.562 GB, free: 224.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/16.37, allocations: 38.39 kB / 4.562 GB, free: 224.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/16.37, allocations: 235.1 kB / 4.562 GB, free: 224.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/16.37, allocations: 6.344 kB / 4.562 GB, free: 224.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/16.38, allocations: 0.9955 MB / 4.563 GB, free: 224 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/16.38, allocations: 3.953 kB / 4.563 GB, free: 224 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/16.38, allocations: 0.9379 MB / 4.564 GB, free: 223.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/16.38, allocations: 223.2 kB / 4.565 GB, free: 223.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/16.38, allocations: 10.91 kB / 4.565 GB, free: 223.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00213/16.38, allocations: 68.11 kB / 4.565 GB, free: 223.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/16.38, allocations: 27.34 kB / 4.565 GB, free: 223.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/16.38, allocations: 14.72 kB / 4.565 GB, free: 223.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002447/16.39, allocations: 0.7973 MB / 4.565 GB, free: 223.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.302e-06/16.39, allocations: 0 / 4.565 GB, free: 223.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0039/16.39, allocations: 0.545 MB / 4.566 GB, free: 223.3 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005005/16.39, allocations: 2.685 MB / 4.569 GB, free: 221.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003948/16.4, allocations: 1.074 MB / 4.57 GB, free: 221.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/16.4, allocations: 0 / 4.57 GB, free: 221.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/16.4, allocations: 237.5 kB / 4.57 GB, free: 221.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009025/16.41, allocations: 0.6258 MB / 4.57 GB, free: 221.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/16.41, allocations: 1.688 MB / 4.572 GB, free: 221.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/16.42, allocations: 1.209 MB / 4.573 GB, free: 220.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003668/16.42, allocations: 0.8437 MB / 4.574 GB, free: 220.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/16.42, allocations: 313.4 kB / 4.574 GB, free: 220.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/16.42, allocations: 0 / 4.574 GB, free: 220.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/16.57, allocations: 48.47 MB / 4.622 GB, free: 197.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/16.57, allocations: 246 kB / 4.622 GB, free: 197.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.701/21.27, allocations: 4 kB / 4.622 GB, free: 197.4 MB / 0.823 GB