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 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.Simplified2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",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.01096/0.01096, allocations: 108.6 kB / 15.05 MB, free: 6 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.00123/0.00123, allocations: 183.8 kB / 15.95 MB, free: 5.941 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.946/1.946, allocations: 194.5 MB / 211.3 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.281/2.281, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004801, allocations: 8 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7, allocations: 98.72 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/2.03, allocations: 447.6 MB / 1.12 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/2.031, allocations: 97.14 kB / 1.121 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 48.24/50.27, allocations: 8.406 GB / 9.527 GB, free: 81.05 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.978e-06/50.27, allocations: 2.531 kB / 9.527 GB, free: 81.05 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.005088/50.27, allocations: 0.5147 MB / 9.527 GB, free: 80.94 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.1219/50.39, allocations: 21.29 MB / 9.548 GB, free: 73.3 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/50.39, allocations: 9.281 kB / 9.548 GB, free: 73.3 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007677/50.4, allocations: 1.076 MB / 9.549 GB, free: 73.21 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/50.43, allocations: 2.456 MB / 9.552 GB, free: 72.21 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1206/50.55, allocations: 23.63 MB / 9.575 GB, free: 69.6 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/50.56, allocations: 0.7052 MB / 9.575 GB, free: 69.59 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00703/50.56, allocations: 1.011 MB / 9.576 GB, free: 69.57 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08298/50.65, allocations: 16.72 MB / 9.593 GB, free: 67.75 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007074/50.65, allocations: 16.88 kB / 9.593 GB, free: 67.75 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005926/50.65, allocations: 360.9 kB / 9.593 GB, free: 67.75 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004018/50.65, allocations: 217.5 kB / 9.593 GB, free: 67.75 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06344/50.72, allocations: 19.72 MB / 9.612 GB, free: 67.69 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.2323/50.95, allocations: 79.01 MB / 9.69 GB, free: 33.96 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03177/50.98, allocations: 11.87 MB / 9.701 GB, free: 33.52 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.104/51.08, allocations: 32.84 MB / 9.733 GB, free: 24.89 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02569/51.11, allocations: 9.28 MB / 9.742 GB, free: 24.71 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0835/51.19, allocations: 14.91 MB / 9.757 GB, free: 23.77 MB / 1.104 GB Notification: Performance of pre-optimization done (n=580): time 4.636e-05/51.19, allocations: 0 / 9.757 GB, free: 23.77 MB / 1.104 GB Notification: Performance of matching and sorting (n=810): time 2.86/54.05, allocations: 195.2 MB / 9.947 GB, free: 97.6 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007642/54.05, allocations: 2.528 MB / 9.95 GB, free: 94.59 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04704/54.1, allocations: 14.83 MB / 9.964 GB, free: 93.91 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005419/54.11, allocations: 272.5 kB / 9.965 GB, free: 93.88 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01555/54.12, allocations: 7.899 MB / 9.972 GB, free: 93.52 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007666/54.13, allocations: 2.806 MB / 9.975 GB, free: 93.28 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005373/54.14, allocations: 209.1 kB / 9.975 GB, free: 93.28 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001332/54.14, allocations: 0.7497 MB / 9.976 GB, free: 92.95 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02901/54.17, allocations: 9.593 MB / 9.985 GB, free: 92.92 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.034/54.2, allocations: 13.28 MB / 9.998 GB, free: 88.92 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03338/54.23, allocations: 11.04 MB / 10.01 GB, free: 88.61 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/54.23, allocations: 14.91 kB / 10.01 GB, free: 88.61 MB / 1.12 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.353/55.59, allocations: 128.6 MB / 10.13 GB, free: 80.39 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007508/55.59, allocations: 36.92 MB / 10.17 GB, free: 42.89 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006736/55.6, allocations: 120.7 kB / 10.17 GB, free: 42.87 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559/58.15, allocations: 147.1 MB / 10.31 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0242/58.18, allocations: 2.381 MB / 10.32 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2934/58.47, allocations: 76.36 MB / 10.39 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03444/58.51, allocations: 1.254 MB / 10.39 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00664/58.51, allocations: 0.9102 MB / 10.39 GB, free: 133.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/58.51, allocations: 7 kB / 10.39 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.262/59.78, allocations: 127.2 MB / 10.52 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006331/59.78, allocations: 122.6 kB / 10.52 GB, free: 132 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331/61.11, allocations: 147.4 MB / 10.66 GB, free: 26.69 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0206/61.13, allocations: 2.364 MB / 10.66 GB, free: 24.51 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47/62.6, allocations: 80.68 MB / 10.74 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03282/62.63, allocations: 1.225 MB / 10.74 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005883/62.64, allocations: 0.865 MB / 10.75 GB, free: 138 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * 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.02053/62.66, allocations: 4.247 MB / 10.75 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009105/62.67, allocations: 1.544 MB / 10.75 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3608/63.03, allocations: 49.27 MB / 10.8 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000252/63.03, allocations: 96.48 kB / 10.8 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002371/63.03, allocations: 31.36 kB / 10.8 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3217/63.35, allocations: 43.39 MB / 10.84 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3967/63.75, allocations: 67.27 MB / 10.91 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001417/63.75, allocations: 3.125 kB / 10.91 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01562/63.76, allocations: 1.532 MB / 10.91 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3424/64.1, allocations: 42.27 MB / 10.95 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003105/64.11, allocations: 326.4 kB / 10.95 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1108/64.22, allocations: 31.55 MB / 10.98 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/64.22, allocations: 2.906 kB / 10.98 GB, free: 119.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3534/64.57, allocations: 56.62 MB / 11.04 GB, free: 89.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01636/64.59, allocations: 3.532 MB / 11.04 GB, free: 87.36 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009275/64.6, allocations: 279.1 kB / 11.04 GB, free: 87.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02546/64.62, allocations: 1.078 MB / 11.04 GB, free: 86.71 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004598/64.63, allocations: 0.5831 MB / 11.04 GB, free: 86.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002864/64.63, allocations: 334.7 kB / 11.04 GB, free: 86.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.03237/64.66, allocations: 11.36 MB / 11.05 GB, free: 80.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.7e-07/64.66, allocations: 0 / 11.05 GB, free: 80.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.06889/64.73, allocations: 8.743 MB / 11.06 GB, free: 72.77 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (715): * Single equations (assignments): 691 * 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 1.455/66.19, allocations: 62.15 MB / 11.12 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1458/66.33, allocations: 41.23 MB / 11.16 GB, free: 136.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.06e-05/66.33, allocations: 12.97 kB / 11.16 GB, free: 136.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.03723/66.37, allocations: 10.69 MB / 11.17 GB, free: 136.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.069/66.44, allocations: 7.783 MB / 11.18 GB, free: 136.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1477/66.59, allocations: 90.46 MB / 11.27 GB, free: 74.98 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02491/66.61, allocations: 9.334 MB / 11.28 GB, free: 73.85 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04291/66.65, allocations: 5.438 MB / 11.28 GB, free: 73.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02607/66.68, allocations: 8.207 MB / 11.29 GB, free: 73.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.034e-06/66.68, allocations: 0 / 11.29 GB, free: 73.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.628/70.31, allocations: 0.6136 GB / 11.9 GB, free: 26.33 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/70.31, allocations: 266.2 kB / 11.91 GB, free: 25.98 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.09/109.4, allocations: 5.422 kB / 11.91 GB, free: 25.97 MB / 1.182 GB