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.Simplified6.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.Simplified6,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",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.01626/0.01626, allocations: 106.1 kB / 15.05 MB, free: 5.93 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.001841/0.001841, allocations: 187.5 kB / 15.95 MB, free: 5.895 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.089/2.089, allocations: 194.6 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.267/2.267, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004945, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.6956, allocations: 98.72 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.958, allocations: 449.5 MB / 1.122 GB, free: 304 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.958, allocations: 103.3 kB / 1.123 GB, free: 248 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 58/59.96, allocations: 10.14 GB / 11.26 GB, free: 45.17 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.146e-06/59.96, allocations: 0 / 11.26 GB, free: 45.17 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003403/59.96, allocations: 355.6 kB / 11.26 GB, free: 44.82 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: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.09085/60.05, allocations: 17.31 MB / 11.28 GB, free: 27.38 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/60.05, allocations: 12.02 kB / 11.28 GB, free: 27.36 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004739/60.05, allocations: 0.7737 MB / 11.28 GB, free: 26.58 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/60.08, allocations: 2.219 MB / 11.28 GB, free: 24.34 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08096/60.16, allocations: 18.6 MB / 11.3 GB, free: 5.668 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001035/60.16, allocations: 0.5192 MB / 11.3 GB, free: 5.148 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/60.16, allocations: 0.6953 MB / 11.3 GB, free: 4.453 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.25/62.41, allocations: 8.403 MB / 11.31 GB, free: 75.09 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005694/62.41, allocations: 15.83 kB / 11.31 GB, free: 75.09 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/62.41, allocations: 251.8 kB / 11.31 GB, free: 75.09 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003957/62.42, allocations: 156.7 kB / 11.31 GB, free: 75.09 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/62.44, allocations: 6.826 MB / 11.32 GB, free: 75.05 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.1203/62.56, allocations: 49.52 MB / 11.37 GB, free: 49.38 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/62.58, allocations: 4.843 MB / 11.37 GB, free: 49.22 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.05387/62.63, allocations: 13.38 MB / 11.39 GB, free: 46.45 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01126/62.65, allocations: 3.395 MB / 11.39 GB, free: 46.34 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01805/62.66, allocations: 2.454 MB / 11.39 GB, free: 46.25 MB / 1.089 GB Notification: Performance of pre-optimization done (n=326): time 2.957e-05/62.66, allocations: 0 / 11.39 GB, free: 46.25 MB / 1.089 GB Notification: Performance of matching and sorting (n=515): time 0.2514/62.92, allocations: 40.6 MB / 11.43 GB, free: 38.64 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/62.92, allocations: 107.4 kB / 11.43 GB, free: 38.57 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0363/62.95, allocations: 12.11 MB / 11.44 GB, free: 37.91 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002339/62.95, allocations: 179.3 kB / 11.44 GB, free: 37.88 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0106/62.97, allocations: 6.297 MB / 11.45 GB, free: 36.79 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003163/62.97, allocations: 1.742 MB / 11.45 GB, free: 35.91 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/62.97, allocations: 140.3 kB / 11.45 GB, free: 35.91 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0005747/62.97, allocations: 0.5941 MB / 11.45 GB, free: 35.6 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/62.98, allocations: 3.933 MB / 11.46 GB, free: 35.58 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01548/63, allocations: 6.854 MB / 11.46 GB, free: 32.23 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/63.01, allocations: 4.834 MB / 11.47 GB, free: 32.08 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.921e-05/63.01, allocations: 17.03 kB / 11.47 GB, free: 32.08 MB / 1.089 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.05272/63.07, allocations: 14.13 MB / 11.48 GB, free: 31.03 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01598/63.08, allocations: 38.77 MB / 11.52 GB, free: 23.18 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003087/63.08, allocations: 62.41 kB / 11.52 GB, free: 23.18 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/63.1, allocations: 3.496 MB / 11.52 GB, free: 23.09 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/63.11, allocations: 1.595 MB / 11.52 GB, free: 23.09 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/63.14, allocations: 12.37 MB / 11.54 GB, free: 32.34 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02492/63.16, allocations: 0.9641 MB / 11.54 GB, free: 32.31 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002812/63.17, allocations: 485 kB / 11.54 GB, free: 32.31 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/63.17, allocations: 6.75 kB / 11.54 GB, free: 32.31 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04649/63.21, allocations: 13.09 MB / 11.55 GB, free: 31.95 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002666/63.21, allocations: 57.19 kB / 11.55 GB, free: 31.95 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/63.23, allocations: 3.799 MB / 11.55 GB, free: 31.87 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/63.24, allocations: 1.592 MB / 11.56 GB, free: 31.87 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04552/63.29, allocations: 17.37 MB / 11.57 GB, free: 26.12 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02085/63.31, allocations: 0.9315 MB / 11.57 GB, free: 26.1 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002989/63.31, allocations: 447.2 kB / 11.57 GB, free: 26.1 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (738): * Single equations (assignments): 721 * 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: 6 * 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: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01316/63.33, allocations: 3.09 MB / 11.58 GB, free: 25.91 MB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004808/63.33, allocations: 1.198 MB / 11.58 GB, free: 25.25 MB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04471/63.37, allocations: 12.36 MB / 11.59 GB, free: 24.69 MB / 1.136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/63.37, allocations: 61.16 kB / 11.59 GB, free: 24.69 MB / 1.136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/63.37, allocations: 0 / 11.59 GB, free: 24.69 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03213/63.41, allocations: 9.872 MB / 11.6 GB, free: 23.99 MB / 1.136 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.07637/63.48, allocations: 24.1 MB / 11.62 GB, free: 21.69 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001004/63.48, allocations: 12.64 kB / 11.62 GB, free: 21.68 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009234/63.49, allocations: 0.9328 MB / 11.62 GB, free: 21.64 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009541/63.5, allocations: 2.401 MB / 11.63 GB, free: 21.46 MB / 1.136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001342/63.5, allocations: 162.2 kB / 11.63 GB, free: 21.46 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/63.52, allocations: 11.01 MB / 11.64 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/63.52, allocations: 8.125 kB / 11.64 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04808/63.57, allocations: 18.71 MB / 11.66 GB, free: 26.42 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01094/63.58, allocations: 2.449 MB / 11.66 GB, free: 25.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005252/63.58, allocations: 114 kB / 11.66 GB, free: 25.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0176/63.6, allocations: 0.8011 MB / 11.66 GB, free: 25.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/63.6, allocations: 391.5 kB / 11.66 GB, free: 25.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/63.6, allocations: 247.2 kB / 11.66 GB, free: 25.56 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0269/63.63, allocations: 9.244 MB / 11.67 GB, free: 23.94 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.012e-06/63.63, allocations: 0 / 11.67 GB, free: 23.94 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05674/63.69, allocations: 5.927 MB / 11.67 GB, free: 23.35 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * 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 (438): * Single equations (assignments): 413 * 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: 6 * 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: 6 {8 74,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.05957/63.75, allocations: 23.95 MB / 11.7 GB, free: 11.43 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0581/63.81, allocations: 16.39 MB / 11.71 GB, free: 436 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-05/63.81, allocations: 4.438 kB / 11.71 GB, free: 432 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.03695/63.84, allocations: 5.673 MB / 11.72 GB, free: 15.15 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05366/63.9, allocations: 5.973 MB / 11.72 GB, free: 10.84 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.301/65.2, allocations: 80.45 MB / 11.8 GB, free: 87.78 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02269/65.22, allocations: 6.988 MB / 11.81 GB, free: 86.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.03412/65.25, allocations: 3.8 MB / 11.81 GB, free: 86.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01943/65.27, allocations: 6.071 MB / 11.82 GB, free: 86.71 MB / 1.167 GB Notification: Performance of SimCode: time 1.924e-06/65.27, allocations: 0 / 11.82 GB, free: 86.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.203/67.48, allocations: 392.1 MB / 12.2 GB, free: 161.3 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/67.48, allocations: 256 kB / 12.2 GB, free: 161 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.71/94.18, allocations: 3.938 kB / 12.2 GB, free: 161 MB / 1.198 GB