Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.233/2.233, allocations: 253.2 MB / 260.6 MB, free: 7.41 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.001495/0.001495, allocations: 177.4 kB / 319.9 MB, free: 3.07 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.037/2.037, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001146/0.001146, allocations: 88.95 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.274e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1994, allocations: 106.2 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.949/2.148, allocations: 456.4 MB / 1.334 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/2.149, allocations: 88.39 kB / 1.334 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 47.2/49.35, allocations: 8.42 GB / 9.754 GB, free: 76.02 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.164e-06/49.35, allocations: 4 kB / 9.754 GB, free: 76.02 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004723/49.36, allocations: 0.5143 MB / 9.755 GB, free: 75.86 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.06896/49.42, allocations: 14.14 MB / 9.769 GB, free: 69.64 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/49.43, allocations: 7.438 kB / 9.769 GB, free: 69.64 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/49.44, allocations: 2.307 MB / 9.771 GB, free: 68.61 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1087/49.55, allocations: 23.22 MB / 9.794 GB, free: 65.66 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007246/49.55, allocations: 255.8 kB / 9.794 GB, free: 65.66 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006497/49.56, allocations: 0.5898 MB / 9.794 GB, free: 65.66 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04893/49.61, allocations: 19.64 MB / 9.814 GB, free: 65.61 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05056/49.66, allocations: 15.36 MB / 9.829 GB, free: 60.39 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006435/49.66, allocations: 23.38 kB / 9.829 GB, free: 60.38 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004715/49.67, allocations: 15.12 kB / 9.829 GB, free: 60.38 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002876/49.67, allocations: 213.8 kB / 9.829 GB, free: 60.37 MB / 1.135 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.2018/49.87, allocations: 77.84 MB / 9.905 GB, free: 10.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 1.2/51.07, allocations: 12.34 MB / 9.917 GB, free: 103 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02218/51.09, allocations: 9.242 MB / 9.926 GB, free: 103 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.1174/51.21, allocations: 32.89 MB / 9.958 GB, free: 94.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02461/51.23, allocations: 8.89 MB / 9.967 GB, free: 94.56 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08183/51.31, allocations: 14.96 MB / 9.981 GB, free: 94.56 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 6.024e-05/51.31, allocations: 0 / 9.981 GB, free: 94.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=584): time 1.3/52.61, allocations: 138.8 MB / 10.12 GB, free: 90.76 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008683/52.62, allocations: 2.51 MB / 10.12 GB, free: 87.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04648/52.66, allocations: 13.87 MB / 10.13 GB, free: 86.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004542/52.67, allocations: 42.33 kB / 10.13 GB, free: 86.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01443/52.68, allocations: 7.907 MB / 10.14 GB, free: 85.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.005833/52.69, allocations: 1.993 MB / 10.14 GB, free: 84.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004073/52.69, allocations: 0.75 kB / 10.14 GB, free: 84.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001197/52.69, allocations: 0.6829 MB / 10.14 GB, free: 84.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02143/52.71, allocations: 8.363 MB / 10.15 GB, free: 84.17 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02625/52.74, allocations: 11.83 MB / 10.16 GB, free: 80.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02865/52.77, allocations: 9.822 MB / 10.17 GB, free: 79.98 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/52.77, allocations: 16.31 kB / 10.17 GB, free: 79.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.247/54.02, allocations: 124.3 MB / 10.29 GB, free: 33.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.007771/54.02, allocations: 36.56 MB / 10.33 GB, free: 11.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006888/54.02, allocations: 118.6 kB / 10.33 GB, free: 11.35 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466/56.49, allocations: 143.7 MB / 10.47 GB, free: 122.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02194/56.51, allocations: 2.13 MB / 10.47 GB, free: 122.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2657/56.78, allocations: 67.45 MB / 10.54 GB, free: 116.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03198/56.81, allocations: 0.9588 MB / 10.54 GB, free: 116.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0061/56.82, allocations: 0.8305 MB / 10.54 GB, free: 116.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/56.82, allocations: 3.703 kB / 10.54 GB, free: 116.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.246/58.06, allocations: 121.6 MB / 10.66 GB, free: 102.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007206/58.06, allocations: 111.9 kB / 10.66 GB, free: 102.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451/60.51, allocations: 143.4 MB / 10.8 GB, free: 147.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01932/60.53, allocations: 2.107 MB / 10.8 GB, free: 147.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2827/60.82, allocations: 69.52 MB / 10.87 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03029/60.85, allocations: 0.9267 MB / 10.87 GB, free: 144.1 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005189/60.85, allocations: 0.7904 MB / 10.87 GB, free: 144.1 MB / 1.214 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.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 (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * 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: 1 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.00798/60.86, allocations: 355 kB / 10.87 GB, free: 144 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008398/60.87, allocations: 1.47 MB / 10.87 GB, free: 144 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.364/61.23, allocations: 43.53 MB / 10.91 GB, free: 143.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001714/61.23, allocations: 74.59 kB / 10.91 GB, free: 143.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/61.23, allocations: 32.06 kB / 10.91 GB, free: 143.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3026/61.54, allocations: 38.39 MB / 10.95 GB, free: 142.7 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3936/61.93, allocations: 58.04 MB / 11.01 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001033/61.93, allocations: 0 / 11.01 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0126/61.94, allocations: 1.136 MB / 11.01 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3323/62.27, allocations: 41.01 MB / 11.05 GB, free: 138.6 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002527/62.28, allocations: 157.7 kB / 11.05 GB, free: 138.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09878/62.38, allocations: 27.58 MB / 11.08 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/62.38, allocations: 0 / 11.08 GB, free: 132.7 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3265/62.7, allocations: 48.91 MB / 11.12 GB, free: 108.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01531/62.72, allocations: 3.156 MB / 11.13 GB, free: 106.4 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007996/62.73, allocations: 77.95 kB / 11.13 GB, free: 106.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02418/62.75, allocations: 0.8049 MB / 11.13 GB, free: 105.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003641/62.75, allocations: 428 kB / 11.13 GB, free: 105.7 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00255/62.76, allocations: 254.3 kB / 11.13 GB, free: 105.6 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03045/62.79, allocations: 10.4 MB / 11.14 GB, free: 100 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.362e-06/62.79, allocations: 0 / 11.14 GB, free: 100 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07565/62.86, allocations: 7.873 MB / 11.15 GB, free: 92.71 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 (527): * Single equations (assignments): 505 * 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: 2 * 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: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01406/62.88, allocations: 5.281 MB / 11.15 GB, free: 88.58 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1344/63.01, allocations: 36.02 MB / 11.19 GB, free: 68.79 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-05/63.01, allocations: 10.09 kB / 11.19 GB, free: 68.77 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.02681/63.04, allocations: 8.467 MB / 11.2 GB, free: 61.55 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06523/63.1, allocations: 7.552 MB / 11.2 GB, free: 56.52 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08272/63.19, allocations: 26.09 MB / 11.23 GB, free: 33.63 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01845/63.2, allocations: 8.966 MB / 11.24 GB, free: 27.48 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 1.296/64.5, allocations: 9.003 MB / 11.25 GB, free: 134.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006682/64.51, allocations: 0.8297 MB / 11.25 GB, free: 134.8 MB / 1.214 GB Notification: Performance of SimCode: time 2.895e-06/64.51, allocations: 0 / 11.25 GB, free: 134.8 MB / 1.214 GB Notification: Performance of Templates: time 1.026/65.53, allocations: 427.9 MB / 11.66 GB, free: 2.68 MB / 1.245 GB