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.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004241/0.00424, allocations: 232.5 kB / 15.82 MB, free: 6.293 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.001186/0.001186, allocations: 173.2 kB / 16.7 MB, free: 5.449 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.437/3.437, allocations: 389.1 MB / 406.5 MB, free: 6.809 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.286/4.286, allocations: 472.3 MB / 0.9024 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 16 kB / 1.008 GB, free: 81.18 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6729, allocations: 98.69 MB / 1.105 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.885, allocations: 447.7 MB / 1.542 GB, free: 64.93 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.885, allocations: 110.3 kB / 1.542 GB, free: 64.88 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 49.71/51.59, allocations: 9.103 GB / 10.64 GB, free: 30.64 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.036e-06/51.59, allocations: 3.938 kB / 10.64 GB, free: 30.64 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.004457/51.6, allocations: 0.5109 MB / 10.65 GB, free: 30.13 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.1122/51.71, allocations: 21.27 MB / 10.67 GB, free: 8.699 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/51.71, allocations: 12.03 kB / 10.67 GB, free: 8.688 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02203/51.73, allocations: 2.446 MB / 10.67 GB, free: 6.219 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.205/53.94, allocations: 23.23 MB / 10.69 GB, free: 74.8 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00176/53.94, allocations: 0.7034 MB / 10.69 GB, free: 74.78 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007381/53.95, allocations: 1.004 MB / 10.69 GB, free: 74.76 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05864/54.01, allocations: 16.75 MB / 10.71 GB, free: 72.96 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005297/54.01, allocations: 12.22 kB / 10.71 GB, free: 72.96 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004441/54.01, allocations: 358.4 kB / 10.71 GB, free: 72.96 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000376/54.01, allocations: 210.2 kB / 10.71 GB, free: 72.96 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05661/54.07, allocations: 19.68 MB / 10.73 GB, free: 72.9 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 removeSimpleEquations (simulation): time 0.2042/54.27, allocations: 79.13 MB / 10.81 GB, free: 39.24 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02914/54.3, allocations: 11.61 MB / 10.82 GB, free: 38.81 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0232/54.32, allocations: 9.424 MB / 10.83 GB, free: 38.72 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.1104/54.44, allocations: 32.72 MB / 10.86 GB, free: 30.14 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02438/54.46, allocations: 9.19 MB / 10.87 GB, free: 29.97 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08237/54.54, allocations: 15.11 MB / 10.88 GB, free: 29.68 MB / 1.104 GB Notification: Performance of pre-optimization done (n=560): time 4.813e-05/54.54, allocations: 0 / 10.88 GB, free: 29.68 MB / 1.104 GB Notification: Performance of matching and sorting (n=771): time 1.755/56.3, allocations: 199.3 MB / 11.08 GB, free: 3.965 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001744/56.3, allocations: 2.523 MB / 11.08 GB, free: 0.8516 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05424/56.35, allocations: 16.42 MB / 11.1 GB, free: 0.5508 MB / 1.136 GB Notification: Performance of collectPreVariables (initialization): time 0.005137/56.36, allocations: 259.2 kB / 11.1 GB, free: 304 kB / 1.136 GB Notification: Performance of collectInitialEqns (initialization): time 2.171/58.53, allocations: 7.921 MB / 11.1 GB, free: 101.8 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.006503/58.54, allocations: 2.679 MB / 11.11 GB, free: 101.6 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004239/58.54, allocations: 200.8 kB / 11.11 GB, free: 101.6 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.001059/58.54, allocations: 0.7419 MB / 11.11 GB, free: 101.3 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02903/58.57, allocations: 9.563 MB / 11.12 GB, free: 101.2 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03399/58.61, allocations: 13.28 MB / 11.13 GB, free: 97.34 MB / 1.136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03523/58.64, allocations: 11.01 MB / 11.14 GB, free: 97.14 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000173/58.64, allocations: 16.06 kB / 11.14 GB, free: 97.14 MB / 1.136 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.294/59.93, allocations: 129 MB / 11.27 GB, free: 95.65 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001404/59.94, allocations: 1.785 MB / 11.27 GB, free: 93.41 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005838/59.94, allocations: 121.6 kB / 11.27 GB, free: 93.41 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377/61.31, allocations: 147.4 MB / 11.41 GB, free: 63.79 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02496/61.34, allocations: 2.473 MB / 11.41 GB, free: 61.5 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2725/61.61, allocations: 71.86 MB / 11.48 GB, free: 7.379 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03476/61.65, allocations: 1.26 MB / 11.49 GB, free: 6.328 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006024/61.65, allocations: 0.9037 MB / 11.49 GB, free: 5.508 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/61.65, allocations: 4 kB / 11.49 GB, free: 5.504 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.496/64.15, allocations: 127.3 MB / 11.61 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005725/64.15, allocations: 120.4 kB / 11.61 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382/65.53, allocations: 147.3 MB / 11.76 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02181/65.55, allocations: 2.454 MB / 11.76 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2967/65.85, allocations: 76.17 MB / 11.83 GB, free: 80.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03319/65.88, allocations: 1.223 MB / 11.83 GB, free: 79.97 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005441/65.89, allocations: 0.8643 MB / 11.83 GB, free: 79.19 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01967/65.91, allocations: 4.241 MB / 11.84 GB, free: 76.59 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008246/65.92, allocations: 1.536 MB / 11.84 GB, free: 75.88 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3507/66.27, allocations: 49.31 MB / 11.89 GB, free: 36.34 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001709/66.27, allocations: 91 kB / 11.89 GB, free: 36.25 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001523/66.27, allocations: 32 kB / 11.89 GB, free: 36.22 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3176/66.59, allocations: 43.48 MB / 11.93 GB, free: 0.5469 MB / 1.167 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 1.525/68.11, allocations: 66.43 MB / 12 GB, free: 119 MB / 1.183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001461/68.11, allocations: 3.062 kB / 12 GB, free: 119 MB / 1.183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01545/68.13, allocations: 1.482 MB / 12 GB, free: 119 MB / 1.183 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3416/68.47, allocations: 42.65 MB / 12.04 GB, free: 119 MB / 1.183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002995/68.47, allocations: 325.5 kB / 12.04 GB, free: 119 MB / 1.183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1066/68.58, allocations: 29.29 MB / 12.07 GB, free: 113.2 MB / 1.183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/68.58, allocations: 4.312 kB / 12.07 GB, free: 113.2 MB / 1.183 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3465/68.92, allocations: 56.42 MB / 12.12 GB, free: 112.4 MB / 1.183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01592/68.94, allocations: 3.463 MB / 12.13 GB, free: 112.3 MB / 1.183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008202/68.95, allocations: 270.3 kB / 12.13 GB, free: 112.3 MB / 1.183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02545/68.97, allocations: 1.009 MB / 12.13 GB, free: 112.2 MB / 1.183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004274/68.98, allocations: 0.5623 MB / 12.13 GB, free: 112.2 MB / 1.183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002293/68.98, allocations: 325.2 kB / 12.13 GB, free: 112.2 MB / 1.183 GB Notification: Performance of sorting global known variables: time 0.03106/69.01, allocations: 11.15 MB / 12.14 GB, free: 111.8 MB / 1.183 GB Notification: Performance of sort global known variables: time 5.11e-07/69.01, allocations: 0 / 12.14 GB, free: 111.8 MB / 1.183 GB Notification: Performance of remove unused functions: time 0.07386/69.09, allocations: 8.623 MB / 12.15 GB, free: 111.8 MB / 1.183 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 (704): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {1 1,7 83,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01318/69.1, allocations: 5.498 MB / 12.15 GB, free: 109.8 MB / 1.183 GB Notification: Performance of simCode: created initialization part: time 0.1368/69.24, allocations: 40.9 MB / 12.19 GB, free: 106.6 MB / 1.183 GB Notification: Performance of simCode: created event and clocks part: time 2.508e-05/69.24, allocations: 12.94 kB / 12.19 GB, free: 106.6 MB / 1.183 GB Notification: Performance of simCode: created simulation system equations: time 0.03394/69.27, allocations: 10.53 MB / 12.2 GB, free: 106.3 MB / 1.183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07096/69.34, allocations: 7.82 MB / 12.21 GB, free: 106.2 MB / 1.183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09232/69.43, allocations: 38.84 MB / 12.25 GB, free: 88.5 MB / 1.183 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0201/69.45, allocations: 9.293 MB / 12.26 GB, free: 83.03 MB / 1.183 GB Notification: Performance of simCode: alias equations: time 0.0376/69.49, allocations: 5.398 MB / 12.26 GB, free: 79.81 MB / 1.183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008771/69.5, allocations: 1.29 MB / 12.26 GB, free: 78.75 MB / 1.183 GB Notification: Performance of SimCode: time 9.41e-07/69.5, allocations: 0 / 12.26 GB, free: 78.75 MB / 1.183 GB Notification: Performance of Templates: time 2.292/71.79, allocations: 468 MB / 12.72 GB, free: 30.89 MB / 1.183 GB