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.Basic.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: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00594/0.00594, allocations: 237.5 kB / 15.82 MB, free: 6.277 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.001865/0.001865, allocations: 172.4 kB / 16.7 MB, free: 5.445 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 3.942/3.942, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.014/4.014, allocations: 472.3 MB / 0.9024 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006468, allocations: 8 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1794, allocations: 98.71 MB / 1.105 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.795/1.975, allocations: 447.3 MB / 1.541 GB, free: 220 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.975, allocations: 96.83 kB / 1.542 GB, free: 220 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 33.93/35.9, allocations: 6.16 GB / 7.701 GB, free: 70.82 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.106e-06/35.9, allocations: 0 / 7.701 GB, free: 70.82 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004845/35.91, allocations: 0.5266 MB / 7.702 GB, free: 70.66 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: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.1138/36.02, allocations: 21.3 MB / 7.722 GB, free: 62.59 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/36.02, allocations: 8.219 kB / 7.722 GB, free: 62.59 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0215/36.04, allocations: 2.457 MB / 7.725 GB, free: 61.56 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.108/36.15, allocations: 23.31 MB / 7.748 GB, free: 58.55 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/36.15, allocations: 0.719 MB / 7.748 GB, free: 58.54 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006568/36.16, allocations: 1.019 MB / 7.749 GB, free: 58.52 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0534/36.21, allocations: 16.92 MB / 7.766 GB, free: 56.58 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000568/36.21, allocations: 14.09 kB / 7.766 GB, free: 56.57 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004926/36.22, allocations: 357.6 kB / 7.766 GB, free: 56.57 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000286/36.22, allocations: 212.7 kB / 7.766 GB, free: 56.57 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07499/36.29, allocations: 19.81 MB / 7.786 GB, free: 56.44 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.2081/36.5, allocations: 78.06 MB / 7.862 GB, free: 13.98 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03429/36.54, allocations: 12.49 MB / 7.874 GB, free: 3.18 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.093/37.63, allocations: 9.775 MB / 7.884 GB, free: 96.11 MB / 1.104 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.1163/37.75, allocations: 33.52 MB / 7.916 GB, free: 88.02 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02719/37.77, allocations: 9.511 MB / 7.926 GB, free: 87.85 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08702/37.86, allocations: 15.13 MB / 7.94 GB, free: 87.85 MB / 1.104 GB Notification: Performance of pre-optimization done (n=605): time 5.489e-05/37.86, allocations: 0 / 7.94 GB, free: 87.85 MB / 1.104 GB Notification: Performance of matching and sorting (n=859): time 1.815/39.68, allocations: 211.5 MB / 8.147 GB, free: 75.94 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007036/39.68, allocations: 2.532 MB / 8.149 GB, free: 72.93 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04518/39.72, allocations: 16.37 MB / 8.165 GB, free: 72.09 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.005164/39.73, allocations: 288.1 kB / 8.166 GB, free: 72.05 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01393/39.74, allocations: 7.926 MB / 8.173 GB, free: 70.65 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.007103/39.75, allocations: 2.968 MB / 8.176 GB, free: 69.13 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004888/39.75, allocations: 214.6 kB / 8.177 GB, free: 69.13 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001207/39.76, allocations: 0.7569 MB / 8.177 GB, free: 68.8 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02805/39.78, allocations: 9.913 MB / 8.187 GB, free: 68.78 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0319/39.82, allocations: 13.71 MB / 8.2 GB, free: 61.68 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03055/39.85, allocations: 11.4 MB / 8.211 GB, free: 55.94 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-05/39.85, allocations: 12 kB / 8.211 GB, free: 55.93 MB / 1.104 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 2.378/42.22, allocations: 131.8 MB / 8.34 GB, free: 106.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/42.22, allocations: 1.577 MB / 8.342 GB, free: 104.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005103/42.23, allocations: 112.5 kB / 8.342 GB, free: 104.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402/43.63, allocations: 153.9 MB / 8.492 GB, free: 103.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02348/43.65, allocations: 2.296 MB / 8.494 GB, free: 103.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2863/43.94, allocations: 77.01 MB / 8.57 GB, free: 95.76 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03483/43.97, allocations: 1.211 MB / 8.571 GB, free: 95.39 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006228/43.98, allocations: 0.9183 MB / 8.572 GB, free: 95.12 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/43.98, allocations: 3.812 kB / 8.572 GB, free: 95.12 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.294/45.27, allocations: 129.7 MB / 8.698 GB, free: 2.883 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006275/45.27, allocations: 116.4 kB / 8.698 GB, free: 2.777 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583/47.86, allocations: 153.8 MB / 8.849 GB, free: 142.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02101/47.88, allocations: 2.253 MB / 8.851 GB, free: 142.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3233/48.2, allocations: 83.72 MB / 8.933 GB, free: 138.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03336/48.23, allocations: 1.194 MB / 8.934 GB, free: 138.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006057/48.24, allocations: 0.8677 MB / 8.935 GB, free: 138.5 MB / 1.182 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02097/48.26, allocations: 4.264 MB / 8.939 GB, free: 138.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00914/48.27, allocations: 1.553 MB / 8.94 GB, free: 138.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3708/48.64, allocations: 52.71 MB / 8.992 GB, free: 137.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001865/48.64, allocations: 110.9 kB / 8.992 GB, free: 137.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002069/48.64, allocations: 29.62 kB / 8.992 GB, free: 137.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3283/48.97, allocations: 46.58 MB / 9.037 GB, free: 121.4 MB / 1.182 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.4033/49.37, allocations: 71.95 MB / 9.108 GB, free: 67.21 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000145/49.37, allocations: 0 / 9.108 GB, free: 67.21 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01437/49.39, allocations: 1.355 MB / 9.109 GB, free: 65.96 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3466/49.73, allocations: 46.51 MB / 9.154 GB, free: 20.94 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003516/49.74, allocations: 349.2 kB / 9.155 GB, free: 20.76 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27/51.01, allocations: 34.41 MB / 9.188 GB, free: 162 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/51.01, allocations: 4.234 kB / 9.188 GB, free: 162 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3991/51.41, allocations: 60.34 MB / 9.247 GB, free: 160.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0177/51.42, allocations: 3.641 MB / 9.251 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009081/51.43, allocations: 291 kB / 9.251 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02514/51.46, allocations: 1.045 MB / 9.252 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004631/51.46, allocations: 0.6113 MB / 9.253 GB, free: 160.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002795/51.47, allocations: 355.5 kB / 9.253 GB, free: 160.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03195/51.5, allocations: 11.13 MB / 9.264 GB, free: 160.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.395e-06/51.5, allocations: 0 / 9.264 GB, free: 160.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05978/51.56, allocations: 8.729 MB / 9.272 GB, free: 160.4 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (664): * Single equations (assignments): 640 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {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: 3 {33 156,33 119,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01421/51.57, allocations: 5.529 MB / 9.278 GB, free: 158.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1507/51.72, allocations: 43.89 MB / 9.321 GB, free: 155 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.069e-05/51.72, allocations: 13.66 kB / 9.321 GB, free: 155 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.04118/51.76, allocations: 11.83 MB / 9.332 GB, free: 154.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07775/51.84, allocations: 8.002 MB / 9.34 GB, free: 154.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/51.95, allocations: 40.2 MB / 9.379 GB, free: 140.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0232/51.97, allocations: 9.446 MB / 9.388 GB, free: 139.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03778/52.01, allocations: 5.015 MB / 9.393 GB, free: 139.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009125/52.02, allocations: 1.253 MB / 9.395 GB, free: 139.2 MB / 1.182 GB Notification: Performance of SimCode: time 2.876e-06/52.02, allocations: 0 / 9.395 GB, free: 139.2 MB / 1.182 GB Notification: Performance of Templates: time 2.332/54.35, allocations: 498.4 MB / 9.881 GB, free: 110.5 MB / 1.182 GB