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.Simplified1.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.Simplified1,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.168/4.168, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.762e-05, allocations: 4.562 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.554, allocations: 447.4 MB / 1.072 GB, free: 9.859 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/1.555, allocations: 89.2 kB / 1.072 GB, free: 9.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 49.81/51.37, allocations: 8.38 GB / 9.452 GB, free: 85.89 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.727e-06/51.37, allocations: 0 / 9.452 GB, free: 85.89 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.005531/51.37, allocations: 0.5238 MB / 9.453 GB, free: 85.77 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.07552/51.45, allocations: 14.02 MB / 9.466 GB, free: 79.83 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/51.45, allocations: 11.88 kB / 9.466 GB, free: 79.83 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006973/51.45, allocations: 1.042 MB / 9.467 GB, free: 79.74 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/51.48, allocations: 2.452 MB / 9.47 GB, free: 78.74 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1139/51.59, allocations: 23.36 MB / 9.492 GB, free: 76.06 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/51.59, allocations: 0.7099 MB / 9.493 GB, free: 76.04 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007242/51.6, allocations: 1.011 MB / 9.494 GB, free: 76.02 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05744/51.66, allocations: 16.47 MB / 9.51 GB, free: 74.15 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007112/51.66, allocations: 20.33 kB / 9.51 GB, free: 74.14 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005601/51.66, allocations: 360.3 kB / 9.511 GB, free: 74.14 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000319/51.66, allocations: 217.7 kB / 9.511 GB, free: 74.14 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0538/51.72, allocations: 19.31 MB / 9.53 GB, free: 74.08 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.2172/51.93, allocations: 78.97 MB / 9.607 GB, free: 40.09 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0288/51.96, allocations: 11.6 MB / 9.618 GB, free: 39.64 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02132/51.99, allocations: 8.942 MB / 9.627 GB, free: 39.14 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.1158/52.1, allocations: 33.09 MB / 9.659 GB, free: 21.54 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02467/52.13, allocations: 9.109 MB / 9.668 GB, free: 18.24 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08748/52.21, allocations: 15.14 MB / 9.683 GB, free: 11.59 MB / 1.104 GB Notification: Performance of pre-optimization done (n=581): time 4.889e-05/52.21, allocations: 0 / 9.683 GB, free: 11.59 MB / 1.104 GB Notification: Performance of matching and sorting (n=811): time 2.664/54.88, allocations: 166.3 MB / 9.845 GB, free: 101.9 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008187/54.88, allocations: 2.53 MB / 9.848 GB, free: 98.94 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05122/54.93, allocations: 14.67 MB / 9.862 GB, free: 98.11 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.005568/54.93, allocations: 269.3 kB / 9.862 GB, free: 98.07 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01588/54.95, allocations: 7.898 MB / 9.87 GB, free: 96.74 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.00748/54.96, allocations: 2.808 MB / 9.873 GB, free: 95.3 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005076/54.96, allocations: 208.8 kB / 9.873 GB, free: 95.3 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001486/54.96, allocations: 0.7505 MB / 9.874 GB, free: 94.98 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02814/54.99, allocations: 9.381 MB / 9.883 GB, free: 94.95 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03921/55.03, allocations: 13.05 MB / 9.896 GB, free: 90.95 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03254/55.06, allocations: 10.86 MB / 9.906 GB, free: 90.61 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/55.07, allocations: 16.53 kB / 9.906 GB, free: 90.61 MB / 1.12 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.3/56.36, allocations: 128.1 MB / 10.03 GB, free: 71.29 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.007761/56.37, allocations: 36.92 MB / 10.07 GB, free: 33.69 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007131/56.37, allocations: 123.6 kB / 10.07 GB, free: 33.57 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72/59.09, allocations: 147.7 MB / 10.21 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02432/59.12, allocations: 2.377 MB / 10.21 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2907/59.41, allocations: 73.62 MB / 10.29 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03519/59.44, allocations: 1.253 MB / 10.29 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006265/59.45, allocations: 0.9113 MB / 10.29 GB, free: 121.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/59.45, allocations: 3.812 kB / 10.29 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.376/60.83, allocations: 126.8 MB / 10.41 GB, free: 116.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005966/60.83, allocations: 120.1 kB / 10.41 GB, free: 116.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379/62.21, allocations: 147.5 MB / 10.56 GB, free: 13 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.219/63.42, allocations: 2.352 MB / 10.56 GB, free: 163.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3253/63.75, allocations: 77.35 MB / 10.63 GB, free: 158.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03475/63.78, allocations: 1.225 MB / 10.64 GB, free: 158.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006363/63.79, allocations: 0.8647 MB / 10.64 GB, free: 158.5 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1062): * Single equations (assignments): 982 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01063/63.8, allocations: 0.7282 MB / 10.64 GB, free: 158.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01015/63.81, allocations: 1.547 MB / 10.64 GB, free: 158.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3878/64.2, allocations: 48.93 MB / 10.69 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002394/64.2, allocations: 95.84 kB / 10.69 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001447/64.2, allocations: 33.8 kB / 10.69 GB, free: 157.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3276/64.53, allocations: 43.06 MB / 10.73 GB, free: 156.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4019/64.93, allocations: 67.05 MB / 10.79 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001599/64.93, allocations: 2.969 kB / 10.79 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01619/64.95, allocations: 1.528 MB / 10.8 GB, free: 152.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3404/65.29, allocations: 42.74 MB / 10.84 GB, free: 144.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003233/65.29, allocations: 331.5 kB / 10.84 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.109/65.4, allocations: 30.78 MB / 10.87 GB, free: 125.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/65.4, allocations: 3.062 kB / 10.87 GB, free: 125.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3496/65.75, allocations: 56.08 MB / 10.92 GB, free: 93.71 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01756/65.77, allocations: 3.545 MB / 10.93 GB, free: 91.57 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009159/65.78, allocations: 274.2 kB / 10.93 GB, free: 91.48 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02706/65.8, allocations: 1.067 MB / 10.93 GB, free: 90.93 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004575/65.81, allocations: 0.5845 MB / 10.93 GB, free: 90.64 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003122/65.81, allocations: 338.6 kB / 10.93 GB, free: 90.41 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03334/65.84, allocations: 11.19 MB / 10.94 GB, free: 83.36 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.152e-06/65.84, allocations: 3.969 kB / 10.94 GB, free: 83.36 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07052/65.91, allocations: 8.737 MB / 10.95 GB, free: 74.92 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 (716): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 1.492/67.41, allocations: 61.58 MB / 11.01 GB, free: 159 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1543/67.56, allocations: 42.29 MB / 11.05 GB, free: 155.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.74e-05/67.56, allocations: 12.22 kB / 11.05 GB, free: 155.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03896/67.6, allocations: 10.99 MB / 11.06 GB, free: 155.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07009/67.67, allocations: 7.778 MB / 11.07 GB, free: 155.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/67.79, allocations: 33.29 MB / 11.1 GB, free: 149.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02547/67.82, allocations: 9.371 MB / 11.11 GB, free: 148.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.06347/67.88, allocations: 8.955 MB / 11.12 GB, free: 148.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02265/67.9, allocations: 7.863 MB / 11.13 GB, free: 148.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.463e-06/67.9, allocations: 2.25 kB / 11.13 GB, free: 148.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.78/71.68, allocations: 0.6431 GB / 11.77 GB, free: 23.77 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/71.68, allocations: 230.4 kB / 11.77 GB, free: 23.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.76/114.4, allocations: 3.938 kB / 11.77 GB, free: 23.5 MB / 1.182 GB