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.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004257/0.004261, allocations: 233.9 kB / 15.82 MB, free: 6.289 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.001185/0.001185, allocations: 171.7 kB / 16.7 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.892/3.892, allocations: 389 MB / 406.5 MB, free: 11.74 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.879/3.879, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 18.89 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 98.71 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.797/1.976, allocations: 447.6 MB / 1.542 GB, free: 218.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.977, allocations: 107.5 kB / 1.542 GB, free: 218.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 45.75/47.73, allocations: 8.348 GB / 9.89 GB, free: 76.54 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.454e-06/47.73, allocations: 0 / 9.89 GB, free: 76.54 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.004779/47.74, allocations: 0.506 MB / 9.89 GB, free: 76.35 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.1141/47.85, allocations: 21.29 MB / 9.911 GB, free: 68.09 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/47.85, allocations: 10.97 kB / 9.911 GB, free: 68.09 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/47.87, allocations: 2.453 MB / 9.914 GB, free: 67.06 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1063/47.98, allocations: 23.24 MB / 9.936 GB, free: 63.6 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/47.98, allocations: 0.7026 MB / 9.937 GB, free: 63.57 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00629/47.99, allocations: 1.012 MB / 9.938 GB, free: 63.55 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05241/48.04, allocations: 16.79 MB / 9.954 GB, free: 60.77 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005689/48.04, allocations: 15.62 kB / 9.954 GB, free: 60.76 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004604/48.04, allocations: 350.9 kB / 9.955 GB, free: 60.51 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/48.04, allocations: 220 kB / 9.955 GB, free: 60.5 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05026/48.09, allocations: 19.71 MB / 9.974 GB, free: 47.8 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.286/49.38, allocations: 78.8 MB / 10.05 GB, free: 69.72 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03158/49.41, allocations: 11.87 MB / 10.06 GB, free: 69.3 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02285/49.44, allocations: 9.114 MB / 10.07 GB, free: 69.25 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.1161/49.55, allocations: 32.94 MB / 10.1 GB, free: 60.95 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02639/49.58, allocations: 9.292 MB / 10.11 GB, free: 60.78 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08137/49.66, allocations: 15.12 MB / 10.13 GB, free: 60.78 MB / 1.104 GB Notification: Performance of pre-optimization done (n=581): time 4.995e-05/49.66, allocations: 0 / 10.13 GB, free: 60.78 MB / 1.104 GB Notification: Performance of matching and sorting (n=811): time 1.806/51.47, allocations: 199.2 MB / 10.32 GB, free: 50.54 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007166/51.47, allocations: 2.528 MB / 10.32 GB, free: 47.53 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04597/51.51, allocations: 16.42 MB / 10.34 GB, free: 46.68 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004988/51.52, allocations: 268.8 kB / 10.34 GB, free: 46.65 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01316/51.53, allocations: 7.906 MB / 10.35 GB, free: 45.29 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.006615/51.54, allocations: 2.806 MB / 10.35 GB, free: 43.85 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004563/51.54, allocations: 208.4 kB / 10.35 GB, free: 43.85 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001169/51.54, allocations: 0.7468 MB / 10.35 GB, free: 43.53 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02665/51.57, allocations: 9.703 MB / 10.36 GB, free: 43.02 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03185/51.6, allocations: 13.44 MB / 10.37 GB, free: 34 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03096/51.63, allocations: 11.15 MB / 10.39 GB, free: 28.64 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/51.63, allocations: 16 kB / 10.39 GB, free: 28.63 MB / 1.104 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.438/54.07, allocations: 129.8 MB / 10.51 GB, free: 97.86 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001224/54.07, allocations: 1.731 MB / 10.51 GB, free: 95.81 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000551/54.07, allocations: 117.3 kB / 10.51 GB, free: 95.81 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379/55.45, allocations: 148.4 MB / 10.66 GB, free: 94.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02536/55.48, allocations: 2.49 MB / 10.66 GB, free: 94.39 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2772/55.75, allocations: 74.03 MB / 10.73 GB, free: 79.91 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03457/55.79, allocations: 1.26 MB / 10.74 GB, free: 79.52 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006054/55.79, allocations: 0.9125 MB / 10.74 GB, free: 79.25 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/55.79, allocations: 3.75 kB / 10.74 GB, free: 79.25 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.276/57.07, allocations: 128 MB / 10.86 GB, free: 1.852 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006389/57.07, allocations: 122.4 kB / 10.86 GB, free: 1.734 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511/59.58, allocations: 148.3 MB / 11.01 GB, free: 133.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02172/59.6, allocations: 2.437 MB / 11.01 GB, free: 133.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2955/59.9, allocations: 77.89 MB / 11.08 GB, free: 128.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03349/59.93, allocations: 1.227 MB / 11.09 GB, free: 128.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005734/59.94, allocations: 0.8716 MB / 11.09 GB, free: 128.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 () * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02017/59.96, allocations: 4.252 MB / 11.09 GB, free: 128.5 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009034/59.97, allocations: 1.549 MB / 11.09 GB, free: 128.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3594/60.33, allocations: 50.31 MB / 11.14 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000196/60.33, allocations: 101.4 kB / 11.14 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002169/60.33, allocations: 27.91 kB / 11.14 GB, free: 127.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3236/60.65, allocations: 44.37 MB / 11.18 GB, free: 116.1 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.3937/61.05, allocations: 68.59 MB / 11.25 GB, free: 66.69 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001416/61.05, allocations: 6.156 kB / 11.25 GB, free: 66.68 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01571/61.06, allocations: 1.505 MB / 11.25 GB, free: 65.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3438/61.4, allocations: 43.42 MB / 11.3 GB, free: 23.17 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003178/61.41, allocations: 344.2 kB / 11.3 GB, free: 22.98 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231/62.64, allocations: 31.36 MB / 11.33 GB, free: 147.5 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/62.64, allocations: 1.781 kB / 11.33 GB, free: 147.5 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3727/63.01, allocations: 57.61 MB / 11.38 GB, free: 146.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01718/63.03, allocations: 3.536 MB / 11.39 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009182/63.04, allocations: 276.4 kB / 11.39 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.026/63.06, allocations: 1.072 MB / 11.39 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004927/63.07, allocations: 0.5807 MB / 11.39 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002979/63.07, allocations: 340.3 kB / 11.39 GB, free: 146.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03336/63.11, allocations: 11.15 MB / 11.4 GB, free: 146.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 9.51e-07/63.11, allocations: 0 / 11.4 GB, free: 146.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.06722/63.17, allocations: 8.689 MB / 11.41 GB, free: 146.2 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 {12 105,14 90,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01469/63.19, allocations: 5.515 MB / 11.41 GB, free: 144.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1436/63.33, allocations: 41.84 MB / 11.45 GB, free: 141 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.743e-05/63.33, allocations: 11.34 kB / 11.45 GB, free: 141 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.03719/63.37, allocations: 10.92 MB / 11.46 GB, free: 140.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07583/63.44, allocations: 7.961 MB / 11.47 GB, free: 140.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/63.55, allocations: 39.3 MB / 11.51 GB, free: 126.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02362/63.57, allocations: 9.353 MB / 11.52 GB, free: 125.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0415/63.62, allocations: 5.401 MB / 11.53 GB, free: 125.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009767/63.63, allocations: 1.29 MB / 11.53 GB, free: 125.5 MB / 1.182 GB Notification: Performance of SimCode: time 2.365e-06/63.63, allocations: 0 / 11.53 GB, free: 125.5 MB / 1.182 GB Notification: Performance of Templates: time 3.375/67, allocations: 476.8 MB / 11.99 GB, free: 133.1 MB / 1.182 GB