Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.FlowSystem.Simplified2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.357/4.357, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.459e-05/4.523e-05, allocations: 4.219 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2511, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.589, allocations: 447.6 MB / 1.072 GB, free: 8.219 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/1.589, allocations: 93.95 kB / 1.072 GB, free: 8.176 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 49.58/51.17, allocations: 8.381 GB / 9.453 GB, free: 80.95 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.715e-06/51.17, allocations: 0 / 9.453 GB, free: 80.95 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.005656/51.17, allocations: 0.5173 MB / 9.453 GB, free: 80.84 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.07806/51.25, allocations: 14.03 MB / 9.467 GB, free: 74.99 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/51.25, allocations: 9.344 kB / 9.467 GB, free: 74.99 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00748/51.26, allocations: 1.043 MB / 9.468 GB, free: 74.9 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02344/51.28, allocations: 2.447 MB / 9.471 GB, free: 73.9 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1144/51.4, allocations: 23.36 MB / 9.493 GB, free: 71.27 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001594/51.4, allocations: 0.7166 MB / 9.494 GB, free: 71.26 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007329/51.41, allocations: 0.999 MB / 9.495 GB, free: 71.24 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05987/51.47, allocations: 16.49 MB / 9.511 GB, free: 69.42 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008393/51.47, allocations: 17.66 kB / 9.511 GB, free: 69.41 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005544/51.47, allocations: 357.2 kB / 9.512 GB, free: 69.41 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003181/51.47, allocations: 210 kB / 9.512 GB, free: 69.41 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05381/51.53, allocations: 19.33 MB / 9.531 GB, free: 69.35 MB / 1.104 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.2245/51.75, allocations: 78.96 MB / 9.608 GB, free: 35.75 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02988/51.78, allocations: 11.61 MB / 9.619 GB, free: 35.31 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02166/51.8, allocations: 8.938 MB / 9.628 GB, free: 35.26 MB / 1.104 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 evalFunc (simulation): time 0.1174/51.92, allocations: 33.1 MB / 9.66 GB, free: 26.57 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02561/51.95, allocations: 9.104 MB / 9.669 GB, free: 26.4 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08599/52.03, allocations: 15.15 MB / 9.684 GB, free: 25.48 MB / 1.104 GB Notification: Performance of pre-optimization done (n=581): time 4.801e-05/52.03, allocations: 0 / 9.684 GB, free: 25.48 MB / 1.104 GB Notification: Performance of matching and sorting (n=811): time 2.676/54.71, allocations: 166.1 MB / 9.846 GB, free: 98.13 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000822/54.71, allocations: 2.529 MB / 9.848 GB, free: 95.12 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04988/54.76, allocations: 14.67 MB / 9.863 GB, free: 94.38 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005571/54.77, allocations: 268.4 kB / 9.863 GB, free: 94.35 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01621/54.78, allocations: 7.897 MB / 9.871 GB, free: 93.96 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007729/54.79, allocations: 2.809 MB / 9.873 GB, free: 93.41 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005073/54.79, allocations: 208.8 kB / 9.874 GB, free: 93.41 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001525/54.8, allocations: 0.7494 MB / 9.874 GB, free: 93.09 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02793/54.82, allocations: 9.38 MB / 9.884 GB, free: 93.06 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03304/54.86, allocations: 13.06 MB / 9.896 GB, free: 89.15 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03282/54.89, allocations: 10.87 MB / 9.907 GB, free: 88.91 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/54.89, allocations: 18.19 kB / 9.907 GB, free: 88.91 MB / 1.12 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.323/56.21, allocations: 128.1 MB / 10.03 GB, free: 85.4 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007391/56.22, allocations: 36.92 MB / 10.07 GB, free: 47.96 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006877/56.22, allocations: 114.2 kB / 10.07 GB, free: 47.96 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734/58.96, allocations: 146.9 MB / 10.21 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02736/58.98, allocations: 2.374 MB / 10.21 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3024/59.29, allocations: 73.18 MB / 10.29 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03601/59.32, allocations: 1.256 MB / 10.29 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006824/59.33, allocations: 0.9082 MB / 10.29 GB, free: 131.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/59.33, allocations: 5.031 kB / 10.29 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.294/60.62, allocations: 126.8 MB / 10.41 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000853/60.62, allocations: 116.1 kB / 10.41 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389/62.01, allocations: 147.3 MB / 10.56 GB, free: 66.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02167/62.03, allocations: 2.36 MB / 10.56 GB, free: 64.69 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515/63.55, allocations: 77 MB / 10.63 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03486/63.59, allocations: 1.229 MB / 10.63 GB, free: 134.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006977/63.59, allocations: 0.8638 MB / 10.63 GB, free: 134.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01097/63.6, allocations: 0.7249 MB / 10.64 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01064/63.61, allocations: 1.546 MB / 10.64 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3587/63.97, allocations: 48.9 MB / 10.68 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000215/63.97, allocations: 98.41 kB / 10.68 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/63.97, allocations: 32.02 kB / 10.68 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3224/64.3, allocations: 43.02 MB / 10.73 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4012/64.7, allocations: 67.08 MB / 10.79 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001465/64.7, allocations: 2.188 kB / 10.79 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01678/64.71, allocations: 1.529 MB / 10.79 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3412/65.06, allocations: 42.25 MB / 10.84 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003589/65.06, allocations: 335.1 kB / 10.84 GB, free: 128.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1146/65.17, allocations: 30.57 MB / 10.87 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/65.17, allocations: 0 / 10.87 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3534/65.53, allocations: 56.1 MB / 10.92 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01891/65.55, allocations: 3.542 MB / 10.92 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009766/65.56, allocations: 282.5 kB / 10.92 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02675/65.58, allocations: 1.058 MB / 10.92 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004891/65.59, allocations: 0.5847 MB / 10.93 GB, free: 105.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00337/65.59, allocations: 337.8 kB / 10.93 GB, free: 105.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.03374/65.62, allocations: 11.2 MB / 10.94 GB, free: 99.32 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.212e-06/65.62, allocations: 0 / 10.94 GB, free: 99.32 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.07234/65.7, allocations: 8.741 MB / 10.95 GB, free: 91.69 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.3637/66.06, allocations: 61.62 MB / 11.01 GB, free: 55.84 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1414/66.2, allocations: 41.12 MB / 11.05 GB, free: 25.44 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/66.2, allocations: 14 kB / 11.05 GB, free: 25.43 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 1.219/67.42, allocations: 10.62 MB / 11.06 GB, free: 131.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07502/67.5, allocations: 7.791 MB / 11.06 GB, free: 131.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1273/67.62, allocations: 33.28 MB / 11.1 GB, free: 125.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02542/67.65, allocations: 9.367 MB / 11.11 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.06779/67.72, allocations: 8.953 MB / 11.11 GB, free: 124.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02343/67.74, allocations: 7.865 MB / 11.12 GB, free: 124.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.663e-06/67.74, allocations: 0 / 11.12 GB, free: 124.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.867/71.61, allocations: 0.6466 GB / 11.77 GB, free: 110.6 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000303/71.61, allocations: 226.6 kB / 11.77 GB, free: 110.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.52/114.1, allocations: 0 / 11.77 GB, free: 110.3 MB / 1.198 GB