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.Simplified3.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01566/0.01566, allocations: 107.8 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001728/0.001728, allocations: 185.6 kB / 15.95 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.969/1.969, allocations: 194.5 MB / 211.2 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.351/2.351, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006975/0.0006976, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7297, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/2.015, allocations: 447.7 MB / 1.121 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/2.015, allocations: 111.9 kB / 1.121 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 53.88/55.89, allocations: 9.167 GB / 10.29 GB, free: 73.53 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.126e-06/55.89, allocations: 0 / 10.29 GB, free: 73.53 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.004701/55.9, allocations: 0.5051 MB / 10.29 GB, free: 73.42 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.119/56.02, allocations: 21.28 MB / 10.31 GB, free: 65.89 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/56.02, allocations: 13.94 kB / 10.31 GB, free: 65.89 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007021/56.03, allocations: 1.075 MB / 10.31 GB, free: 65.8 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02445/56.05, allocations: 2.448 MB / 10.31 GB, free: 64.8 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1119/56.16, allocations: 23.64 MB / 10.34 GB, free: 62.21 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001519/56.16, allocations: 0.7005 MB / 10.34 GB, free: 62.2 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007092/56.17, allocations: 1.004 MB / 10.34 GB, free: 62.18 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05895/56.23, allocations: 16.68 MB / 10.35 GB, free: 60.37 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006123/56.23, allocations: 12.84 kB / 10.35 GB, free: 60.37 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0054/56.24, allocations: 357.7 kB / 10.35 GB, free: 60.37 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/56.24, allocations: 218.7 kB / 10.35 GB, free: 60.37 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05753/56.29, allocations: 19.68 MB / 10.37 GB, free: 60.31 MB / 1.104 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2165/56.51, allocations: 79.35 MB / 10.45 GB, free: 26.17 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03146/56.54, allocations: 11.61 MB / 10.46 GB, free: 25.74 MB / 1.104 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1031/56.64, allocations: 32.52 MB / 10.49 GB, free: 17.18 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02554/56.67, allocations: 9.172 MB / 10.5 GB, free: 17.01 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08209/56.75, allocations: 14.9 MB / 10.52 GB, free: 16.26 MB / 1.104 GB Notification: Performance of pre-optimization done (n=560): time 5.425e-05/56.75, allocations: 2.906 kB / 10.52 GB, free: 16.26 MB / 1.104 GB Notification: Performance of matching and sorting (n=774): time 2.886/59.64, allocations: 195.2 MB / 10.71 GB, free: 89.55 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008106/59.64, allocations: 2.524 MB / 10.71 GB, free: 86.54 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04816/59.69, allocations: 14.84 MB / 10.72 GB, free: 85.86 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005285/59.69, allocations: 263 kB / 10.72 GB, free: 85.83 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01597/59.71, allocations: 7.919 MB / 10.73 GB, free: 85.49 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.008073/59.72, allocations: 2.688 MB / 10.74 GB, free: 85.29 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005297/59.72, allocations: 202.5 kB / 10.74 GB, free: 85.29 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001276/59.72, allocations: 0.7427 MB / 10.74 GB, free: 84.97 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02799/59.75, allocations: 9.467 MB / 10.75 GB, free: 84.95 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03283/59.79, allocations: 13.13 MB / 10.76 GB, free: 81.04 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03242/59.82, allocations: 10.89 MB / 10.77 GB, free: 80.83 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/59.82, allocations: 14.56 kB / 10.77 GB, free: 80.83 MB / 1.12 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 1.262/61.08, allocations: 128 MB / 10.89 GB, free: 77.33 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007866/61.09, allocations: 38.51 MB / 10.93 GB, free: 38.26 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006736/61.09, allocations: 119.1 kB / 10.93 GB, free: 38.26 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356/62.44, allocations: 146.4 MB / 11.07 GB, free: 0.5938 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.188/63.63, allocations: 2.361 MB / 11.08 GB, free: 149 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2961/63.93, allocations: 74.38 MB / 11.15 GB, free: 143.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03404/63.96, allocations: 1.25 MB / 11.15 GB, free: 143.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006054/63.97, allocations: 0.9041 MB / 11.15 GB, free: 143.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/63.97, allocations: 3.531 kB / 11.15 GB, free: 143.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.26/65.23, allocations: 126.7 MB / 11.28 GB, free: 142.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006184/65.23, allocations: 122 kB / 11.28 GB, free: 142.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332/66.56, allocations: 146.7 MB / 11.42 GB, free: 79.84 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02081/66.58, allocations: 2.357 MB / 11.42 GB, free: 77.66 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3064/66.89, allocations: 79.09 MB / 11.5 GB, free: 19.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192/68.08, allocations: 1.222 MB / 11.5 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006062/68.09, allocations: 0.8622 MB / 11.5 GB, free: 142.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1067): * Single equations (assignments): 989 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.0213/68.11, allocations: 4.232 MB / 11.5 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009597/68.12, allocations: 1.535 MB / 11.51 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3729/68.49, allocations: 48.47 MB / 11.55 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002182/68.49, allocations: 93.83 kB / 11.55 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000244/68.49, allocations: 30.25 kB / 11.55 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3329/68.82, allocations: 42.66 MB / 11.59 GB, free: 141.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4074/69.23, allocations: 65.33 MB / 11.66 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001417/69.23, allocations: 0.6875 kB / 11.66 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01566/69.25, allocations: 1.479 MB / 11.66 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.351/69.6, allocations: 41.78 MB / 11.7 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003071/69.6, allocations: 329.5 kB / 11.7 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1134/69.72, allocations: 29.64 MB / 11.73 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/69.72, allocations: 3.969 kB / 11.73 GB, free: 131.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3628/70.08, allocations: 55.66 MB / 11.78 GB, free: 123.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01666/70.1, allocations: 3.485 MB / 11.79 GB, free: 121.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008956/70.1, allocations: 269.7 kB / 11.79 GB, free: 121.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0253/70.13, allocations: 1.008 MB / 11.79 GB, free: 120.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004795/70.13, allocations: 0.5613 MB / 11.79 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003106/70.14, allocations: 326.8 kB / 11.79 GB, free: 120.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0342/70.17, allocations: 11.36 MB / 11.8 GB, free: 114.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.21e-07/70.17, allocations: 0 / 11.8 GB, free: 114.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07866/70.25, allocations: 8.702 MB / 11.81 GB, free: 106.7 MB / 1.182 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 679 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.4315/70.68, allocations: 61.46 MB / 11.87 GB, free: 71.64 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1346/70.82, allocations: 40.49 MB / 11.91 GB, free: 43.34 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.657e-05/70.82, allocations: 18.03 kB / 11.91 GB, free: 43.32 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0343/70.85, allocations: 10.36 MB / 11.92 GB, free: 34.31 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06389/70.92, allocations: 7.634 MB / 11.93 GB, free: 29.19 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.432/73.35, allocations: 92.2 MB / 12.02 GB, free: 70.96 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02451/73.37, allocations: 9.284 MB / 12.03 GB, free: 69.83 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03912/73.41, allocations: 5.409 MB / 12.03 GB, free: 69.69 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02444/73.44, allocations: 8.141 MB / 12.04 GB, free: 69.69 MB / 1.182 GB Notification: Performance of SimCode: time 1.633e-06/73.44, allocations: 2.719 kB / 12.04 GB, free: 69.69 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.724/76.16, allocations: 0.605 GB / 12.64 GB, free: 130.2 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000322/76.16, allocations: 262.2 kB / 12.64 GB, free: 129.9 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.71/113.9, allocations: 0 / 12.64 GB, free: 129.9 MB / 1.214 GB