Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.396/2.396, allocations: 252.6 MB / 265.2 MB, free: 5.691 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.002205/0.002205, allocations: 189.5 kB / 324.5 MB, free: 14.39 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 2.045/2.045, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001073/0.001072, allocations: 93.89 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.625e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.017/2.218, allocations: 456 MB / 1.34 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/2.218, allocations: 89.33 kB / 1.34 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 34.74/36.96, allocations: 6.241 GB / 7.581 GB, free: 11.25 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.394e-06/36.96, allocations: 4 kB / 7.581 GB, free: 11.25 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.00447/36.96, allocations: 0.5303 MB / 7.582 GB, free: 10.72 MB / 1.135 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 2.193/39.15, allocations: 14.15 MB / 7.596 GB, free: 66.05 MB / 1.136 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/39.15, allocations: 13.91 kB / 7.596 GB, free: 66.05 MB / 1.136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02029/39.17, allocations: 2.304 MB / 7.598 GB, free: 65.03 MB / 1.136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1467/39.32, allocations: 23.3 MB / 7.621 GB, free: 63.28 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002276/39.32, allocations: 0.7201 MB / 7.622 GB, free: 63.26 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009686/39.33, allocations: 1.032 MB / 7.623 GB, free: 63.24 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06305/39.4, allocations: 16.68 MB / 7.639 GB, free: 61.39 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006534/39.4, allocations: 16.28 kB / 7.639 GB, free: 61.39 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004774/39.4, allocations: 357.4 kB / 7.639 GB, free: 61.39 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00032/39.4, allocations: 219.1 kB / 7.639 GB, free: 61.39 MB / 1.136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05175/39.45, allocations: 19.49 MB / 7.658 GB, free: 61.33 MB / 1.136 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.2145/39.67, allocations: 78.35 MB / 7.735 GB, free: 29.43 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03025/39.7, allocations: 12.24 MB / 7.747 GB, free: 28.97 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02219/39.72, allocations: 9.431 MB / 7.756 GB, free: 28.88 MB / 1.136 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.1374/39.86, allocations: 33.71 MB / 7.789 GB, free: 20.24 MB / 1.136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02559/39.88, allocations: 9.294 MB / 7.798 GB, free: 20.07 MB / 1.136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.083/39.97, allocations: 15.15 MB / 7.813 GB, free: 19.75 MB / 1.136 GB Notification: Performance of pre-optimization done (n=606): time 5.116e-05/39.97, allocations: 0 / 7.813 GB, free: 19.75 MB / 1.136 GB Notification: Performance of matching and sorting (n=860): time 1.484/41.45, allocations: 171.5 MB / 7.98 GB, free: 14.98 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001565/41.45, allocations: 2.535 MB / 7.983 GB, free: 11.88 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04956/41.5, allocations: 14.72 MB / 7.997 GB, free: 15.47 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005406/41.51, allocations: 275.7 kB / 7.997 GB, free: 15.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0165/41.52, allocations: 7.89 MB / 8.005 GB, free: 7.953 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.008044/41.53, allocations: 2.979 MB / 8.008 GB, free: 5.254 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004669/41.54, allocations: 214.4 kB / 8.008 GB, free: 5.051 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001365/41.54, allocations: 0.7552 MB / 8.009 GB, free: 4.426 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05429/41.59, allocations: 11.11 MB / 8.02 GB, free: 0 / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03586/41.63, allocations: 13.4 MB / 8.033 GB, free: 2.668 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.204/42.83, allocations: 11.44 MB / 8.044 GB, free: 108.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.959e-05/42.83, allocations: 13.72 kB / 8.044 GB, free: 108.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.292/44.12, allocations: 129.6 MB / 8.171 GB, free: 107.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006619/44.13, allocations: 32.97 MB / 8.203 GB, free: 73.54 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005598/44.13, allocations: 109.9 kB / 8.203 GB, free: 73.54 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376/45.51, allocations: 151.8 MB / 8.351 GB, free: 64.32 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02473/45.53, allocations: 2.389 MB / 8.354 GB, free: 63.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2737/45.81, allocations: 75.9 MB / 8.428 GB, free: 8.555 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03542/45.84, allocations: 1.397 MB / 8.429 GB, free: 7.43 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006001/45.85, allocations: 0.9199 MB / 8.43 GB, free: 6.598 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/45.85, allocations: 7.953 kB / 8.43 GB, free: 6.59 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.464/48.31, allocations: 128.2 MB / 8.555 GB, free: 125.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000571/48.31, allocations: 107.9 kB / 8.555 GB, free: 125.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384/49.7, allocations: 152.7 MB / 8.704 GB, free: 124.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02159/49.72, allocations: 2.37 MB / 8.707 GB, free: 124 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3213/50.04, allocations: 82.51 MB / 8.787 GB, free: 110.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03513/50.07, allocations: 1.376 MB / 8.789 GB, free: 109.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006123/50.08, allocations: 0.8635 MB / 8.789 GB, free: 109.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009931/50.09, allocations: 0.723 MB / 8.79 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009458/50.1, allocations: 1.56 MB / 8.792 GB, free: 108.1 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3583/50.46, allocations: 50.87 MB / 8.841 GB, free: 67.39 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001997/50.46, allocations: 102.3 kB / 8.841 GB, free: 67.29 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001302/50.46, allocations: 29.94 kB / 8.841 GB, free: 67.27 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3191/50.78, allocations: 44.73 MB / 8.885 GB, free: 30.5 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.598/52.38, allocations: 69.95 MB / 8.953 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001494/52.38, allocations: 2.578 kB / 8.953 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01655/52.39, allocations: 1.57 MB / 8.955 GB, free: 113.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3504/52.74, allocations: 44.73 MB / 8.999 GB, free: 113.7 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003525/52.75, allocations: 349.2 kB / 8.999 GB, free: 113.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1187/52.86, allocations: 33.1 MB / 9.031 GB, free: 106.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/52.86, allocations: 3.562 kB / 9.031 GB, free: 106.7 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3837/53.25, allocations: 58.5 MB / 9.088 GB, free: 105.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01866/53.27, allocations: 3.712 MB / 9.092 GB, free: 105.1 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009503/53.28, allocations: 286.2 kB / 9.092 GB, free: 105.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02725/53.3, allocations: 1.18 MB / 9.094 GB, free: 105 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004643/53.31, allocations: 0.6087 MB / 9.094 GB, free: 105 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002979/53.31, allocations: 356.5 kB / 9.094 GB, free: 105 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03269/53.34, allocations: 11.24 MB / 9.105 GB, free: 104.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.704e-06/53.34, allocations: 0.625 kB / 9.105 GB, free: 104.5 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.06266/53.41, allocations: 8.788 MB / 9.114 GB, free: 104.5 MB / 1.214 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 (669): * Single equations (assignments): 645 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01532/53.42, allocations: 5.64 MB / 9.12 GB, free: 102.6 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1449/53.57, allocations: 43.28 MB / 9.162 GB, free: 99 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.94e-05/53.57, allocations: 10.91 kB / 9.162 GB, free: 98.99 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.0383/53.61, allocations: 11.38 MB / 9.173 GB, free: 98.59 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06972/53.68, allocations: 7.795 MB / 9.181 GB, free: 98.45 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09554/53.77, allocations: 29.63 MB / 9.209 GB, free: 92.75 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02133/53.79, allocations: 9.508 MB / 9.219 GB, free: 90.16 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.06007/53.85, allocations: 8.594 MB / 9.227 GB, free: 85.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006279/53.86, allocations: 0.9326 MB / 9.228 GB, free: 84.43 MB / 1.214 GB Notification: Performance of SimCode: time 1.853e-06/53.86, allocations: 0 / 9.228 GB, free: 84.43 MB / 1.214 GB Notification: Performance of Templates: time 2.338/56.2, allocations: 0.5131 GB / 9.741 GB, free: 1.355 MB / 1.214 GB