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.Simplified4.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.Simplified4,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified4",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.01869/0.01869, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.002352/0.002352, allocations: 183.5 kB / 15.94 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 2.269/2.269, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.524/2.524, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006854/0.0006855, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7464, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/2.052, allocations: 448.3 MB / 1.121 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/2.052, allocations: 99.02 kB / 1.121 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 57.54/59.59, allocations: 9.977 GB / 11.1 GB, free: 65.75 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.327e-06/59.59, allocations: 0 / 11.1 GB, free: 65.75 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.003533/59.6, allocations: 385.8 kB / 11.1 GB, free: 65.68 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.1022/59.7, allocations: 18.59 MB / 11.12 GB, free: 59.22 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/59.7, allocations: 10.16 kB / 11.12 GB, free: 59.22 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005577/59.71, allocations: 0.8998 MB / 11.12 GB, free: 59.14 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02243/59.73, allocations: 2.324 MB / 11.12 GB, free: 58.29 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09679/59.82, allocations: 20.4 MB / 11.14 GB, free: 56.02 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/59.83, allocations: 0.5882 MB / 11.14 GB, free: 56.01 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005263/59.83, allocations: 0.7947 MB / 11.14 GB, free: 56.01 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04886/59.88, allocations: 14.11 MB / 11.16 GB, free: 55.22 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005854/59.88, allocations: 15.28 kB / 11.16 GB, free: 55.22 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004718/59.89, allocations: 288.5 kB / 11.16 GB, free: 55.22 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/59.89, allocations: 189.9 kB / 11.16 GB, free: 55.22 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05139/59.94, allocations: 18.34 MB / 11.17 GB, free: 55.16 MB / 1.12 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.187/60.12, allocations: 73.88 MB / 11.25 GB, free: 21.37 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02597/60.15, allocations: 9.722 MB / 11.26 GB, free: 21.2 MB / 1.12 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.08802/60.24, allocations: 29.79 MB / 11.28 GB, free: 12.73 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02221/60.26, allocations: 8.25 MB / 11.29 GB, free: 12.62 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07991/60.34, allocations: 14.74 MB / 11.31 GB, free: 12.33 MB / 1.12 GB Notification: Performance of pre-optimization done (n=426): time 3.642e-05/60.34, allocations: 1.5 kB / 11.31 GB, free: 12.33 MB / 1.12 GB Notification: Performance of matching and sorting (n=615): time 0.6128/60.95, allocations: 94.48 MB / 11.4 GB, free: 3.035 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/60.95, allocations: 117.6 kB / 11.4 GB, free: 2.965 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03892/60.99, allocations: 12.67 MB / 11.41 GB, free: 2.234 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.004183/61, allocations: 196.2 kB / 11.41 GB, free: 2.203 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0118/61.01, allocations: 6.7 MB / 11.42 GB, free: 15.08 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.005969/61.01, allocations: 2.069 MB / 11.42 GB, free: 13.46 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004019/61.02, allocations: 158.8 kB / 11.42 GB, free: 13.34 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0009542/61.02, allocations: 0.6208 MB / 11.42 GB, free: 12.89 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0235/61.04, allocations: 7.85 MB / 11.43 GB, free: 9.754 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02735/61.07, allocations: 10.64 MB / 11.44 GB, free: 3.211 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02886/61.1, allocations: 9.06 MB / 11.45 GB, free: 15.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-05/61.1, allocations: 15.28 kB / 11.45 GB, free: 15.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.1057/61.21, allocations: 26.84 MB / 11.47 GB, free: 0 / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.154/62.36, allocations: 35.03 MB / 11.51 GB, free: 61.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/62.36, allocations: 55.38 kB / 11.51 GB, free: 61.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399/63.76, allocations: 146.8 MB / 11.65 GB, free: 61.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01794/63.78, allocations: 1.686 MB / 11.65 GB, free: 61.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07566/63.85, allocations: 24.77 MB / 11.68 GB, free: 56.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02979/63.88, allocations: 1.11 MB / 11.68 GB, free: 56.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004795/63.89, allocations: 0.8035 MB / 11.68 GB, free: 56.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/63.89, allocations: 2.938 kB / 11.68 GB, free: 56.41 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08641/63.97, allocations: 25.14 MB / 11.7 GB, free: 55.97 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004441/63.97, allocations: 52.16 kB / 11.7 GB, free: 55.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534/65.51, allocations: 147.1 MB / 11.85 GB, free: 14.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01562/65.52, allocations: 1.676 MB / 11.85 GB, free: 13.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.112/65.64, allocations: 29.62 MB / 11.88 GB, free: 6.934 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03127/65.67, allocations: 1.081 MB / 11.88 GB, free: 6.047 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005738/65.67, allocations: 0.7682 MB / 11.88 GB, free: 5.344 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (758): * Single equations (assignments): 744 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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: 0 * Non-linear torn systems: 3 {32 38,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01796/65.69, allocations: 3.329 MB / 11.88 GB, free: 3.344 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008213/65.7, allocations: 1.28 MB / 11.88 GB, free: 2.75 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1259/65.82, allocations: 24.64 MB / 11.91 GB, free: 2.922 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001901/65.82, allocations: 80.77 kB / 11.91 GB, free: 2.848 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/65.82, allocations: 7.953 kB / 11.91 GB, free: 2.84 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298/67.12, allocations: 19.18 MB / 11.93 GB, free: 139.1 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.207/67.33, allocations: 48.26 MB / 11.97 GB, free: 132.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001251/67.33, allocations: 9.469 kB / 11.97 GB, free: 132.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01137/67.34, allocations: 1.131 MB / 11.98 GB, free: 132.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3528/67.69, allocations: 42.01 MB / 12.02 GB, free: 132.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002415/67.7, allocations: 201 kB / 12.02 GB, free: 132.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03802/67.74, allocations: 13.73 MB / 12.03 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/67.74, allocations: 12.83 kB / 12.03 GB, free: 127.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2987/68.03, allocations: 48.95 MB / 12.08 GB, free: 124.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01461/68.05, allocations: 2.987 MB / 12.08 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006925/68.06, allocations: 136.8 kB / 12.08 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0224/68.08, allocations: 0.8773 MB / 12.08 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003/68.08, allocations: 480.7 kB / 12.08 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002647/68.08, allocations: 291 kB / 12.08 GB, free: 124.1 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.04303/68.13, allocations: 9.682 MB / 12.09 GB, free: 123.7 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.012e-06/68.13, allocations: 0 / 12.09 GB, free: 123.7 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.07165/68.2, allocations: 7.142 MB / 12.1 GB, free: 123.7 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U) * 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 (535): * Single equations (assignments): 513 * 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: 0 * Non-linear torn systems: 3 {8 74,30 38,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.3396/68.54, allocations: 54.51 MB / 12.15 GB, free: 117.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.1363/68.67, allocations: 32.61 MB / 12.18 GB, free: 116.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/68.67, allocations: 4.406 kB / 12.18 GB, free: 116.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.03126/68.71, allocations: 8.979 MB / 12.19 GB, free: 116.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05897/68.76, allocations: 6.817 MB / 12.2 GB, free: 116.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1202/68.89, allocations: 80.64 MB / 12.28 GB, free: 52.42 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01878/68.9, allocations: 7.585 MB / 12.29 GB, free: 47.78 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03382/68.94, allocations: 3.993 MB / 12.29 GB, free: 44.95 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01994/68.96, allocations: 6.684 MB / 12.3 GB, free: 44.07 MB / 1.198 GB Notification: Performance of SimCode: time 1.282e-06/68.96, allocations: 0 / 12.3 GB, free: 44.07 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.791/73.75, allocations: 0.5347 GB / 12.83 GB, free: 138.9 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/73.75, allocations: 256.9 kB / 12.83 GB, free: 138.5 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.43/106.2, allocations: 3.172 kB / 12.83 GB, free: 138.5 MB / 1.245 GB