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/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.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 4.103/4.103, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.105e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6526, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.672/7.325, allocations: 2.177 GB / 2.806 GB, free: 197 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/7.325, allocations: 95.67 kB / 2.806 GB, free: 196.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.52/17.84, allocations: 1.891 GB / 4.697 GB, free: 204.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.505e-06/17.84, allocations: 0 / 4.697 GB, free: 204.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002696/17.84, allocations: 39.48 kB / 4.697 GB, free: 204.1 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.00777/17.85, allocations: 1.276 MB / 4.698 GB, free: 202.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/17.85, allocations: 12.03 kB / 4.698 GB, free: 202.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/17.85, allocations: 194.3 kB / 4.698 GB, free: 202.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007132/17.86, allocations: 1.452 MB / 4.7 GB, free: 201.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/17.86, allocations: 16 kB / 4.7 GB, free: 201.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/17.86, allocations: 43.61 kB / 4.7 GB, free: 201.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001774/17.86, allocations: 0.7053 MB / 4.701 GB, free: 200.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/17.86, allocations: 0.8435 MB / 4.701 GB, free: 199.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/17.86, allocations: 3.938 kB / 4.701 GB, free: 199.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/17.86, allocations: 4 kB / 4.701 GB, free: 199.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/17.86, allocations: 12 kB / 4.701 GB, free: 199.6 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.007049/17.87, allocations: 4.518 MB / 4.706 GB, free: 194.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/17.87, allocations: 4.096 MB / 4.71 GB, free: 189.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/17.87, allocations: 332.7 kB / 4.71 GB, free: 189.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004357/17.87, allocations: 201.8 kB / 4.71 GB, free: 189.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/17.87, allocations: 291.6 kB / 4.711 GB, free: 189 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006697/17.87, allocations: 19.75 kB / 4.711 GB, free: 189 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 3.837e-06/17.87, allocations: 0 / 4.711 GB, free: 189 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.002932/17.88, allocations: 0.8131 MB / 4.711 GB, free: 188.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/17.88, allocations: 81.11 kB / 4.711 GB, free: 188.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/17.88, allocations: 0.8946 MB / 4.712 GB, free: 187.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/17.88, allocations: 33.64 kB / 4.712 GB, free: 187.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/17.88, allocations: 0.5377 MB / 4.713 GB, free: 186.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/17.88, allocations: 130.1 kB / 4.713 GB, free: 186.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/17.88, allocations: 3.938 kB / 4.713 GB, free: 186.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/17.88, allocations: 325.9 kB / 4.713 GB, free: 186.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/17.88, allocations: 211.4 kB / 4.714 GB, free: 185.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006806/17.88, allocations: 0.5323 MB / 4.714 GB, free: 185.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/17.88, allocations: 282 kB / 4.714 GB, free: 185 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/17.88, allocations: 4 kB / 4.714 GB, free: 185 MB / 0.823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002965/17.89, allocations: 0.9637 MB / 4.715 GB, free: 184 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005219/17.89, allocations: 2.219 MB / 4.717 GB, free: 181.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/17.89, allocations: 11.98 kB / 4.717 GB, free: 181.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/17.89, allocations: 220.7 kB / 4.718 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/17.89, allocations: 79.83 kB / 4.718 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/17.89, allocations: 1.118 MB / 4.719 GB, free: 180.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/17.89, allocations: 88.48 kB / 4.719 GB, free: 180.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/17.89, allocations: 27.98 kB / 4.719 GB, free: 180.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/17.89, allocations: 7.938 kB / 4.719 GB, free: 180.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/17.89, allocations: 0.6416 MB / 4.72 GB, free: 179.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/17.89, allocations: 8 kB / 4.72 GB, free: 179.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009219/17.89, allocations: 216.3 kB / 4.72 GB, free: 179.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/17.9, allocations: 72.77 kB / 4.72 GB, free: 179.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/17.9, allocations: 2.779 MB / 4.723 GB, free: 176.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/17.9, allocations: 92.33 kB / 4.723 GB, free: 176.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/17.9, allocations: 26.47 kB / 4.723 GB, free: 176.2 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.0002566/17.9, allocations: 128.7 kB / 4.723 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001788/17.9, allocations: 0.6709 MB / 4.723 GB, free: 175.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/17.9, allocations: 98.78 kB / 4.724 GB, free: 175.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/17.91, allocations: 0.7135 MB / 4.724 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/17.91, allocations: 7.984 kB / 4.724 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/17.91, allocations: 3.953 kB / 4.724 GB, free: 174.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/17.91, allocations: 0 / 4.724 GB, free: 174.6 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.004457/17.91, allocations: 2 MB / 4.726 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/17.91, allocations: 6.344 kB / 4.726 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/17.91, allocations: 47.95 kB / 4.726 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/17.91, allocations: 132.8 kB / 4.726 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/17.91, allocations: 7.984 kB / 4.726 GB, free: 172.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009991/17.91, allocations: 0.8676 MB / 4.727 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/17.91, allocations: 4.031 kB / 4.727 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/17.91, allocations: 0.9007 MB / 4.728 GB, free: 170.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/17.92, allocations: 211.8 kB / 4.728 GB, free: 170.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/17.92, allocations: 7.984 kB / 4.728 GB, free: 170.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/17.92, allocations: 77.08 kB / 4.728 GB, free: 170.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/17.92, allocations: 35.89 kB / 4.728 GB, free: 170 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/17.92, allocations: 22.23 kB / 4.728 GB, free: 170 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001308/17.92, allocations: 0.6984 MB / 4.729 GB, free: 169.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.71e-07/17.92, allocations: 0 / 4.729 GB, free: 169.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002795/17.92, allocations: 0.5618 MB / 4.73 GB, free: 168.8 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.003822/17.93, allocations: 3.03 MB / 4.733 GB, free: 165.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002612/17.93, allocations: 1.069 MB / 4.734 GB, free: 164.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/17.93, allocations: 0 / 4.734 GB, free: 164.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/17.93, allocations: 215.8 kB / 4.734 GB, free: 164.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/17.93, allocations: 0.5777 MB / 4.734 GB, free: 164 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/17.94, allocations: 1.718 MB / 4.736 GB, free: 162.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/17.94, allocations: 1.231 MB / 4.737 GB, free: 161 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003798/17.94, allocations: 0.7491 MB / 4.738 GB, free: 160.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/17.95, allocations: 339.3 kB / 4.738 GB, free: 159.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.352e-06/17.95, allocations: 0 / 4.738 GB, free: 159.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1931/18.14, allocations: 36.81 MB / 4.774 GB, free: 123.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0018/18.14, allocations: 206.2 kB / 4.775 GB, free: 123.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.436/22.58, allocations: 0 / 4.775 GB, free: 123.2 MB / 0.823 GB