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/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.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.164/4.164, allocations: 432.6 MB / 445.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.158e-05/6.174e-05, allocations: 5.578 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2502, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/1.762, allocations: 447.7 MB / 1.072 GB, free: 8.059 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005027/1.762, allocations: 93.67 kB / 1.072 GB, free: 8.016 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 54.85/56.61, allocations: 9.139 GB / 10.21 GB, free: 72.68 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.385e-06/56.61, allocations: 0 / 10.21 GB, free: 72.68 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.00615/56.62, allocations: 0.5066 MB / 10.21 GB, free: 72.58 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.07791/56.7, allocations: 14.03 MB / 10.23 GB, free: 66.78 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/56.7, allocations: 13.94 kB / 10.23 GB, free: 66.78 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006699/56.71, allocations: 1.041 MB / 10.23 GB, free: 66.69 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02248/56.73, allocations: 2.439 MB / 10.23 GB, free: 65.69 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1153/56.84, allocations: 23.36 MB / 10.25 GB, free: 63.08 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001932/56.85, allocations: 0.7052 MB / 10.25 GB, free: 63.07 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008515/56.85, allocations: 1.009 MB / 10.25 GB, free: 63.05 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07017/56.92, allocations: 16.44 MB / 10.27 GB, free: 61.23 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008145/56.92, allocations: 7.875 kB / 10.27 GB, free: 61.23 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005409/56.93, allocations: 362.7 kB / 10.27 GB, free: 61.23 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/56.93, allocations: 212.2 kB / 10.27 GB, free: 61.23 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05292/56.98, allocations: 19.28 MB / 10.29 GB, free: 61.17 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.2143/57.2, allocations: 79.29 MB / 10.37 GB, free: 27.05 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02803/57.23, allocations: 11.36 MB / 10.38 GB, free: 26.62 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02184/57.25, allocations: 9.254 MB / 10.39 GB, free: 26.53 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.1149/57.36, allocations: 32.88 MB / 10.42 GB, free: 17.79 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02442/57.39, allocations: 9.013 MB / 10.43 GB, free: 17.61 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08339/57.47, allocations: 15.13 MB / 10.44 GB, free: 16.93 MB / 1.104 GB Notification: Performance of pre-optimization done (n=560): time 5.019e-05/57.47, allocations: 0 / 10.44 GB, free: 16.93 MB / 1.104 GB Notification: Performance of matching and sorting (n=771): time 2.568/60.04, allocations: 164.9 MB / 10.6 GB, free: 90.73 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008426/60.04, allocations: 2.525 MB / 10.61 GB, free: 87.72 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0508/60.09, allocations: 14.67 MB / 10.62 GB, free: 86.98 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005141/60.1, allocations: 257.9 kB / 10.62 GB, free: 86.95 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01553/60.11, allocations: 7.927 MB / 10.63 GB, free: 86.57 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.007089/60.12, allocations: 2.671 MB / 10.63 GB, free: 86.08 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004893/60.12, allocations: 207.1 kB / 10.63 GB, free: 86.08 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001359/60.12, allocations: 0.7392 MB / 10.63 GB, free: 85.76 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02653/60.15, allocations: 9.267 MB / 10.64 GB, free: 85.73 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03167/60.18, allocations: 12.91 MB / 10.65 GB, free: 81.82 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03116/60.21, allocations: 10.73 MB / 10.66 GB, free: 81.59 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001936/60.21, allocations: 19.17 kB / 10.66 GB, free: 81.59 MB / 1.12 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.261/61.48, allocations: 127.5 MB / 10.79 GB, free: 78.83 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007773/61.48, allocations: 38.52 MB / 10.83 GB, free: 39.76 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007184/61.48, allocations: 123.9 kB / 10.83 GB, free: 39.76 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349/62.83, allocations: 146 MB / 10.97 GB, free: 10.16 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02511/62.86, allocations: 2.382 MB / 10.97 GB, free: 7.953 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446/64.3, allocations: 71.09 MB / 11.04 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03455/64.34, allocations: 1.256 MB / 11.04 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00642/64.35, allocations: 0.9024 MB / 11.04 GB, free: 144.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/64.35, allocations: 7.531 kB / 11.04 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.257/65.6, allocations: 126.2 MB / 11.17 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006151/65.6, allocations: 117.2 kB / 11.17 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358/66.96, allocations: 146.4 MB / 11.31 GB, free: 107.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02101/66.98, allocations: 2.372 MB / 11.31 GB, free: 105.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2885/67.27, allocations: 75.36 MB / 11.38 GB, free: 49.71 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03245/67.3, allocations: 1.228 MB / 11.39 GB, free: 48.72 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005468/67.31, allocations: 0.8594 MB / 11.39 GB, free: 47.95 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1070): * Single equations (assignments): 992 * 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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008869/67.32, allocations: 0.713 MB / 11.39 GB, free: 47.68 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01018/67.33, allocations: 1.538 MB / 11.39 GB, free: 46.96 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526/68.85, allocations: 48.07 MB / 11.44 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002134/68.85, allocations: 91.91 kB / 11.44 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001239/68.85, allocations: 30.16 kB / 11.44 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3551/69.21, allocations: 42.27 MB / 11.48 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3841/69.59, allocations: 65.02 MB / 11.54 GB, free: 123.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001421/69.59, allocations: 0 / 11.54 GB, free: 123.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01588/69.61, allocations: 1.496 MB / 11.54 GB, free: 123.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3378/69.95, allocations: 41.69 MB / 11.58 GB, free: 123.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003059/69.95, allocations: 327.4 kB / 11.58 GB, free: 123.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1022/70.05, allocations: 28.5 MB / 11.61 GB, free: 117.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/70.05, allocations: 0 / 11.61 GB, free: 117.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3407/70.39, allocations: 55.12 MB / 11.66 GB, free: 116.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01727/70.41, allocations: 3.475 MB / 11.67 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008869/70.42, allocations: 277.5 kB / 11.67 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02511/70.45, allocations: 1.01 MB / 11.67 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00441/70.45, allocations: 0.5522 MB / 11.67 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002802/70.45, allocations: 324.7 kB / 11.67 GB, free: 116 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03284/70.49, allocations: 11.2 MB / 11.68 GB, free: 115.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.21e-07/70.49, allocations: 0 / 11.68 GB, free: 115.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.08391/70.57, allocations: 8.68 MB / 11.69 GB, free: 115.5 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (704): * Single equations (assignments): 682 * 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 {5 79,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.3579/70.93, allocations: 60.87 MB / 11.75 GB, free: 87.94 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1271/71.05, allocations: 40.3 MB / 11.79 GB, free: 65.69 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.566e-05/71.05, allocations: 10.62 kB / 11.79 GB, free: 65.68 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03184/71.09, allocations: 10.13 MB / 11.8 GB, free: 60.45 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06445/71.15, allocations: 7.638 MB / 11.81 GB, free: 56.54 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1103/71.26, allocations: 32.99 MB / 11.84 GB, free: 29.66 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02053/71.28, allocations: 9.318 MB / 11.85 GB, free: 23.36 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 2.56/73.84, allocations: 9.608 MB / 11.86 GB, free: 122.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02368/73.87, allocations: 7.792 MB / 11.86 GB, free: 122.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.713e-06/73.87, allocations: 0 / 11.86 GB, free: 122.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.756/76.62, allocations: 0.6377 GB / 12.5 GB, free: 159.5 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/76.62, allocations: 229.8 kB / 12.5 GB, free: 159.2 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.01/118.6, allocations: 4 kB / 12.5 GB, free: 159.2 MB / 1.229 GB