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/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.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 3.928/3.928, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.85e-05, allocations: 4.844 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1757, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.185, allocations: 447.6 MB / 1.072 GB, free: 12.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.185, allocations: 94.94 kB / 1.072 GB, free: 12.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 40.95/42.14, allocations: 8.381 GB / 9.453 GB, free: 87.65 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.054e-06/42.14, allocations: 0 / 9.453 GB, free: 87.65 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.003794/42.14, allocations: 0.5109 MB / 9.454 GB, free: 87.54 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.05336/42.19, allocations: 14.03 MB / 9.467 GB, free: 81.58 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/42.19, allocations: 12.25 kB / 9.467 GB, free: 81.58 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/42.21, allocations: 2.443 MB / 9.47 GB, free: 80.57 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08227/42.29, allocations: 23.37 MB / 9.493 GB, free: 77.84 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/42.29, allocations: 0.7056 MB / 9.493 GB, free: 77.83 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005568/42.3, allocations: 1.007 MB / 9.494 GB, free: 77.81 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04522/42.35, allocations: 16.48 MB / 9.51 GB, free: 75.94 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004724/42.35, allocations: 11.16 kB / 9.51 GB, free: 75.94 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004068/42.35, allocations: 361.2 kB / 9.511 GB, free: 75.94 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/42.35, allocations: 212.5 kB / 9.511 GB, free: 75.94 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04367/42.39, allocations: 19.32 MB / 9.53 GB, free: 75.87 MB / 1.104 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.1602/42.55, allocations: 78.97 MB / 9.607 GB, free: 41.79 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02294/42.58, allocations: 11.61 MB / 9.618 GB, free: 41.34 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01716/42.59, allocations: 8.952 MB / 9.627 GB, free: 40.86 MB / 1.104 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.08489/42.68, allocations: 33.08 MB / 9.659 GB, free: 23.27 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01983/42.7, allocations: 9.117 MB / 9.668 GB, free: 19.96 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05745/42.76, allocations: 15.15 MB / 9.683 GB, free: 13.05 MB / 1.104 GB Notification: Performance of pre-optimization done (n=581): time 3.553e-05/42.76, allocations: 0 / 9.683 GB, free: 13.05 MB / 1.104 GB Notification: Performance of matching and sorting (n=811): time 1.767/44.52, allocations: 165.8 MB / 9.845 GB, free: 101.4 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005666/44.52, allocations: 2.53 MB / 9.847 GB, free: 98.41 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04161/44.57, allocations: 14.67 MB / 9.862 GB, free: 97.58 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.004204/44.57, allocations: 274.5 kB / 9.862 GB, free: 97.55 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01279/44.58, allocations: 7.898 MB / 9.87 GB, free: 96.21 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.005758/44.59, allocations: 2.809 MB / 9.872 GB, free: 94.78 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003855/44.59, allocations: 206.5 kB / 9.873 GB, free: 94.78 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001228/44.59, allocations: 0.7479 MB / 9.873 GB, free: 94.45 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02198/44.62, allocations: 9.382 MB / 9.882 GB, free: 94.43 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02625/44.64, allocations: 13.05 MB / 9.895 GB, free: 90.42 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02553/44.67, allocations: 10.87 MB / 9.906 GB, free: 90.08 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/44.67, allocations: 12.97 kB / 9.906 GB, free: 90.08 MB / 1.12 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.7966/45.46, allocations: 128.1 MB / 10.03 GB, free: 71.5 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006576/45.47, allocations: 36.92 MB / 10.07 GB, free: 33.89 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004859/45.47, allocations: 118.8 kB / 10.07 GB, free: 33.78 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791/47.26, allocations: 146.9 MB / 10.21 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01728/47.28, allocations: 2.379 MB / 10.21 GB, free: 128.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2094/47.49, allocations: 73.18 MB / 10.28 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02422/47.51, allocations: 1.258 MB / 10.29 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004724/47.52, allocations: 0.9088 MB / 10.29 GB, free: 121.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/47.52, allocations: 4.281 kB / 10.29 GB, free: 121.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7928/48.31, allocations: 126.8 MB / 10.41 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004868/48.31, allocations: 119.9 kB / 10.41 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8168/49.13, allocations: 147.3 MB / 10.55 GB, free: 14.92 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01602/49.15, allocations: 2.355 MB / 10.56 GB, free: 12.74 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132/50.28, allocations: 77.01 MB / 10.63 GB, free: 156.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02305/50.3, allocations: 1.223 MB / 10.63 GB, free: 156.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004496/50.31, allocations: 0.8678 MB / 10.63 GB, free: 156.7 MB / 1.182 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 (1062): * Single equations (assignments): 982 * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.007535/50.31, allocations: 0.7215 MB / 10.63 GB, free: 156.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007244/50.32, allocations: 1.551 MB / 10.64 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2412/50.56, allocations: 48.9 MB / 10.68 GB, free: 155.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001662/50.56, allocations: 98 kB / 10.68 GB, free: 155.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001162/50.56, allocations: 27.31 kB / 10.68 GB, free: 155.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2145/50.78, allocations: 43.03 MB / 10.73 GB, free: 155 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2777/51.05, allocations: 67.06 MB / 10.79 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001027/51.05, allocations: 0 / 10.79 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0119/51.07, allocations: 1.535 MB / 10.79 GB, free: 150.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2395/51.31, allocations: 42.25 MB / 10.83 GB, free: 145.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002593/51.31, allocations: 332.9 kB / 10.83 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0819/51.39, allocations: 30.57 MB / 10.86 GB, free: 126.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.682e-06/51.39, allocations: 0 / 10.86 GB, free: 126.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2318/51.62, allocations: 56.11 MB / 10.92 GB, free: 95.35 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0137/51.64, allocations: 3.536 MB / 10.92 GB, free: 93.21 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006955/51.64, allocations: 276.5 kB / 10.92 GB, free: 93.11 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01844/51.66, allocations: 1.068 MB / 10.92 GB, free: 92.57 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003383/51.66, allocations: 0.5789 MB / 10.92 GB, free: 92.28 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00238/51.67, allocations: 336.1 kB / 10.92 GB, free: 92.06 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02744/51.69, allocations: 11.2 MB / 10.94 GB, free: 84.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.68e-06/51.69, allocations: 0 / 10.94 GB, free: 84.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.05591/51.75, allocations: 8.735 MB / 10.94 GB, free: 76.26 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/51.76, allocations: 5.655 MB / 10.95 GB, free: 71.77 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1038/51.87, allocations: 41.09 MB / 10.99 GB, free: 35.85 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-05/51.87, allocations: 10.62 kB / 10.99 GB, free: 35.84 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.02578/51.89, allocations: 10.49 MB / 11 GB, free: 26.34 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.9729/52.87, allocations: 7.776 MB / 11.01 GB, free: 148.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07854/52.94, allocations: 28.68 MB / 11.04 GB, free: 142.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02089/52.96, allocations: 9.369 MB / 11.04 GB, free: 141.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.05065/53.02, allocations: 8.953 MB / 11.05 GB, free: 141.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005426/53.02, allocations: 0.9558 MB / 11.05 GB, free: 141.6 MB / 1.182 GB Notification: Performance of SimCode: time 2.072e-06/53.02, allocations: 0 / 11.05 GB, free: 141.6 MB / 1.182 GB Notification: Performance of Templates: time 2.938/55.96, allocations: 0.4955 GB / 11.55 GB, free: 128.1 MB / 1.214 GB