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.187/2.187, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.00157, allocations: 179.4 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.266/2.266, allocations: 205.4 MB / 0.5766 GB, free: 20.69 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.001167/0.001167, allocations: 88.5 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006702/0.0006701, allocations: 10.16 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2081, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.555, allocations: 456.5 MB / 1.345 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/1.555, allocations: 109.2 kB / 1.345 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 52.68/54.24, allocations: 9.252 GB / 10.6 GB, free: 72.64 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.965e-06/54.24, allocations: 4.25 kB / 10.6 GB, free: 72.64 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004814/54.24, allocations: 0.5066 MB / 10.6 GB, free: 72.54 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.1171/54.36, allocations: 21.4 MB / 10.62 GB, free: 65.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/54.36, allocations: 10.69 kB / 10.62 GB, free: 65.12 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02007/54.38, allocations: 2.297 MB / 10.62 GB, free: 64.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1113/54.49, allocations: 23.5 MB / 10.64 GB, free: 61.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/54.49, allocations: 0.714 MB / 10.64 GB, free: 61.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006712/54.5, allocations: 1.017 MB / 10.65 GB, free: 61.48 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05499/54.55, allocations: 16.76 MB / 10.66 GB, free: 59.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006908/54.55, allocations: 14.88 kB / 10.66 GB, free: 59.63 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004992/54.56, allocations: 359.1 kB / 10.66 GB, free: 59.63 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003067/54.56, allocations: 217.8 kB / 10.66 GB, free: 59.63 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05418/54.61, allocations: 19.76 MB / 10.68 GB, free: 59.57 MB / 1.151 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 0.2051/54.82, allocations: 79.58 MB / 10.76 GB, free: 25.44 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03033/54.85, allocations: 11.63 MB / 10.77 GB, free: 25 MB / 1.151 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.1012/54.95, allocations: 32.57 MB / 10.8 GB, free: 16.44 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02574/54.98, allocations: 9.138 MB / 10.81 GB, free: 16.27 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08335/55.06, allocations: 14.89 MB / 10.83 GB, free: 15.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=561): time 5.307e-05/55.06, allocations: 0 / 10.83 GB, free: 15.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=775): time 2.971/58.03, allocations: 199.9 MB / 11.02 GB, free: 83.56 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007553/58.03, allocations: 2.526 MB / 11.02 GB, free: 80.55 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04682/58.08, allocations: 14.91 MB / 11.04 GB, free: 79.83 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005004/58.08, allocations: 258 kB / 11.04 GB, free: 79.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01411/58.1, allocations: 7.887 MB / 11.05 GB, free: 79.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007149/58.1, allocations: 2.694 MB / 11.05 GB, free: 79.46 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005009/58.11, allocations: 203.9 kB / 11.05 GB, free: 79.46 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001233/58.11, allocations: 0.7458 MB / 11.05 GB, free: 79.13 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0327/58.14, allocations: 9.945 MB / 11.06 GB, free: 79.11 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03822/58.18, allocations: 13.61 MB / 11.07 GB, free: 75.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03724/58.22, allocations: 11.26 MB / 11.08 GB, free: 74.99 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/58.22, allocations: 14.72 kB / 11.08 GB, free: 74.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 1.372/59.59, allocations: 128.8 MB / 11.21 GB, free: 73.14 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.009175/59.6, allocations: 38.28 MB / 11.25 GB, free: 50.07 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006578/59.6, allocations: 120.4 kB / 11.25 GB, free: 50.07 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/60.97, allocations: 146.4 MB / 11.39 GB, free: 13.52 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02663/60.99, allocations: 2.567 MB / 11.39 GB, free: 11.13 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3111/61.31, allocations: 74.39 MB / 11.47 GB, free: 3.215 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03603/61.34, allocations: 1.439 MB / 11.47 GB, free: 1.98 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00619/61.35, allocations: 0.9099 MB / 11.47 GB, free: 1.156 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/61.35, allocations: 4.781 kB / 11.47 GB, free: 1.152 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.512/63.86, allocations: 127.5 MB / 11.59 GB, free: 135.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006139/63.86, allocations: 120.4 kB / 11.59 GB, free: 135.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347/65.21, allocations: 146.7 MB / 11.74 GB, free: 132.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0227/65.23, allocations: 2.552 MB / 11.74 GB, free: 131.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3105/65.54, allocations: 79.19 MB / 11.82 GB, free: 89.14 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03396/65.58, allocations: 1.403 MB / 11.82 GB, free: 87.98 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006291/65.58, allocations: 0.865 MB / 11.82 GB, free: 87.2 MB / 1.229 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1067): * Single equations (assignments): 989 * 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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01985/65.6, allocations: 4.268 MB / 11.82 GB, free: 84.57 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009667/65.61, allocations: 1.54 MB / 11.82 GB, free: 83.86 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3571/65.97, allocations: 49.45 MB / 11.87 GB, free: 44.12 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001716/65.97, allocations: 95.73 kB / 11.87 GB, free: 44.04 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001775/65.97, allocations: 29.12 kB / 11.87 GB, free: 44.01 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3278/66.3, allocations: 43.53 MB / 11.91 GB, free: 8.219 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.569/67.87, allocations: 66.5 MB / 11.98 GB, free: 113.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000159/67.87, allocations: 5.328 kB / 11.98 GB, free: 113.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01742/67.88, allocations: 1.684 MB / 11.98 GB, free: 113.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3441/68.23, allocations: 41.78 MB / 12.02 GB, free: 113.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003223/68.23, allocations: 329.9 kB / 12.02 GB, free: 113.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1127/68.34, allocations: 29.62 MB / 12.05 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/68.34, allocations: 3.953 kB / 12.05 GB, free: 107.5 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4654/68.81, allocations: 57.19 MB / 12.11 GB, free: 106.3 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02289/68.83, allocations: 3.56 MB / 12.11 GB, free: 106.2 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01097/68.84, allocations: 270 kB / 12.11 GB, free: 106.2 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02815/68.87, allocations: 1.159 MB / 12.11 GB, free: 106.2 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004532/68.88, allocations: 0.5629 MB / 12.11 GB, free: 106.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003019/68.88, allocations: 336.3 kB / 12.11 GB, free: 106.2 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03455/68.91, allocations: 11.42 MB / 12.12 GB, free: 105.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 5.21e-07/68.91, allocations: 3 kB / 12.12 GB, free: 105.7 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0824/69, allocations: 8.755 MB / 12.13 GB, free: 105.7 MB / 1.229 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (702): * Single equations (assignments): 680 * 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 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.0153/69.01, allocations: 5.624 MB / 12.14 GB, free: 103.8 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1592/69.17, allocations: 41.98 MB / 12.18 GB, free: 100.6 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-05/69.17, allocations: 8.938 kB / 12.18 GB, free: 100.6 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03903/69.21, allocations: 10.87 MB / 12.19 GB, free: 100.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06619/69.28, allocations: 7.62 MB / 12.2 GB, free: 100.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1034/69.38, allocations: 39.83 MB / 12.24 GB, free: 85.95 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02142/69.4, allocations: 9.359 MB / 12.24 GB, free: 80.45 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04912/69.45, allocations: 5.49 MB / 12.25 GB, free: 77.17 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01193/69.46, allocations: 1.307 MB / 12.25 GB, free: 76.12 MB / 1.229 GB Notification: Performance of SimCode: time 2.615e-06/69.46, allocations: 1.312 kB / 12.25 GB, free: 76.12 MB / 1.229 GB Notification: Performance of Templates: time 3.521/72.98, allocations: 465.8 MB / 12.71 GB, free: 44.93 MB / 1.229 GB