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.Basic.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.Basic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Basic",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.01138/0.01138, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.0013/0.0013, allocations: 186.3 kB / 15.95 MB, free: 5.898 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.942/1.942, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.382/2.382, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007654/0.0007656, allocations: 20 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7606/0.7614, allocations: 98.71 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.996, allocations: 447.3 MB / 1.12 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.997, allocations: 98.02 kB / 1.12 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 36.07/38.06, allocations: 6.202 GB / 7.323 GB, free: 65.65 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.016e-06/38.06, allocations: 1.906 kB / 7.323 GB, free: 65.65 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004885/38.07, allocations: 0.5334 MB / 7.323 GB, free: 65.53 MB / 1.089 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.131/38.2, allocations: 21.31 MB / 7.344 GB, free: 57.93 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/38.2, allocations: 8.656 kB / 7.344 GB, free: 57.93 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0079/38.21, allocations: 1.076 MB / 7.345 GB, free: 57.84 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0262/38.23, allocations: 2.455 MB / 7.347 GB, free: 56.84 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1139/38.35, allocations: 23.71 MB / 7.371 GB, free: 54.27 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001526/38.35, allocations: 0.713 MB / 7.371 GB, free: 54.25 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007101/38.36, allocations: 1.02 MB / 7.372 GB, free: 54.23 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05733/38.41, allocations: 16.87 MB / 7.389 GB, free: 52.41 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007578/38.42, allocations: 14.31 kB / 7.389 GB, free: 52.41 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00524/38.42, allocations: 360 kB / 7.389 GB, free: 52.41 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/38.42, allocations: 215.2 kB / 7.389 GB, free: 52.41 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05625/38.48, allocations: 19.8 MB / 7.409 GB, free: 52.35 MB / 1.089 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.2114/38.69, allocations: 78.18 MB / 7.485 GB, free: 20.34 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03277/38.72, allocations: 12.48 MB / 7.497 GB, free: 19.88 MB / 1.089 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.1041/38.83, allocations: 33.42 MB / 7.53 GB, free: 11.3 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.026/38.85, allocations: 9.499 MB / 7.539 GB, free: 11.13 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07772/38.93, allocations: 14.92 MB / 7.554 GB, free: 10.25 MB / 1.089 GB Notification: Performance of pre-optimization done (n=604): time 5.191e-05/38.93, allocations: 0 / 7.554 GB, free: 10.25 MB / 1.089 GB Notification: Performance of matching and sorting (n=858): time 2.848/41.78, allocations: 201.9 MB / 7.751 GB, free: 94.5 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009193/41.78, allocations: 2.539 MB / 7.753 GB, free: 91.48 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05276/41.83, allocations: 14.79 MB / 7.768 GB, free: 90.81 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005975/41.84, allocations: 283 kB / 7.768 GB, free: 90.78 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01674/41.85, allocations: 7.932 MB / 7.776 GB, free: 90.32 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.008582/41.86, allocations: 2.97 MB / 7.779 GB, free: 90.12 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005821/41.87, allocations: 212.5 kB / 7.779 GB, free: 90.12 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001603/41.87, allocations: 0.7549 MB / 7.78 GB, free: 89.8 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03102/41.9, allocations: 9.741 MB / 7.789 GB, free: 89.77 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03619/41.94, allocations: 13.48 MB / 7.802 GB, free: 85.86 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03551/41.97, allocations: 11.21 MB / 7.813 GB, free: 85.64 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001693/41.97, allocations: 14.69 kB / 7.813 GB, free: 85.64 MB / 1.12 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 1.285/43.26, allocations: 130 MB / 7.94 GB, free: 81.75 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007523/43.27, allocations: 33.17 MB / 7.973 GB, free: 47.38 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007449/43.27, allocations: 112.1 kB / 7.973 GB, free: 47.38 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601/45.87, allocations: 152.3 MB / 8.121 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02271/45.89, allocations: 2.19 MB / 8.124 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3106/46.2, allocations: 79.03 MB / 8.201 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03344/46.23, allocations: 1.206 MB / 8.202 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006266/46.24, allocations: 0.9082 MB / 8.203 GB, free: 131.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/46.24, allocations: 4.469 kB / 8.203 GB, free: 131.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.271/47.51, allocations: 128.5 MB / 8.328 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006344/47.51, allocations: 112.4 kB / 8.328 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351/48.86, allocations: 152.6 MB / 8.477 GB, free: 39.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01892/48.88, allocations: 2.165 MB / 8.48 GB, free: 37.98 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654/50.54, allocations: 86.44 MB / 8.564 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03302/50.57, allocations: 1.188 MB / 8.565 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006216/50.58, allocations: 0.8601 MB / 8.566 GB, free: 135.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (989): * Single equations (assignments): 909 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02183/50.6, allocations: 4.268 MB / 8.57 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009755/50.61, allocations: 1.559 MB / 8.572 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3728/50.98, allocations: 50.98 MB / 8.621 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002274/50.98, allocations: 99.69 kB / 8.621 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002457/50.98, allocations: 31.75 kB / 8.622 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3337/51.31, allocations: 44.96 MB / 8.665 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4126/51.73, allocations: 69.75 MB / 8.734 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001567/51.73, allocations: 0 / 8.734 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01444/51.74, allocations: 1.377 MB / 8.735 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3741/52.12, allocations: 44.76 MB / 8.779 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003434/52.12, allocations: 339.2 kB / 8.779 GB, free: 128.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1261/52.25, allocations: 34.26 MB / 8.812 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/52.25, allocations: 0 / 8.812 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3898/52.64, allocations: 58.53 MB / 8.87 GB, free: 84.32 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01711/52.65, allocations: 3.619 MB / 8.873 GB, free: 82.13 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008819/52.66, allocations: 283.2 kB / 8.873 GB, free: 82.04 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02557/52.69, allocations: 1.046 MB / 8.874 GB, free: 81.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004909/52.69, allocations: 0.6041 MB / 8.875 GB, free: 81.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003405/52.7, allocations: 345.9 kB / 8.875 GB, free: 80.96 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.03417/52.73, allocations: 11.34 MB / 8.886 GB, free: 75.18 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.61e-07/52.73, allocations: 0 / 8.886 GB, free: 75.18 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.06398/52.79, allocations: 8.748 MB / 8.895 GB, free: 67.55 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 (667): * Single equations (assignments): 643 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 1.62/54.41, allocations: 63.78 MB / 8.957 GB, free: 139.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1607/54.57, allocations: 43.05 MB / 8.999 GB, free: 135.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.445e-05/54.58, allocations: 14.22 kB / 8.999 GB, free: 135.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.05493/54.63, allocations: 11.48 MB / 9.01 GB, free: 135.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07483/54.7, allocations: 7.806 MB / 9.018 GB, free: 135.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1706/54.88, allocations: 87.69 MB / 9.104 GB, free: 76.76 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02793/54.9, allocations: 9.41 MB / 9.113 GB, free: 75.62 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04152/54.95, allocations: 5.01 MB / 9.118 GB, free: 75.22 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02654/54.97, allocations: 8.204 MB / 9.126 GB, free: 75.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.683e-06/54.97, allocations: 0 / 9.126 GB, free: 75.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.829/58.8, allocations: 0.6311 GB / 9.757 GB, free: 8.895 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/58.8, allocations: 250.3 kB / 9.757 GB, free: 8.562 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 38/96.8, allocations: 0 / 9.757 GB, free: 8.562 MB / 1.182 GB