Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.302/2.302, allocations: 252.6 MB / 265.2 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 181.6 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 0.5754 GB, free: 10.36 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 90.7 kB / 0.6797 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.862e-05, allocations: 0 / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/2.056, allocations: 456.5 MB / 1.341 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/2.056, allocations: 99.33 kB / 1.341 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 51.8/53.86, allocations: 9.225 GB / 10.57 GB, free: 69.15 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.964e-06/53.86, allocations: 0 / 10.57 GB, free: 69.15 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004826/53.87, allocations: 0.5119 MB / 10.57 GB, free: 69.04 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.07208/53.94, allocations: 14.13 MB / 10.58 GB, free: 63.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/53.94, allocations: 11.41 kB / 10.58 GB, free: 63.05 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01917/53.96, allocations: 2.302 MB / 10.58 GB, free: 62.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1148/54.07, allocations: 23.21 MB / 10.6 GB, free: 59.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/54.07, allocations: 0.7195 MB / 10.61 GB, free: 59.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00801/54.08, allocations: 1.011 MB / 10.61 GB, free: 59.28 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07489/54.16, allocations: 16.51 MB / 10.62 GB, free: 57.37 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008557/54.16, allocations: 14.47 kB / 10.62 GB, free: 57.37 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006617/54.16, allocations: 355.5 kB / 10.62 GB, free: 57.37 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000388/54.16, allocations: 214.2 kB / 10.62 GB, free: 57.37 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06365/54.23, allocations: 19.37 MB / 10.64 GB, free: 57.29 MB / 1.151 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.2022/54.43, allocations: 79.5 MB / 10.72 GB, free: 22.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0264/54.46, allocations: 11.38 MB / 10.73 GB, free: 22.03 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02087/54.48, allocations: 9.259 MB / 10.74 GB, free: 18.6 MB / 1.151 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.1071/54.59, allocations: 32.91 MB / 10.77 GB, free: 1.012 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0267/54.61, allocations: 9.145 MB / 10.78 GB, free: 12.88 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08462/54.7, allocations: 15.14 MB / 10.8 GB, free: 2.27 MB / 1.167 GB Notification: Performance of pre-optimization done (n=561): time 3.756e-05/54.7, allocations: 0 / 10.8 GB, free: 2.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=772): time 2.697/57.39, allocations: 167.6 MB / 10.96 GB, free: 84.31 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008356/57.39, allocations: 2.522 MB / 10.96 GB, free: 81.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04736/57.44, allocations: 14.76 MB / 10.98 GB, free: 80.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005035/57.45, allocations: 252.1 kB / 10.98 GB, free: 80.38 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01435/57.46, allocations: 7.886 MB / 10.98 GB, free: 79.01 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006751/57.47, allocations: 2.69 MB / 10.99 GB, free: 77.64 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004616/57.47, allocations: 206.3 kB / 10.99 GB, free: 77.64 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001267/57.47, allocations: 0.7392 MB / 10.99 GB, free: 77.32 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02646/57.5, allocations: 9.37 MB / 11 GB, free: 77.29 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03089/57.53, allocations: 13.03 MB / 11.01 GB, free: 73.29 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03019/57.56, allocations: 10.72 MB / 11.02 GB, free: 72.95 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/57.56, allocations: 19.8 kB / 11.02 GB, free: 72.94 MB / 1.167 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.32/58.88, allocations: 127.6 MB / 11.14 GB, free: 53.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00709/58.89, allocations: 38.28 MB / 11.18 GB, free: 14.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006679/58.89, allocations: 119.1 kB / 11.18 GB, free: 14.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706/61.6, allocations: 146 MB / 11.33 GB, free: 128.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02608/61.62, allocations: 2.577 MB / 11.33 GB, free: 128.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2722/61.89, allocations: 71.13 MB / 11.4 GB, free: 122.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03622/61.93, allocations: 1.439 MB / 11.4 GB, free: 122.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006052/61.94, allocations: 0.9075 MB / 11.4 GB, free: 122.4 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/61.94, allocations: 5.375 kB / 11.4 GB, free: 122.4 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.302/63.24, allocations: 126.3 MB / 11.52 GB, free: 120.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005935/63.24, allocations: 118.4 kB / 11.52 GB, free: 120.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406/64.65, allocations: 146.4 MB / 11.67 GB, free: 1.805 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02375/64.67, allocations: 2.567 MB / 11.67 GB, free: 15.42 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535/66.2, allocations: 75.4 MB / 11.74 GB, free: 157.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03504/66.24, allocations: 1.41 MB / 11.74 GB, free: 157.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005957/66.25, allocations: 0.8656 MB / 11.74 GB, free: 157.3 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01006/66.26, allocations: 0.7091 MB / 11.74 GB, free: 157.2 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009395/66.26, allocations: 1.54 MB / 11.75 GB, free: 157.2 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3512/66.62, allocations: 48.34 MB / 11.79 GB, free: 156.5 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002041/66.62, allocations: 90.34 kB / 11.79 GB, free: 156.5 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001372/66.62, allocations: 28.91 kB / 11.79 GB, free: 156.5 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3127/66.93, allocations: 42.42 MB / 11.84 GB, free: 155.9 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3819/67.31, allocations: 65.45 MB / 11.9 GB, free: 151.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000128/67.31, allocations: 2.812 kB / 11.9 GB, free: 151.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01769/67.33, allocations: 1.692 MB / 11.9 GB, free: 151.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3314/67.66, allocations: 41.67 MB / 11.94 GB, free: 151.7 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003133/67.66, allocations: 335 kB / 11.94 GB, free: 151.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1033/67.77, allocations: 28.54 MB / 11.97 GB, free: 145.8 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/67.77, allocations: 1.25 kB / 11.97 GB, free: 145.8 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3404/68.11, allocations: 55.54 MB / 12.02 GB, free: 123.9 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01756/68.12, allocations: 3.572 MB / 12.03 GB, free: 121.8 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008291/68.13, allocations: 272.4 kB / 12.03 GB, free: 121.7 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02694/68.16, allocations: 1.152 MB / 12.03 GB, free: 121.1 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004541/68.16, allocations: 0.5611 MB / 12.03 GB, free: 120.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003173/68.17, allocations: 339.3 kB / 12.03 GB, free: 120.6 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.03389/68.2, allocations: 11.25 MB / 12.04 GB, free: 114.2 MB / 1.245 GB Notification: Performance of sort global known variables: time 2.615e-06/68.2, allocations: 0 / 12.04 GB, free: 114.2 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.07935/68.28, allocations: 8.724 MB / 12.05 GB, free: 106.5 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 79,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01523/68.3, allocations: 5.617 MB / 12.05 GB, free: 102.3 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.13/68.43, allocations: 40.68 MB / 12.09 GB, free: 79.11 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/68.43, allocations: 9.781 kB / 12.09 GB, free: 79.09 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.03234/68.46, allocations: 10.27 MB / 12.1 GB, free: 69.83 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06414/68.52, allocations: 7.609 MB / 12.11 GB, free: 64.73 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08654/68.61, allocations: 29.09 MB / 12.14 GB, free: 39.22 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02042/68.63, allocations: 9.387 MB / 12.15 GB, free: 32.7 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.06515/68.7, allocations: 9.265 MB / 12.16 GB, free: 27.6 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319/71.02, allocations: 1.033 MB / 12.16 GB, free: 132.5 MB / 1.245 GB Notification: Performance of SimCode: time 1.693e-06/71.02, allocations: 0 / 12.16 GB, free: 132.5 MB / 1.245 GB Notification: Performance of Templates: time 2.504/73.52, allocations: 0.4885 GB / 12.65 GB, free: 199.2 MB / 1.307 GB