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.29/2.29, allocations: 253.1 MB / 260.6 MB, free: 7.488 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.001837/0.001837, allocations: 179.3 kB / 319.9 MB, free: 3.055 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.073/2.073, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001148/0.001148, allocations: 88.81 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.248e-05/2.257e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.982/2.205, allocations: 456.3 MB / 1.334 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/2.205, allocations: 100.8 kB / 1.334 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 34.58/36.79, allocations: 6.211 GB / 7.545 GB, free: 45.04 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.264e-06/36.79, allocations: 0 / 7.545 GB, free: 45.04 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004662/36.79, allocations: 0.5226 MB / 7.546 GB, free: 44.51 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.06724/36.86, allocations: 14.16 MB / 7.559 GB, free: 30.23 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/36.86, allocations: 8.031 kB / 7.559 GB, free: 30.23 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/36.88, allocations: 2.305 MB / 7.562 GB, free: 27.9 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1032/36.98, allocations: 23.3 MB / 7.584 GB, free: 4.523 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006345/36.98, allocations: 263.4 kB / 7.585 GB, free: 4.27 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006245/36.99, allocations: 0.5898 MB / 7.585 GB, free: 3.68 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 1.189/38.18, allocations: 19.85 MB / 7.605 GB, free: 78.85 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05505/38.23, allocations: 15.49 MB / 7.62 GB, free: 77.05 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006143/38.23, allocations: 10.31 kB / 7.62 GB, free: 77.05 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004676/38.24, allocations: 16.55 kB / 7.62 GB, free: 77.05 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000325/38.24, allocations: 216.1 kB / 7.62 GB, free: 77.05 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.2503/38.49, allocations: 77 MB / 7.695 GB, free: 46.25 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03021/38.52, allocations: 13.12 MB / 7.708 GB, free: 45.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02162/38.54, allocations: 9.782 MB / 7.718 GB, free: 45.7 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 evalFunc (simulation): time 0.1154/38.66, allocations: 33.46 MB / 7.75 GB, free: 37.01 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0235/38.68, allocations: 9.11 MB / 7.759 GB, free: 36.85 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08175/38.76, allocations: 14.96 MB / 7.774 GB, free: 36.69 MB / 1.135 GB Notification: Performance of pre-optimization done (n=606): time 6.598e-05/38.76, allocations: 0 / 7.774 GB, free: 36.69 MB / 1.135 GB Notification: Performance of matching and sorting (n=608): time 1.329/40.09, allocations: 140.3 MB / 7.911 GB, free: 32 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007387/40.09, allocations: 2.511 MB / 7.913 GB, free: 29 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04114/40.13, allocations: 13.83 MB / 7.927 GB, free: 28.24 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.004653/40.14, allocations: 48.02 kB / 7.927 GB, free: 28.21 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01404/40.15, allocations: 7.768 MB / 7.934 GB, free: 26.77 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.005752/40.16, allocations: 2.069 MB / 7.936 GB, free: 25.68 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003858/40.16, allocations: 4 kB / 7.936 GB, free: 25.68 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0009875/40.16, allocations: 0.6806 MB / 7.937 GB, free: 25.35 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02056/40.18, allocations: 8.521 MB / 7.945 GB, free: 25.32 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02498/40.21, allocations: 12.02 MB / 7.957 GB, free: 21.35 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02901/40.24, allocations: 9.988 MB / 7.967 GB, free: 18.96 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/40.24, allocations: 16 kB / 7.967 GB, free: 18.94 MB / 1.135 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 2.464/42.7, allocations: 125.2 MB / 8.089 GB, free: 95.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006508/42.71, allocations: 32.83 MB / 8.121 GB, free: 61.16 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006276/42.71, allocations: 109.6 kB / 8.121 GB, free: 61.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334/44.04, allocations: 144.6 MB / 8.263 GB, free: 59.78 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02089/44.06, allocations: 2.031 MB / 8.265 GB, free: 59.77 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2572/44.32, allocations: 68.76 MB / 8.332 GB, free: 53.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03166/44.35, allocations: 0.9338 MB / 8.333 GB, free: 53.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005432/44.36, allocations: 0.8379 MB / 8.333 GB, free: 53.39 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/44.36, allocations: 3.469 kB / 8.333 GB, free: 53.39 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.332/45.69, allocations: 122.1 MB / 8.453 GB, free: 11.07 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006609/45.69, allocations: 110.3 kB / 8.453 GB, free: 10.96 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531/48.22, allocations: 144.5 MB / 8.594 GB, free: 149.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01776/48.24, allocations: 2.002 MB / 8.596 GB, free: 149.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2949/48.53, allocations: 73.28 MB / 8.667 GB, free: 146.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03189/48.57, allocations: 0.9232 MB / 8.668 GB, free: 146.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006019/48.57, allocations: 0.7838 MB / 8.669 GB, free: 146.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (889): * Single equations (assignments): 811 * 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 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009237/48.58, allocations: 337.3 kB / 8.669 GB, free: 146.7 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008647/48.59, allocations: 1.478 MB / 8.671 GB, free: 146.7 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3302/48.92, allocations: 44.4 MB / 8.714 GB, free: 146.1 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001764/48.92, allocations: 76.14 kB / 8.714 GB, free: 146.1 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001014/48.92, allocations: 27.47 kB / 8.714 GB, free: 146.1 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2988/49.22, allocations: 39.16 MB / 8.753 GB, free: 145.4 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.362/49.58, allocations: 59.25 MB / 8.81 GB, free: 131.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001059/49.58, allocations: 4.766 kB / 8.81 GB, free: 131.1 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01196/49.59, allocations: 1.076 MB / 8.811 GB, free: 130.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3264/49.92, allocations: 41.82 MB / 8.852 GB, free: 93.25 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002708/49.92, allocations: 156.6 kB / 8.852 GB, free: 93.14 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09894/50.02, allocations: 28.8 MB / 8.881 GB, free: 73.41 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/50.02, allocations: 4 kB / 8.881 GB, free: 73.4 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3402/50.36, allocations: 49.91 MB / 8.929 GB, free: 33.89 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01587/50.38, allocations: 3.209 MB / 8.932 GB, free: 31.41 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007926/50.39, allocations: 83.86 kB / 8.933 GB, free: 31.35 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02488/50.41, allocations: 0.8045 MB / 8.933 GB, free: 30.58 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003949/50.42, allocations: 436.3 kB / 8.934 GB, free: 30.2 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002613/50.42, allocations: 260.6 kB / 8.934 GB, free: 30 MB / 1.229 GB Notification: Performance of sorting global known variables: time 1.226/51.64, allocations: 10.38 MB / 8.944 GB, free: 158.8 MB / 1.229 GB Notification: Performance of sort global known variables: time 8.12e-07/51.64, allocations: 1.031 kB / 8.944 GB, free: 158.8 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06902/51.71, allocations: 7.833 MB / 8.952 GB, free: 158.8 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (503): * Single equations (assignments): 481 * 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 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01959/51.73, allocations: 5.27 MB / 8.957 GB, free: 157 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1351/51.87, allocations: 36.53 MB / 8.993 GB, free: 153.8 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/51.87, allocations: 9.719 kB / 8.993 GB, free: 153.8 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02932/51.9, allocations: 8.713 MB / 9.001 GB, free: 153.6 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06738/51.96, allocations: 7.577 MB / 9.009 GB, free: 153.5 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08108/52.05, allocations: 26.17 MB / 9.034 GB, free: 148 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02204/52.07, allocations: 8.991 MB / 9.043 GB, free: 146.9 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.05816/52.13, allocations: 8.003 MB / 9.051 GB, free: 146.8 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005323/52.13, allocations: 0.8184 MB / 9.051 GB, free: 146.8 MB / 1.229 GB Notification: Performance of SimCode: time 1.763e-06/52.13, allocations: 0 / 9.051 GB, free: 146.8 MB / 1.229 GB Notification: Performance of Templates: time 3.322/55.45, allocations: 438.6 MB / 9.48 GB, free: 145.7 MB / 1.245 GB