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.Simplified5.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.Simplified5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.201/4.201, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.238e-05, allocations: 3.656 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2291, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.535, allocations: 448.9 MB / 1.073 GB, free: 6.844 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.535, allocations: 93.45 kB / 1.073 GB, free: 6.801 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 58/59.54, allocations: 9.886 GB / 10.96 GB, free: 69.8 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.455e-06/59.54, allocations: 0 / 10.96 GB, free: 69.8 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003725/59.54, allocations: 355.9 kB / 10.96 GB, free: 69.74 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.05928/59.6, allocations: 11.02 MB / 10.97 GB, free: 65.18 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/59.6, allocations: 9.531 kB / 10.97 GB, free: 65.18 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004822/59.6, allocations: 0.7654 MB / 10.97 GB, free: 65.11 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/59.63, allocations: 2.373 MB / 10.97 GB, free: 64.33 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09355/59.72, allocations: 18.74 MB / 10.99 GB, free: 62.22 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/59.72, allocations: 0.5217 MB / 10.99 GB, free: 62.21 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005051/59.73, allocations: 0.7045 MB / 10.99 GB, free: 62.21 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04423/59.77, allocations: 12.99 MB / 11.01 GB, free: 61.61 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000489/59.77, allocations: 7.688 kB / 11.01 GB, free: 61.61 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004313/59.78, allocations: 247.7 kB / 11.01 GB, free: 61.61 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/59.78, allocations: 149.8 kB / 11.01 GB, free: 61.61 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04568/59.82, allocations: 17.4 MB / 11.02 GB, free: 61.56 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.1823/60, allocations: 69.75 MB / 11.09 GB, free: 29.81 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/60.03, allocations: 9.377 MB / 11.1 GB, free: 29.64 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01996/60.05, allocations: 8.407 MB / 11.11 GB, free: 29.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 evalFunc (simulation): time 0.09758/60.14, allocations: 29.39 MB / 11.14 GB, free: 21.5 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02099/60.16, allocations: 8.125 MB / 11.14 GB, free: 21.38 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08277/60.25, allocations: 15.24 MB / 11.16 GB, free: 21.14 MB / 1.089 GB Notification: Performance of pre-optimization done (n=392): time 4.214e-05/60.25, allocations: 0 / 11.16 GB, free: 21.14 MB / 1.089 GB Notification: Performance of matching and sorting (n=580): time 0.3032/60.55, allocations: 66.18 MB / 11.22 GB, free: 13.43 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/60.55, allocations: 115.2 kB / 11.22 GB, free: 13.36 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03474/60.59, allocations: 11.77 MB / 11.24 GB, free: 12.59 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003984/60.59, allocations: 192.4 kB / 11.24 GB, free: 12.56 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01039/60.6, allocations: 6.083 MB / 11.24 GB, free: 8.031 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005106/60.61, allocations: 1.953 MB / 11.24 GB, free: 6.508 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003504/60.61, allocations: 146.6 kB / 11.24 GB, free: 6.395 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.000718/60.61, allocations: 0.5924 MB / 11.24 GB, free: 5.961 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02025/60.63, allocations: 7.629 MB / 11.25 GB, free: 2.84 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02528/60.66, allocations: 10.28 MB / 11.26 GB, free: 12.87 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0246/60.68, allocations: 8.662 MB / 11.27 GB, free: 9.398 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.118e-05/60.68, allocations: 15.61 kB / 11.27 GB, free: 9.398 MB / 1.104 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0946/60.77, allocations: 26.17 MB / 11.3 GB, free: 10.81 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.112/61.89, allocations: 29.86 MB / 11.33 GB, free: 112 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/61.89, allocations: 48.78 kB / 11.33 GB, free: 112 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61/63.5, allocations: 170.4 MB / 11.49 GB, free: 111.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01685/63.51, allocations: 1.506 MB / 11.49 GB, free: 111.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08592/63.6, allocations: 26.64 MB / 11.52 GB, free: 106.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0296/63.63, allocations: 1.03 MB / 11.52 GB, free: 106.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00502/63.63, allocations: 0.7899 MB / 11.52 GB, free: 106.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/63.63, allocations: 4.031 kB / 11.52 GB, free: 106.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08064/63.71, allocations: 24.95 MB / 11.55 GB, free: 105.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002351/63.71, allocations: 45.03 kB / 11.55 GB, free: 105.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66/65.38, allocations: 170.6 MB / 11.71 GB, free: 4.926 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02008/65.4, allocations: 1.497 MB / 11.71 GB, free: 3.551 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351/66.75, allocations: 30.88 MB / 11.74 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02921/66.78, allocations: 1.007 MB / 11.74 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005434/66.78, allocations: 0.7521 MB / 11.75 GB, free: 143.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (662): * Single equations (assignments): 648 * 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 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.007778/66.79, allocations: 0.5251 MB / 11.75 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007578/66.8, allocations: 1.199 MB / 11.75 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1098/66.91, allocations: 23.99 MB / 11.77 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001827/66.91, allocations: 80.02 kB / 11.77 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/66.91, allocations: 5.109 kB / 11.77 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07521/66.98, allocations: 18.6 MB / 11.79 GB, free: 142 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.3515/67.33, allocations: 62.8 MB / 11.85 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000121/67.33, allocations: 8 kB / 11.85 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01303/67.35, allocations: 1.031 MB / 11.85 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4816/67.83, allocations: 48.96 MB / 11.9 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00232/67.83, allocations: 197.1 kB / 11.9 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04269/67.87, allocations: 14.76 MB / 11.91 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/67.87, allocations: 10.34 kB / 11.91 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1666/68.04, allocations: 37.43 MB / 11.95 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01408/68.05, allocations: 2.852 MB / 11.95 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006881/68.06, allocations: 126.6 kB / 11.95 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02235/68.08, allocations: 0.8329 MB / 11.95 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00313/68.09, allocations: 459.7 kB / 11.95 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002786/68.09, allocations: 285.4 kB / 11.95 GB, free: 125.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0275/68.12, allocations: 8.974 MB / 11.96 GB, free: 125.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.382e-06/68.12, allocations: 0 / 11.96 GB, free: 125.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.06263/68.18, allocations: 6.49 MB / 11.97 GB, free: 125.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (490): * Single equations (assignments): 468 * 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 {7 74,38 56,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1735/68.35, allocations: 42.59 MB / 12.01 GB, free: 119 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.125/68.48, allocations: 33 MB / 12.04 GB, free: 106.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/68.48, allocations: 4 kB / 12.04 GB, free: 106.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.03184/68.51, allocations: 9.06 MB / 12.05 GB, free: 102 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05547/68.57, allocations: 6.299 MB / 12.06 GB, free: 98.79 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08695/68.65, allocations: 24.15 MB / 12.08 GB, free: 79.65 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01593/68.67, allocations: 7.111 MB / 12.09 GB, free: 74.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04841/68.72, allocations: 6.321 MB / 12.1 GB, free: 70.89 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01527/68.73, allocations: 5.846 MB / 12.1 GB, free: 65.51 MB / 1.167 GB Notification: Performance of SimCode: time 1.543e-06/68.73, allocations: 0 / 12.1 GB, free: 65.51 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.265/74, allocations: 0.5432 GB / 12.64 GB, free: 135.9 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/74, allocations: 231.8 kB / 12.64 GB, free: 135.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.2/107.2, allocations: 0 / 12.64 GB, free: 135.6 MB / 1.214 GB