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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.962/3.962, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.378e-05, allocations: 4 kB / 0.5325 GB, free: 1.879 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5504, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.652, allocations: 446.6 MB / 1.065 GB, free: 248 kB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.652, allocations: 98.64 kB / 1.065 GB, free: 196 kB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 29.77/31.42, allocations: 6.154 GB / 7.219 GB, free: 70.12 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.945e-06/31.42, allocations: 2.562 kB / 7.219 GB, free: 70.12 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003331/31.43, allocations: 0.5341 MB / 7.219 GB, free: 70 MB / 1.073 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.05028/31.48, allocations: 14.04 MB / 7.233 GB, free: 64.02 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/31.48, allocations: 9.469 kB / 7.233 GB, free: 64.02 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0217/31.5, allocations: 2.459 MB / 7.235 GB, free: 62.99 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08146/31.58, allocations: 23.43 MB / 7.258 GB, free: 60.28 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005472/31.58, allocations: 255.5 kB / 7.259 GB, free: 60.28 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004923/31.59, allocations: 0.5856 MB / 7.259 GB, free: 60.27 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04154/31.63, allocations: 19.78 MB / 7.278 GB, free: 60.24 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04092/31.67, allocations: 15.43 MB / 7.293 GB, free: 58.41 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004392/31.67, allocations: 10.59 kB / 7.293 GB, free: 58.41 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/31.67, allocations: 18.94 kB / 7.294 GB, free: 58.41 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/31.67, allocations: 215.6 kB / 7.294 GB, free: 58.4 MB / 1.073 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.1513/31.83, allocations: 76.79 MB / 7.369 GB, free: 25.91 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/31.85, allocations: 13.1 MB / 7.381 GB, free: 25.47 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01605/31.86, allocations: 9.786 MB / 7.391 GB, free: 25.34 MB / 1.073 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.08241/31.95, allocations: 33.41 MB / 7.424 GB, free: 10.2 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01843/31.96, allocations: 9.15 MB / 7.433 GB, free: 6.902 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05227/32.02, allocations: 14.96 MB / 7.447 GB, free: 5.488 MB / 1.073 GB Notification: Performance of pre-optimization done (n=605): time 5.347e-05/32.02, allocations: 0 / 7.447 GB, free: 5.488 MB / 1.073 GB Notification: Performance of matching and sorting (n=607): time 1.735/33.75, allocations: 140.3 MB / 7.584 GB, free: 102 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004994/33.75, allocations: 2.508 MB / 7.587 GB, free: 98.95 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03696/33.79, allocations: 13.77 MB / 7.6 GB, free: 98.27 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.003533/33.79, allocations: 46.36 kB / 7.6 GB, free: 98.24 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01225/33.81, allocations: 7.804 MB / 7.608 GB, free: 97.76 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00476/33.81, allocations: 2.059 MB / 7.61 GB, free: 97.64 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003242/33.81, allocations: 3.75 kB / 7.61 GB, free: 97.64 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001001/33.81, allocations: 0.6765 MB / 7.61 GB, free: 97.32 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01788/33.83, allocations: 8.513 MB / 7.619 GB, free: 97.3 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02143/33.85, allocations: 12.02 MB / 7.631 GB, free: 93.33 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02569/33.88, allocations: 9.974 MB / 7.64 GB, free: 93.11 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/33.88, allocations: 13.69 kB / 7.64 GB, free: 93.11 MB / 1.104 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.7278/34.61, allocations: 125.2 MB / 7.763 GB, free: 88.79 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.006208/34.61, allocations: 33.04 MB / 7.795 GB, free: 54.39 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005081/34.61, allocations: 108 kB / 7.795 GB, free: 54.37 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711/36.33, allocations: 144.6 MB / 7.936 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01424/36.34, allocations: 2.022 MB / 7.938 GB, free: 146.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1867/36.53, allocations: 68.69 MB / 8.005 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02177/36.55, allocations: 0.9387 MB / 8.006 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00428/36.55, allocations: 0.8323 MB / 8.007 GB, free: 140.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/36.55, allocations: 6.781 kB / 8.007 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7171/37.27, allocations: 122.1 MB / 8.126 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004839/37.27, allocations: 113.9 kB / 8.126 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7759/38.05, allocations: 144.5 MB / 8.267 GB, free: 59.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/38.06, allocations: 2.001 MB / 8.269 GB, free: 58.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116/39.17, allocations: 73.21 MB / 8.341 GB, free: 140.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02088/39.19, allocations: 0.9203 MB / 8.342 GB, free: 140.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003943/39.2, allocations: 0.7814 MB / 8.342 GB, free: 140.6 MB / 1.151 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 (889): * Single equations (assignments): 811 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * 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: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.00623/39.2, allocations: 347.4 kB / 8.343 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006268/39.21, allocations: 1.466 MB / 8.344 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2226/39.43, allocations: 44.26 MB / 8.387 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001491/39.43, allocations: 75.14 kB / 8.388 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/39.43, allocations: 30.31 kB / 8.388 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.199/39.63, allocations: 39.14 MB / 8.426 GB, free: 139.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2479/39.88, allocations: 59.13 MB / 8.484 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-05/39.88, allocations: 1.406 kB / 8.484 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007667/39.89, allocations: 1.061 MB / 8.485 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2279/40.12, allocations: 41.82 MB / 8.525 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001938/40.12, allocations: 149.5 kB / 8.526 GB, free: 135.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07522/40.19, allocations: 28.75 MB / 8.554 GB, free: 129.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/40.19, allocations: 5.406 kB / 8.554 GB, free: 129.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2186/40.41, allocations: 49.78 MB / 8.602 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01267/40.43, allocations: 3.15 MB / 8.605 GB, free: 119.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006445/40.43, allocations: 75.94 kB / 8.605 GB, free: 119.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01667/40.45, allocations: 0.8391 MB / 8.606 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002928/40.45, allocations: 437.3 kB / 8.607 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001953/40.45, allocations: 248.4 kB / 8.607 GB, free: 119.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02601/40.48, allocations: 10.33 MB / 8.617 GB, free: 113.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.473e-06/40.48, allocations: 1.094 kB / 8.617 GB, free: 113.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05133/40.53, allocations: 7.814 MB / 8.625 GB, free: 106.3 MB / 1.151 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 (502): * Single equations (assignments): 480 * 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: 2 * 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: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/40.54, allocations: 5.284 MB / 8.63 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.08366/40.63, allocations: 36.52 MB / 8.665 GB, free: 81.99 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/40.63, allocations: 12.53 kB / 8.665 GB, free: 81.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.02101/40.65, allocations: 8.69 MB / 8.674 GB, free: 77.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04292/40.69, allocations: 7.594 MB / 8.681 GB, free: 73.52 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0642/40.75, allocations: 25.77 MB / 8.706 GB, free: 54.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01867/40.77, allocations: 8.918 MB / 8.715 GB, free: 49.15 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.04409/40.82, allocations: 7.998 MB / 8.723 GB, free: 44.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003899/40.82, allocations: 0.8127 MB / 8.724 GB, free: 43.32 MB / 1.151 GB Notification: Performance of SimCode: time 2.495e-06/40.82, allocations: 1.203 kB / 8.724 GB, free: 43.32 MB / 1.151 GB Notification: Performance of Templates: time 2.746/43.57, allocations: 438.9 MB / 9.152 GB, free: 12.93 MB / 1.182 GB