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.091/2.091, 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.002186/0.002185, allocations: 180 kB / 325.6 MB, free: 2.848 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.426/2.426, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.001207/0.001207, allocations: 98.39 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006254/0.0006254, allocations: 12.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.211, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/1.568, allocations: 456.1 MB / 1.344 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/1.568, allocations: 98.12 kB / 1.344 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 35.54/37.11, allocations: 6.26 GB / 7.604 GB, free: 79.31 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.978e-06/37.11, allocations: 0 / 7.604 GB, free: 79.31 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004741/37.11, allocations: 0.5267 MB / 7.604 GB, free: 79.19 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 0.1175/37.23, allocations: 21.43 MB / 7.625 GB, free: 71.22 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/37.23, allocations: 9.719 kB / 7.625 GB, free: 71.22 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/37.25, allocations: 2.31 MB / 7.628 GB, free: 70.19 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1104/37.36, allocations: 23.58 MB / 7.651 GB, free: 67.46 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001394/37.36, allocations: 0.7206 MB / 7.651 GB, free: 67.45 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006835/37.37, allocations: 1.024 MB / 7.652 GB, free: 67.43 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05776/37.43, allocations: 16.94 MB / 7.669 GB, free: 65.47 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006835/37.43, allocations: 17 kB / 7.669 GB, free: 65.46 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00506/37.44, allocations: 353.6 kB / 7.669 GB, free: 65.46 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/37.44, allocations: 216.5 kB / 7.669 GB, free: 65.46 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05397/37.49, allocations: 19.88 MB / 7.689 GB, free: 65.34 MB / 1.135 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.2106/37.7, allocations: 78.41 MB / 7.765 GB, free: 31.06 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03162/37.73, allocations: 12.5 MB / 7.778 GB, free: 25.36 MB / 1.135 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.1036/37.84, allocations: 33.47 MB / 7.81 GB, free: 5.785 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0298/37.87, allocations: 9.689 MB / 7.82 GB, free: 15.36 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08516/37.95, allocations: 14.91 MB / 7.834 GB, free: 4.895 MB / 1.151 GB Notification: Performance of pre-optimization done (n=605): time 4.843e-05/37.95, allocations: 0 / 7.834 GB, free: 4.895 MB / 1.151 GB Notification: Performance of matching and sorting (n=859): time 3.114/41.06, allocations: 209.5 MB / 8.039 GB, free: 90.12 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007689/41.07, allocations: 2.534 MB / 8.041 GB, free: 87.12 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04656/41.11, allocations: 14.87 MB / 8.056 GB, free: 86.36 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005455/41.12, allocations: 273.8 kB / 8.056 GB, free: 86.33 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01458/41.13, allocations: 7.892 MB / 8.064 GB, free: 84.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.007425/41.14, allocations: 2.974 MB / 8.067 GB, free: 83.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005261/41.14, allocations: 212.1 kB / 8.067 GB, free: 83.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001367/41.15, allocations: 0.7581 MB / 8.068 GB, free: 83.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0342/41.18, allocations: 10.22 MB / 8.078 GB, free: 83.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0372/41.22, allocations: 13.97 MB / 8.091 GB, free: 78.98 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03762/41.26, allocations: 11.59 MB / 8.103 GB, free: 78.66 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/41.26, allocations: 15.16 kB / 8.103 GB, free: 78.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 1.285/42.54, allocations: 130.8 MB / 8.231 GB, free: 12.37 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01081/42.55, allocations: 32.97 MB / 8.263 GB, free: 9.855 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006755/42.55, allocations: 111.9 kB / 8.263 GB, free: 9.746 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556/45.11, allocations: 152.5 MB / 8.412 GB, free: 133.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02437/45.13, allocations: 2.384 MB / 8.414 GB, free: 133.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3085/45.44, allocations: 79.02 MB / 8.491 GB, free: 126.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03491/45.48, allocations: 1.387 MB / 8.493 GB, free: 126.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006106/45.48, allocations: 0.9169 MB / 8.494 GB, free: 126.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/45.48, allocations: 3.406 kB / 8.494 GB, free: 126.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.262/46.74, allocations: 129.3 MB / 8.62 GB, free: 88.63 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006325/46.75, allocations: 111.9 kB / 8.62 GB, free: 88.52 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657/49.4, allocations: 152.7 MB / 8.769 GB, free: 155.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02946/49.43, allocations: 2.362 MB / 8.771 GB, free: 155.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3783/49.81, allocations: 86.42 MB / 8.856 GB, free: 151.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0349/49.85, allocations: 1.381 MB / 8.857 GB, free: 151.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006211/49.85, allocations: 0.8639 MB / 8.858 GB, free: 151.8 MB / 1.229 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (989): * Single equations (assignments): 909 * 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.0216/49.87, allocations: 4.289 MB / 8.862 GB, free: 151.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01026/49.88, allocations: 1.562 MB / 8.864 GB, free: 151.6 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3827/50.27, allocations: 52 MB / 8.914 GB, free: 150.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002295/50.27, allocations: 101.2 kB / 8.915 GB, free: 150.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000219/50.27, allocations: 28.91 kB / 8.915 GB, free: 150.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3424/50.61, allocations: 45.84 MB / 8.959 GB, free: 149.9 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4169/51.03, allocations: 70.93 MB / 9.029 GB, free: 145.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001625/51.03, allocations: 4.266 kB / 9.029 GB, free: 145.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01602/51.04, allocations: 1.577 MB / 9.03 GB, free: 145.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3534/51.4, allocations: 44.75 MB / 9.074 GB, free: 116.6 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003017/51.4, allocations: 351.5 kB / 9.074 GB, free: 116.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1147/51.51, allocations: 34.25 MB / 9.108 GB, free: 95.92 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/51.51, allocations: 1.5 kB / 9.108 GB, free: 95.92 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4727/51.99, allocations: 60.1 MB / 9.166 GB, free: 49.05 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01747/52, allocations: 3.706 MB / 9.17 GB, free: 45.33 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009318/52.01, allocations: 283.8 kB / 9.17 GB, free: 45.05 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02718/52.04, allocations: 1.199 MB / 9.171 GB, free: 43.96 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004527/52.05, allocations: 0.6038 MB / 9.172 GB, free: 43.36 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002724/52.05, allocations: 359.8 kB / 9.172 GB, free: 43.01 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.0324/52.08, allocations: 11.4 MB / 9.183 GB, free: 31.71 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.032e-06/52.08, allocations: 0 / 9.183 GB, free: 31.71 MB / 1.229 GB Notification: Performance of remove unused functions: time 1.246/53.33, allocations: 8.789 MB / 9.192 GB, free: 169 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 (668): * Single equations (assignments): 644 * 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.01717/53.34, allocations: 5.619 MB / 9.198 GB, free: 167.1 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1637/53.51, allocations: 44.55 MB / 9.241 GB, free: 163.7 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.924e-05/53.51, allocations: 8.719 kB / 9.241 GB, free: 163.7 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04452/53.55, allocations: 11.99 MB / 9.253 GB, free: 163.3 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06755/53.62, allocations: 7.798 MB / 9.26 GB, free: 163.3 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1133/53.73, allocations: 41.05 MB / 9.3 GB, free: 148.7 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02349/53.76, allocations: 9.478 MB / 9.31 GB, free: 147.6 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03938/53.8, allocations: 5.111 MB / 9.315 GB, free: 147.4 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009421/53.81, allocations: 1.268 MB / 9.316 GB, free: 147.4 MB / 1.229 GB Notification: Performance of SimCode: time 1.242e-06/53.81, allocations: 3.062 kB / 9.316 GB, free: 147.4 MB / 1.229 GB Notification: Performance of Templates: time 3.475/57.28, allocations: 491.1 MB / 9.796 GB, free: 170.5 MB / 1.245 GB