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.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.958/3.958, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.473e-05, allocations: 4.938 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.849/7.067, allocations: 2.178 GB / 2.812 GB, free: 124.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/7.067, allocations: 92.64 kB / 2.812 GB, free: 124.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.13/17.2, allocations: 1.911 GB / 4.724 GB, free: 99.38 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/17.2, allocations: 0 / 4.724 GB, free: 99.38 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002541/17.2, allocations: 35.98 kB / 4.724 GB, free: 99.34 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007402/17.2, allocations: 1.263 MB / 4.725 GB, free: 98.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/17.2, allocations: 12.03 kB / 4.725 GB, free: 98.01 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004417/17.2, allocations: 98.52 kB / 4.725 GB, free: 97.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/17.21, allocations: 205.9 kB / 4.725 GB, free: 97.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007037/17.21, allocations: 1.453 MB / 4.727 GB, free: 96.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/17.21, allocations: 49.31 kB / 4.727 GB, free: 96.15 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/17.21, allocations: 64 kB / 4.727 GB, free: 96.09 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/17.22, allocations: 0.9207 MB / 4.728 GB, free: 95.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/17.22, allocations: 3.938 kB / 4.728 GB, free: 95.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/17.22, allocations: 24.69 kB / 4.728 GB, free: 95.06 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/17.22, allocations: 12 kB / 4.728 GB, free: 95.05 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/17.22, allocations: 0.7142 MB / 4.728 GB, free: 94.34 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.007068/17.22, allocations: 4.648 MB / 4.733 GB, free: 89.37 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/17.23, allocations: 4.041 MB / 4.737 GB, free: 84.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/17.23, allocations: 324.7 kB / 4.737 GB, free: 84.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/17.23, allocations: 194.8 kB / 4.737 GB, free: 83.95 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/17.23, allocations: 308.7 kB / 4.738 GB, free: 83.63 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007124/17.23, allocations: 35.69 kB / 4.738 GB, free: 83.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 4.779e-06/17.23, allocations: 3.938 kB / 4.738 GB, free: 83.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.002267/17.23, allocations: 0.7308 MB / 4.738 GB, free: 82.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/17.23, allocations: 85.11 kB / 4.739 GB, free: 82.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/17.23, allocations: 1.027 MB / 4.74 GB, free: 81.71 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/17.23, allocations: 37.69 kB / 4.74 GB, free: 81.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000549/17.24, allocations: 0.5285 MB / 4.74 GB, free: 81.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/17.24, allocations: 130.1 kB / 4.74 GB, free: 81 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/17.24, allocations: 8 kB / 4.74 GB, free: 81 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/17.24, allocations: 326 kB / 4.741 GB, free: 80.67 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/17.24, allocations: 189 kB / 4.741 GB, free: 80.49 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/17.24, allocations: 0.5365 MB / 4.741 GB, free: 79.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006078/17.24, allocations: 308.7 kB / 4.742 GB, free: 79.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/17.24, allocations: 4 kB / 4.742 GB, free: 79.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002465/17.24, allocations: 0.9275 MB / 4.742 GB, free: 78.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005103/17.24, allocations: 2.239 MB / 4.745 GB, free: 76.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/17.24, allocations: 8 kB / 4.745 GB, free: 76.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/17.24, allocations: 240.5 kB / 4.745 GB, free: 75.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/17.24, allocations: 79.83 kB / 4.745 GB, free: 75.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/17.24, allocations: 0.991 MB / 4.746 GB, free: 74.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/17.25, allocations: 99.8 kB / 4.746 GB, free: 74.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/17.25, allocations: 32 kB / 4.746 GB, free: 74.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/17.25, allocations: 4 kB / 4.746 GB, free: 74.68 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002022/17.25, allocations: 0.7401 MB / 4.747 GB, free: 73.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/17.25, allocations: 12.09 kB / 4.747 GB, free: 73.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009537/17.25, allocations: 218 kB / 4.747 GB, free: 73.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/17.25, allocations: 79.83 kB / 4.747 GB, free: 73.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/17.25, allocations: 2.889 MB / 4.75 GB, free: 70.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/17.26, allocations: 99.81 kB / 4.75 GB, free: 70.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/17.26, allocations: 27.98 kB / 4.75 GB, free: 70.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002578/17.26, allocations: 144.8 kB / 4.75 GB, free: 70.33 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/17.26, allocations: 106.7 kB / 4.75 GB, free: 70.23 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/17.26, allocations: 0.7465 MB / 4.751 GB, free: 69.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/17.26, allocations: 7.984 kB / 4.751 GB, free: 69.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/17.26, allocations: 0 / 4.751 GB, free: 69.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/17.26, allocations: 4 kB / 4.751 GB, free: 69.45 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 postOpt removeSimpleEquations (simulation): time 0.004672/17.26, allocations: 2.1 MB / 4.753 GB, free: 67.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/17.26, allocations: 7.984 kB / 4.753 GB, free: 67.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/17.26, allocations: 55.84 kB / 4.753 GB, free: 67.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006966/17.27, allocations: 172.9 kB / 4.753 GB, free: 66.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/17.27, allocations: 16 kB / 4.753 GB, free: 66.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009974/17.27, allocations: 0.8488 MB / 4.754 GB, free: 66.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/17.27, allocations: 4 kB / 4.754 GB, free: 66.08 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/17.27, allocations: 0.9166 MB / 4.755 GB, free: 65.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/17.27, allocations: 235.7 kB / 4.755 GB, free: 64.83 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/17.27, allocations: 8 kB / 4.755 GB, free: 64.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/17.27, allocations: 79.75 kB / 4.755 GB, free: 64.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/17.27, allocations: 35.91 kB / 4.755 GB, free: 64.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/17.27, allocations: 12 kB / 4.755 GB, free: 64.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001625/17.27, allocations: 0.8143 MB / 4.756 GB, free: 63.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.21e-07/17.27, allocations: 0 / 4.756 GB, free: 63.87 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002794/17.28, allocations: 0.6088 MB / 4.757 GB, free: 63.26 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003747/17.28, allocations: 2.909 MB / 4.76 GB, free: 60.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002816/17.28, allocations: 1.106 MB / 4.761 GB, free: 59.12 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/17.28, allocations: 0 / 4.761 GB, free: 59.12 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/17.28, allocations: 235.6 kB / 4.761 GB, free: 58.89 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/17.29, allocations: 0.6538 MB / 4.762 GB, free: 58.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/17.29, allocations: 1.768 MB / 4.763 GB, free: 56.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/17.29, allocations: 1.243 MB / 4.764 GB, free: 55.13 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003696/17.3, allocations: 0.7696 MB / 4.765 GB, free: 54.36 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/17.3, allocations: 351.3 kB / 4.766 GB, free: 54.02 MB / 0.823 GB Notification: Performance of SimCode: time 9.81e-07/17.3, allocations: 0 / 4.766 GB, free: 54.02 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/17.42, allocations: 52.03 MB / 4.816 GB, free: 2.285 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/17.42, allocations: 252 kB / 4.817 GB, free: 1.957 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.148/22.57, allocations: 3.938 kB / 4.817 GB, free: 1.953 MB / 0.823 GB