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.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadModel(Buildings): time 4.024/4.024, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.178e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5049, allocations: 98.71 MB / 0.6289 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.538, allocations: 446.9 MB / 1.065 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004185/1.538, allocations: 88.45 kB / 1.065 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 40.58/42.12, allocations: 8.342 GB / 9.407 GB, free: 75.78 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.358e-06/42.12, allocations: 0 / 9.407 GB, free: 75.78 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.004015/42.12, allocations: 0.5127 MB / 9.408 GB, free: 75.67 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.05361/42.18, allocations: 14.03 MB / 9.421 GB, free: 69.73 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/42.18, allocations: 8.656 kB / 9.421 GB, free: 69.73 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/42.2, allocations: 2.447 MB / 9.424 GB, free: 68.73 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08309/42.28, allocations: 23.36 MB / 9.447 GB, free: 66.1 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005521/42.28, allocations: 256.7 kB / 9.447 GB, free: 66.1 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005261/42.28, allocations: 0.579 MB / 9.447 GB, free: 66.09 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04251/42.33, allocations: 19.58 MB / 9.467 GB, free: 66.06 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/42.37, allocations: 15.29 MB / 9.482 GB, free: 64.29 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004111/42.37, allocations: 10.12 kB / 9.482 GB, free: 64.29 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003507/42.37, allocations: 18.97 kB / 9.482 GB, free: 64.29 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/42.37, allocations: 213.9 kB / 9.482 GB, free: 64.29 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.1529/42.53, allocations: 77.63 MB / 9.558 GB, free: 30.63 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02213/42.55, allocations: 12.32 MB / 9.57 GB, free: 30.21 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01599/42.56, allocations: 9.253 MB / 9.579 GB, free: 30.13 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.08281/42.65, allocations: 32.85 MB / 9.611 GB, free: 21.21 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01833/42.67, allocations: 8.929 MB / 9.619 GB, free: 21.06 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05914/42.73, allocations: 14.96 MB / 9.634 GB, free: 20.11 MB / 1.089 GB Notification: Performance of pre-optimization done (n=581): time 4.728e-05/42.73, allocations: 0 / 9.634 GB, free: 20.11 MB / 1.089 GB Notification: Performance of matching and sorting (n=583): time 1.702/44.43, allocations: 139.5 MB / 9.77 GB, free: 93.63 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005023/44.43, allocations: 2.509 MB / 9.773 GB, free: 90.62 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03806/44.47, allocations: 13.79 MB / 9.786 GB, free: 89.95 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.003584/44.47, allocations: 51.17 kB / 9.786 GB, free: 89.91 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01243/44.48, allocations: 7.882 MB / 9.794 GB, free: 89.52 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004908/44.49, allocations: 1.982 MB / 9.796 GB, free: 89.39 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003421/44.49, allocations: 0 / 9.796 GB, free: 89.39 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001109/44.49, allocations: 0.6756 MB / 9.797 GB, free: 89.07 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01784/44.51, allocations: 8.369 MB / 9.805 GB, free: 89.05 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02113/44.53, allocations: 11.83 MB / 9.816 GB, free: 85.17 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02522/44.56, allocations: 9.82 MB / 9.826 GB, free: 85.04 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/44.56, allocations: 13.56 kB / 9.826 GB, free: 85.04 MB / 1.104 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.7599/45.32, allocations: 124.3 MB / 9.947 GB, free: 82.21 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.006634/45.32, allocations: 36.78 MB / 9.983 GB, free: 44.79 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005169/45.32, allocations: 121.9 kB / 9.983 GB, free: 44.78 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8273/46.15, allocations: 143.4 MB / 10.12 GB, free: 11.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01527/46.17, allocations: 2.126 MB / 10.13 GB, free: 9.121 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094/47.26, allocations: 67.24 MB / 10.19 GB, free: 133.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02283/47.28, allocations: 0.9545 MB / 10.19 GB, free: 133.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004366/47.29, allocations: 0.8304 MB / 10.19 GB, free: 133.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/47.29, allocations: 7.469 kB / 10.19 GB, free: 133.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7567/48.04, allocations: 121.6 MB / 10.31 GB, free: 132.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005101/48.04, allocations: 116.7 kB / 10.31 GB, free: 132.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8419/48.89, allocations: 143.5 MB / 10.45 GB, free: 87.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/48.9, allocations: 2.104 MB / 10.45 GB, free: 85.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1876/49.09, allocations: 69.37 MB / 10.52 GB, free: 35.03 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02196/49.11, allocations: 0.9256 MB / 10.52 GB, free: 34.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00394/49.11, allocations: 0.7936 MB / 10.52 GB, free: 33.45 MB / 1.151 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 (937): * Single equations (assignments): 859 * 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 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.006218/49.12, allocations: 347.9 kB / 10.52 GB, free: 33.27 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006265/49.13, allocations: 1.466 MB / 10.52 GB, free: 32.58 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.121/50.25, allocations: 43.38 MB / 10.57 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001492/50.25, allocations: 65.47 kB / 10.57 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-05/50.25, allocations: 31.28 kB / 10.57 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2078/50.45, allocations: 38.34 MB / 10.6 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2552/50.71, allocations: 57.89 MB / 10.66 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-05/50.71, allocations: 4.781 kB / 10.66 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008663/50.72, allocations: 1.127 MB / 10.66 GB, free: 115.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2331/50.95, allocations: 40.73 MB / 10.7 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001935/50.95, allocations: 150.5 kB / 10.7 GB, free: 115.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07572/51.03, allocations: 27.51 MB / 10.73 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.435e-06/51.03, allocations: 3.75 kB / 10.73 GB, free: 109.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2266/51.26, allocations: 48.76 MB / 10.78 GB, free: 108.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01259/51.27, allocations: 3.104 MB / 10.78 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006453/51.28, allocations: 74.73 kB / 10.78 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0176/51.29, allocations: 0.8327 MB / 10.78 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002854/51.3, allocations: 424.9 kB / 10.78 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001972/51.3, allocations: 250.7 kB / 10.78 GB, free: 108 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02652/51.32, allocations: 10.35 MB / 10.79 GB, free: 107.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.184e-06/51.32, allocations: 0 / 10.79 GB, free: 107.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.05806/51.38, allocations: 7.852 MB / 10.8 GB, free: 107.6 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 (526): * Single equations (assignments): 504 * 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 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01179/51.39, allocations: 5.291 MB / 10.8 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.08591/51.48, allocations: 35.51 MB / 10.84 GB, free: 97.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.872e-05/51.48, allocations: 13.38 kB / 10.84 GB, free: 97.31 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01998/51.5, allocations: 8.291 MB / 10.85 GB, free: 93.13 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04309/51.54, allocations: 7.569 MB / 10.85 GB, free: 89.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06387/51.61, allocations: 25.7 MB / 10.88 GB, free: 70.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01958/51.63, allocations: 8.904 MB / 10.89 GB, free: 64.87 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.04529/51.67, allocations: 8.204 MB / 10.9 GB, free: 60.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00407/51.68, allocations: 0.8307 MB / 10.9 GB, free: 59.55 MB / 1.151 GB Notification: Performance of SimCode: time 1.933e-06/51.68, allocations: 3.969 kB / 10.9 GB, free: 59.55 MB / 1.151 GB Notification: Performance of Templates: time 2.676/54.35, allocations: 429.1 MB / 11.32 GB, free: 23.83 MB / 1.151 GB