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.Simplified1.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.Simplified1,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004255/0.004254, allocations: 232.7 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.001177/0.001178, allocations: 177.3 kB / 16.71 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.869/3.869, allocations: 389 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.934/3.934, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004863, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1777, allocations: 98.71 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.831/2.008, allocations: 447.4 MB / 1.542 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/2.009, allocations: 108.3 kB / 1.542 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 46.07/48.08, allocations: 8.347 GB / 9.889 GB, free: 74.94 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.657e-06/48.08, allocations: 0 / 9.889 GB, free: 74.94 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.004991/48.08, allocations: 0.5123 MB / 9.89 GB, free: 74.77 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.1144/48.2, allocations: 21.29 MB / 9.91 GB, free: 66.51 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/48.2, allocations: 14.06 kB / 9.91 GB, free: 66.5 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/48.22, allocations: 2.452 MB / 9.913 GB, free: 65.47 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1084/48.33, allocations: 23.25 MB / 9.935 GB, free: 62 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/48.33, allocations: 0.7069 MB / 9.936 GB, free: 61.98 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006691/48.34, allocations: 1.007 MB / 9.937 GB, free: 61.95 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05489/48.39, allocations: 16.79 MB / 9.953 GB, free: 59.63 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006785/48.39, allocations: 11.16 kB / 9.953 GB, free: 59.63 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005364/48.4, allocations: 360.2 kB / 9.954 GB, free: 59.37 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002831/48.4, allocations: 213 kB / 9.954 GB, free: 59.36 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05265/48.45, allocations: 19.72 MB / 9.973 GB, free: 47.3 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 1.287/49.74, allocations: 78.78 MB / 10.05 GB, free: 69.51 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.031/49.77, allocations: 11.86 MB / 10.06 GB, free: 69.09 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02205/49.79, allocations: 9.109 MB / 10.07 GB, free: 69.03 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.1149/49.9, allocations: 32.94 MB / 10.1 GB, free: 60.74 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02648/49.93, allocations: 9.287 MB / 10.11 GB, free: 60.57 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08411/50.02, allocations: 15.12 MB / 10.13 GB, free: 60.57 MB / 1.104 GB Notification: Performance of pre-optimization done (n=581): time 6.562e-05/50.02, allocations: 0 / 10.13 GB, free: 60.57 MB / 1.104 GB Notification: Performance of matching and sorting (n=811): time 1.774/51.79, allocations: 199.1 MB / 10.32 GB, free: 50.29 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000754/51.79, allocations: 2.534 MB / 10.32 GB, free: 47.28 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04757/51.84, allocations: 16.41 MB / 10.34 GB, free: 46.43 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.005063/51.84, allocations: 271.4 kB / 10.34 GB, free: 46.4 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0138/51.86, allocations: 7.905 MB / 10.35 GB, free: 45.04 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.006955/51.86, allocations: 2.803 MB / 10.35 GB, free: 43.61 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004933/51.87, allocations: 208.6 kB / 10.35 GB, free: 43.61 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001384/51.87, allocations: 0.7518 MB / 10.35 GB, free: 43.28 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02872/51.9, allocations: 9.698 MB / 10.36 GB, free: 42.74 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0321/51.93, allocations: 13.44 MB / 10.37 GB, free: 33.72 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03151/51.96, allocations: 11.14 MB / 10.38 GB, free: 28.38 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/51.96, allocations: 16 kB / 10.38 GB, free: 28.36 MB / 1.104 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.452/54.41, allocations: 129.8 MB / 10.51 GB, free: 98.75 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/54.42, allocations: 1.728 MB / 10.51 GB, free: 96.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005117/54.42, allocations: 116.1 kB / 10.51 GB, free: 96.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38/55.8, allocations: 149.3 MB / 10.66 GB, free: 95.24 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02548/55.82, allocations: 2.485 MB / 10.66 GB, free: 95.23 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2916/56.11, allocations: 74.63 MB / 10.73 GB, free: 79.99 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03515/56.15, allocations: 1.259 MB / 10.74 GB, free: 79.61 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005768/56.15, allocations: 0.9084 MB / 10.74 GB, free: 79.33 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/56.15, allocations: 3.938 kB / 10.74 GB, free: 79.33 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.277/57.43, allocations: 128 MB / 10.86 GB, free: 440 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006474/57.43, allocations: 114.4 kB / 10.86 GB, free: 328 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503/59.93, allocations: 148.5 MB / 11.01 GB, free: 133.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02198/59.96, allocations: 2.442 MB / 11.01 GB, free: 133.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3085/60.27, allocations: 78.43 MB / 11.09 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03382/60.3, allocations: 1.229 MB / 11.09 GB, free: 129.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005894/60.31, allocations: 0.8698 MB / 11.09 GB, free: 129.3 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 () * Number of clocked 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02033/60.33, allocations: 4.245 MB / 11.09 GB, free: 129.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00903/60.33, allocations: 1.55 MB / 11.09 GB, free: 129.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3636/60.7, allocations: 50.31 MB / 11.14 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001931/60.7, allocations: 102.5 kB / 11.14 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002204/60.7, allocations: 30.94 kB / 11.14 GB, free: 128.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3263/61.03, allocations: 44.36 MB / 11.19 GB, free: 115.2 MB / 1.182 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 0.3955/61.42, allocations: 68.6 MB / 11.25 GB, free: 64.79 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001474/61.42, allocations: 2.719 kB / 11.25 GB, free: 64.79 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01571/61.44, allocations: 1.499 MB / 11.25 GB, free: 63.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3467/61.78, allocations: 43.98 MB / 11.3 GB, free: 20.71 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003134/61.79, allocations: 333.3 kB / 11.3 GB, free: 20.54 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23/63.02, allocations: 31.88 MB / 11.33 GB, free: 148.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.131e-05/63.02, allocations: 3.281 kB / 11.33 GB, free: 148.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3701/63.39, allocations: 57.61 MB / 11.39 GB, free: 148 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01693/63.4, allocations: 3.537 MB / 11.39 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009187/63.41, allocations: 275.3 kB / 11.39 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02615/63.44, allocations: 1.067 MB / 11.39 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004902/63.44, allocations: 0.5903 MB / 11.39 GB, free: 147.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002788/63.45, allocations: 340.9 kB / 11.39 GB, free: 147.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03191/63.48, allocations: 11.15 MB / 11.4 GB, free: 147.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.91e-07/63.48, allocations: 0 / 11.4 GB, free: 147.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06667/63.55, allocations: 8.683 MB / 11.41 GB, free: 147.4 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (712): * Single equations (assignments): 688 * 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: 4 * 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: 3 {36 81,39 65,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/63.56, allocations: 5.52 MB / 11.42 GB, free: 145.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.158/63.72, allocations: 43.44 MB / 11.46 GB, free: 142.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.942e-05/63.72, allocations: 14.06 kB / 11.46 GB, free: 142.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0437/63.76, allocations: 11.64 MB / 11.47 GB, free: 141.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07554/63.84, allocations: 7.967 MB / 11.48 GB, free: 141.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/63.94, allocations: 39.64 MB / 11.52 GB, free: 128 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02249/63.96, allocations: 9.351 MB / 11.52 GB, free: 126.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04007/64, allocations: 5.407 MB / 11.53 GB, free: 126.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009242/64.01, allocations: 1.292 MB / 11.53 GB, free: 126.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.854e-06/64.01, allocations: 0 / 11.53 GB, free: 126.7 MB / 1.182 GB Notification: Performance of Templates: time 2.242/66.25, allocations: 470.6 MB / 11.99 GB, free: 134.4 MB / 1.182 GB