Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.908/3.908, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.639e-05, allocations: 3.531 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.281, allocations: 447.3 MB / 1.071 GB, free: 12.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.281, allocations: 95.06 kB / 1.072 GB, free: 12.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 30.36/31.64, allocations: 6.184 GB / 7.256 GB, free: 75.82 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.633e-06/31.64, allocations: 0 / 7.256 GB, free: 75.82 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003844/31.65, allocations: 0.5322 MB / 7.256 GB, free: 75.7 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.05421/31.7, allocations: 14.05 MB / 7.27 GB, free: 69.71 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/31.7, allocations: 8.344 kB / 7.27 GB, free: 69.71 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/31.72, allocations: 2.455 MB / 7.272 GB, free: 68.68 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08273/31.8, allocations: 23.43 MB / 7.295 GB, free: 65.97 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/31.8, allocations: 0.7189 MB / 7.296 GB, free: 65.95 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005514/31.81, allocations: 1.018 MB / 7.297 GB, free: 65.93 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/31.85, allocations: 16.61 MB / 7.313 GB, free: 64.07 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000442/31.85, allocations: 19.7 kB / 7.313 GB, free: 64.06 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003994/31.86, allocations: 358.2 kB / 7.313 GB, free: 64.06 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002429/31.86, allocations: 216.9 kB / 7.314 GB, free: 64.06 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04425/31.9, allocations: 19.4 MB / 7.332 GB, free: 64 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.1606/32.06, allocations: 78.13 MB / 7.409 GB, free: 31.59 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02386/32.08, allocations: 12.22 MB / 7.421 GB, free: 31.1 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01745/32.1, allocations: 9.433 MB / 7.43 GB, free: 30.99 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.08492/32.19, allocations: 33.67 MB / 7.463 GB, free: 17.69 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01985/32.21, allocations: 9.331 MB / 7.472 GB, free: 14.32 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05657/32.26, allocations: 15.15 MB / 7.487 GB, free: 12.77 MB / 1.089 GB Notification: Performance of pre-optimization done (n=605): time 4.002e-05/32.26, allocations: 3.906 kB / 7.487 GB, free: 12.77 MB / 1.089 GB Notification: Performance of matching and sorting (n=859): time 1.853/34.12, allocations: 169.6 MB / 7.652 GB, free: 108.1 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005154/34.12, allocations: 2.537 MB / 7.655 GB, free: 105.1 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03998/34.16, allocations: 14.62 MB / 7.669 GB, free: 104.3 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.004022/34.16, allocations: 283 kB / 7.669 GB, free: 104.3 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01211/34.17, allocations: 7.935 MB / 7.677 GB, free: 103.8 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.005625/34.18, allocations: 2.979 MB / 7.68 GB, free: 103.4 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00358/34.18, allocations: 208.5 kB / 7.68 GB, free: 103.4 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001098/34.18, allocations: 0.7537 MB / 7.681 GB, free: 103.1 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02178/34.21, allocations: 9.529 MB / 7.69 GB, free: 103 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02588/34.23, allocations: 13.27 MB / 7.703 GB, free: 99.04 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02679/34.26, allocations: 11.04 MB / 7.714 GB, free: 98.7 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/34.26, allocations: 14.94 kB / 7.714 GB, free: 98.7 MB / 1.12 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.7547/35.01, allocations: 129.5 MB / 7.841 GB, free: 88.86 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006105/35.02, allocations: 33.17 MB / 7.873 GB, free: 54.45 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005133/35.02, allocations: 112.1 kB / 7.873 GB, free: 54.43 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725/36.74, allocations: 152 MB / 8.021 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01587/36.76, allocations: 2.189 MB / 8.024 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2116/36.97, allocations: 75.81 MB / 8.098 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02332/37, allocations: 1.206 MB / 8.099 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004909/37, allocations: 0.9123 MB / 8.1 GB, free: 128.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/37, allocations: 3.031 kB / 8.1 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7478/37.75, allocations: 128 MB / 8.225 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004824/37.75, allocations: 110.9 kB / 8.225 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7832/38.53, allocations: 152.5 MB / 8.374 GB, free: 11.88 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/38.55, allocations: 2.17 MB / 8.376 GB, free: 9.871 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167/39.71, allocations: 82.44 MB / 8.456 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02215/39.74, allocations: 1.194 MB / 8.458 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004411/39.74, allocations: 0.8583 MB / 8.458 GB, free: 148.2 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 (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.007122/39.75, allocations: 0.7225 MB / 8.459 GB, free: 148.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006741/39.75, allocations: 1.562 MB / 8.461 GB, free: 148.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2388/39.99, allocations: 50.63 MB / 8.51 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001721/39.99, allocations: 104.8 kB / 8.51 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001103/39.99, allocations: 28.91 kB / 8.51 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2168/40.21, allocations: 44.6 MB / 8.554 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2792/40.49, allocations: 69.53 MB / 8.622 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/40.49, allocations: 0 / 8.622 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009694/40.5, allocations: 1.367 MB / 8.623 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2374/40.74, allocations: 44.72 MB / 8.667 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002672/40.74, allocations: 342.4 kB / 8.667 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08751/40.83, allocations: 33.13 MB / 8.699 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.024e-06/40.83, allocations: 2.25 kB / 8.699 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.236/41.06, allocations: 58.03 MB / 8.756 GB, free: 77.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01403/41.08, allocations: 3.626 MB / 8.76 GB, free: 74.42 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00697/41.08, allocations: 283.9 kB / 8.76 GB, free: 74.17 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01814/41.1, allocations: 1.037 MB / 8.761 GB, free: 73.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0034/41.11, allocations: 0.6007 MB / 8.761 GB, free: 73.14 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002423/41.11, allocations: 354.3 kB / 8.762 GB, free: 72.83 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02752/41.14, allocations: 11.17 MB / 8.773 GB, free: 63.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.586e-06/41.14, allocations: 0 / 8.773 GB, free: 63.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.05075/41.19, allocations: 8.749 MB / 8.781 GB, free: 54.65 MB / 1.167 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 (668): * Single equations (assignments): 644 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01232/41.2, allocations: 5.662 MB / 8.787 GB, free: 50.12 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.9917/42.19, allocations: 42.89 MB / 8.829 GB, free: 142.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-05/42.19, allocations: 11.81 kB / 8.829 GB, free: 142.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.02984/42.22, allocations: 11.23 MB / 8.84 GB, free: 141.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04687/42.27, allocations: 7.806 MB / 8.847 GB, free: 141.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07569/42.34, allocations: 28.97 MB / 8.876 GB, free: 136.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02107/42.36, allocations: 9.444 MB / 8.885 GB, free: 134.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04938/42.41, allocations: 8.484 MB / 8.893 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005339/42.42, allocations: 0.9145 MB / 8.894 GB, free: 134.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.852e-06/42.42, allocations: 0.6562 kB / 8.894 GB, free: 134.8 MB / 1.167 GB Notification: Performance of Templates: time 2.953/45.37, allocations: 0.5124 GB / 9.406 GB, free: 149.3 MB / 1.198 GB