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 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.FlowSystem.Simplified3,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.194/4.194, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.673e-05, allocations: 7.75 kB / 0.5325 GB, free: 12.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 98.73 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.573, allocations: 447 MB / 1.065 GB, free: 3.641 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005543/1.574, allocations: 89.89 kB / 1.066 GB, free: 3.598 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 51.86/53.44, allocations: 9.096 GB / 10.16 GB, free: 79.1 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.424e-06/53.44, allocations: 0 / 10.16 GB, free: 79.1 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004839/53.44, allocations: 0.5043 MB / 10.16 GB, free: 78.99 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.07481/53.52, allocations: 14.02 MB / 10.18 GB, free: 73.05 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/53.52, allocations: 6.906 kB / 10.18 GB, free: 73.05 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02245/53.54, allocations: 2.452 MB / 10.18 GB, free: 72.05 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1086/53.65, allocations: 23.36 MB / 10.2 GB, free: 69.41 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/53.65, allocations: 255.1 kB / 10.2 GB, free: 69.41 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006544/53.66, allocations: 0.5725 MB / 10.2 GB, free: 69.41 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05081/53.71, allocations: 19.53 MB / 10.22 GB, free: 69.38 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05192/53.76, allocations: 15.25 MB / 10.24 GB, free: 67.59 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006469/53.76, allocations: 10.5 kB / 10.24 GB, free: 67.59 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004816/53.77, allocations: 17.06 kB / 10.24 GB, free: 67.59 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003084/53.77, allocations: 214.3 kB / 10.24 GB, free: 67.59 MB / 1.089 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.2005/53.97, allocations: 77.97 MB / 10.31 GB, free: 33.21 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0258/53.99, allocations: 12.07 MB / 10.32 GB, free: 32.79 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02034/54.01, allocations: 9.547 MB / 10.33 GB, free: 32.69 MB / 1.089 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.1091/54.12, allocations: 32.63 MB / 10.37 GB, free: 23.7 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02181/54.14, allocations: 8.841 MB / 10.37 GB, free: 21.01 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08024/54.22, allocations: 14.96 MB / 10.39 GB, free: 19.6 MB / 1.089 GB Notification: Performance of pre-optimization done (n=560): time 5.906e-05/54.22, allocations: 0 / 10.39 GB, free: 19.6 MB / 1.089 GB Notification: Performance of matching and sorting (n=562): time 2.644/56.87, allocations: 139.3 MB / 10.52 GB, free: 96.07 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007322/56.87, allocations: 2.503 MB / 10.53 GB, free: 93.06 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04566/56.91, allocations: 13.8 MB / 10.54 GB, free: 92.38 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004655/56.92, allocations: 48.42 kB / 10.54 GB, free: 92.35 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01651/56.94, allocations: 7.935 MB / 10.55 GB, free: 91.98 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.006044/56.94, allocations: 1.91 MB / 10.55 GB, free: 91.9 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004223/56.95, allocations: 0 / 10.55 GB, free: 91.9 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001278/56.95, allocations: 0.6777 MB / 10.55 GB, free: 91.58 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02227/56.97, allocations: 8.309 MB / 10.56 GB, free: 91.55 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02651/57, allocations: 11.76 MB / 10.57 GB, free: 87.68 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03015/57.03, allocations: 9.757 MB / 10.58 GB, free: 87.55 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001705/57.03, allocations: 16.75 kB / 10.58 GB, free: 87.55 MB / 1.104 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 1.22/58.25, allocations: 123.9 MB / 10.7 GB, free: 84.08 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.00813/58.25, allocations: 38.36 MB / 10.74 GB, free: 45.04 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007318/58.25, allocations: 122.2 kB / 10.74 GB, free: 45.03 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323/59.58, allocations: 143.1 MB / 10.88 GB, free: 2.688 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02263/59.6, allocations: 2.119 MB / 10.88 GB, free: 0.7266 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431/61.03, allocations: 65.56 MB / 10.94 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03066/61.06, allocations: 0.9612 MB / 10.95 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00538/61.07, allocations: 0.8335 MB / 10.95 GB, free: 151.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/61.07, allocations: 2.422 kB / 10.95 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.211/62.28, allocations: 121.3 MB / 11.06 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006881/62.28, allocations: 119.2 kB / 11.07 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31/63.59, allocations: 143.2 MB / 11.2 GB, free: 94.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0185/63.61, allocations: 2.113 MB / 11.21 GB, free: 92.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2656/63.87, allocations: 68.61 MB / 11.27 GB, free: 42.18 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03039/63.9, allocations: 0.9298 MB / 11.27 GB, free: 41.31 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005077/63.91, allocations: 0.7933 MB / 11.28 GB, free: 40.59 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (945): * Single equations (assignments): 869 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008848/63.92, allocations: 355.8 kB / 11.28 GB, free: 40.4 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 2.455/66.37, allocations: 118.2 MB / 11.39 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008105/66.38, allocations: 1.46 MB / 11.39 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3378/66.72, allocations: 43.01 MB / 11.43 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002615/66.72, allocations: 74.91 kB / 11.43 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002158/66.72, allocations: 30.16 kB / 11.43 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3151/67.04, allocations: 38 MB / 11.47 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4294/67.46, allocations: 56.74 MB / 11.53 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.949e-05/67.46, allocations: 0 / 11.53 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01233/67.48, allocations: 1.099 MB / 11.53 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.313/67.79, allocations: 40.48 MB / 11.57 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002411/67.79, allocations: 146.5 kB / 11.57 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09523/67.89, allocations: 25.9 MB / 11.59 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/67.89, allocations: 0 / 11.59 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3083/68.2, allocations: 48.29 MB / 11.64 GB, free: 90.69 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01471/68.21, allocations: 3.062 MB / 11.64 GB, free: 88.31 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008098/68.22, allocations: 76.98 kB / 11.64 GB, free: 88.25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02302/68.24, allocations: 0.7811 MB / 11.64 GB, free: 87.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003931/68.25, allocations: 419.2 kB / 11.64 GB, free: 87.13 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002477/68.25, allocations: 235.9 kB / 11.65 GB, free: 86.95 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.03568/68.28, allocations: 10.35 MB / 11.66 GB, free: 80.07 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.72e-07/68.28, allocations: 1.312 kB / 11.66 GB, free: 80.07 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.07641/68.36, allocations: 7.834 MB / 11.66 GB, free: 72.75 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 (518): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {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: 1 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.3201/68.68, allocations: 53.44 MB / 11.72 GB, free: 29.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 1.213/69.89, allocations: 35.08 MB / 11.75 GB, free: 146.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.633e-05/69.89, allocations: 11.94 kB / 11.75 GB, free: 146.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02736/69.92, allocations: 8.132 MB / 11.76 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06439/69.99, allocations: 7.437 MB / 11.76 GB, free: 146.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/70.1, allocations: 29.65 MB / 11.79 GB, free: 140.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02349/70.12, allocations: 8.871 MB / 11.8 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.06197/70.18, allocations: 8.24 MB / 11.81 GB, free: 139.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02007/70.2, allocations: 7.393 MB / 11.82 GB, free: 139.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.274e-06/70.2, allocations: 1.125 kB / 11.82 GB, free: 139.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.58/73.78, allocations: 0.551 GB / 12.37 GB, free: 149.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/73.78, allocations: 171 kB / 12.37 GB, free: 149.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.49/111.3, allocations: 3.938 kB / 12.37 GB, free: 149.3 MB / 1.182 GB