Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified2.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.049/5.049, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002645/0.002645, allocations: 360.3 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.093/4.093, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001862/0.001861, allocations: 168 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004926, allocations: 16 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 115.3 MB / 1.461 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.058/2.273, allocations: 464 MB / 1.914 GB, free: 284.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/2.273, allocations: 103.6 kB / 1.915 GB, free: 284.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 48.5/50.78, allocations: 8.665 GB / 10.58 GB, free: 82.6 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.256e-06/50.78, allocations: 0 / 10.58 GB, free: 82.6 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005243/50.78, allocations: 0.5115 MB / 10.58 GB, free: 82.49 MB / 1.214 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.1199/50.9, allocations: 21.43 MB / 10.6 GB, free: 74.39 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/50.9, allocations: 10.41 kB / 10.6 GB, free: 74.39 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02055/50.92, allocations: 2.308 MB / 10.6 GB, free: 73.36 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1093/51.03, allocations: 23.13 MB / 10.63 GB, free: 70.35 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00147/51.03, allocations: 0.7183 MB / 10.63 GB, free: 70.33 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00707/51.04, allocations: 1.012 MB / 10.63 GB, free: 70.31 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05839/51.1, allocations: 16.94 MB / 10.64 GB, free: 68.33 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006998/51.1, allocations: 18.69 kB / 10.64 GB, free: 68.32 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006031/51.11, allocations: 355.6 kB / 10.64 GB, free: 68.32 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/51.11, allocations: 215.5 kB / 10.64 GB, free: 68.32 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05644/51.16, allocations: 19.86 MB / 10.66 GB, free: 68.19 MB / 1.214 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.2081/51.37, allocations: 79.17 MB / 10.74 GB, free: 22.31 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03013/51.4, allocations: 11.94 MB / 10.75 GB, free: 11.94 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02176/51.42, allocations: 9.152 MB / 10.76 GB, free: 3.969 MB / 1.214 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 1.331/52.76, allocations: 33.13 MB / 10.79 GB, free: 109.1 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02918/52.78, allocations: 9.319 MB / 10.8 GB, free: 108.9 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08505/52.87, allocations: 15.12 MB / 10.82 GB, free: 108.9 MB / 1.229 GB Notification: Performance of pre-optimization done (n=582): time 5.09e-05/52.87, allocations: 0 / 10.82 GB, free: 108.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=812): time 1.844/54.71, allocations: 209.1 MB / 11.02 GB, free: 98.89 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007724/54.71, allocations: 2.527 MB / 11.02 GB, free: 95.88 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0536/54.77, allocations: 16.5 MB / 11.04 GB, free: 94.98 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.00594/54.77, allocations: 268.5 kB / 11.04 GB, free: 94.95 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01472/54.79, allocations: 7.859 MB / 11.05 GB, free: 93.58 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008286/54.8, allocations: 2.819 MB / 11.05 GB, free: 92.14 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005502/54.8, allocations: 207.5 kB / 11.05 GB, free: 92.14 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001377/54.8, allocations: 0.7537 MB / 11.05 GB, free: 91.81 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03556/54.84, allocations: 10.49 MB / 11.06 GB, free: 91.75 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04106/54.88, allocations: 14.22 MB / 11.08 GB, free: 87.71 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04115/54.92, allocations: 11.78 MB / 11.09 GB, free: 87.38 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/54.92, allocations: 14.94 kB / 11.09 GB, free: 87.38 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.37/56.29, allocations: 131.2 MB / 11.22 GB, free: 5.133 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/56.29, allocations: 1.731 MB / 11.22 GB, free: 2.863 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006226/56.29, allocations: 126.1 kB / 11.22 GB, free: 2.746 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622/58.92, allocations: 148.4 MB / 11.36 GB, free: 124.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02929/58.95, allocations: 2.798 MB / 11.37 GB, free: 124.4 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2914/59.24, allocations: 74.02 MB / 11.44 GB, free: 117.4 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03874/59.28, allocations: 1.555 MB / 11.44 GB, free: 117.4 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006484/59.28, allocations: 0.92 MB / 11.44 GB, free: 117.4 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/59.28, allocations: 6.922 kB / 11.44 GB, free: 117.4 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.296/60.58, allocations: 129.4 MB / 11.57 GB, free: 105.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006167/60.58, allocations: 118 kB / 11.57 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611/63.19, allocations: 148.3 MB / 11.71 GB, free: 165.6 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02676/63.22, allocations: 2.756 MB / 11.71 GB, free: 165.6 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3234/63.54, allocations: 77.88 MB / 11.79 GB, free: 161.1 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03735/63.58, allocations: 1.529 MB / 11.79 GB, free: 161.1 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006382/63.58, allocations: 0.8828 MB / 11.79 GB, free: 161.1 MB / 1.307 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02189/63.61, allocations: 4.286 MB / 11.8 GB, free: 160.9 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009791/63.62, allocations: 1.554 MB / 11.8 GB, free: 160.9 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3952/64.01, allocations: 51.89 MB / 11.85 GB, free: 160.2 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002049/64.01, allocations: 96.81 kB / 11.85 GB, free: 160.2 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002236/64.01, allocations: 28.59 kB / 11.85 GB, free: 160.2 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3488/64.36, allocations: 45.79 MB / 11.89 GB, free: 159.5 MB / 1.307 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 postOpt removeSimpleEquations (simulation): time 0.4267/64.79, allocations: 70.47 MB / 11.96 GB, free: 155.3 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001376/64.79, allocations: 0 / 11.96 GB, free: 155.3 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01911/64.81, allocations: 1.82 MB / 11.96 GB, free: 155.3 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3519/65.16, allocations: 43.46 MB / 12.01 GB, free: 155.1 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003496/65.16, allocations: 344.4 kB / 12.01 GB, free: 155.1 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1133/65.28, allocations: 31.37 MB / 12.04 GB, free: 142 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/65.28, allocations: 3.141 kB / 12.04 GB, free: 142 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3825/65.66, allocations: 59.97 MB / 12.1 GB, free: 110.2 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01629/65.67, allocations: 3.647 MB / 12.1 GB, free: 108 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008485/65.68, allocations: 283.6 kB / 12.1 GB, free: 107.9 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02902/65.71, allocations: 1.334 MB / 12.1 GB, free: 107.2 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005103/65.72, allocations: 0.5908 MB / 12.1 GB, free: 106.9 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003316/65.72, allocations: 359.7 kB / 12.1 GB, free: 106.7 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.03187/65.75, allocations: 11.21 MB / 12.11 GB, free: 98.68 MB / 1.307 GB Notification: Performance of sort global known variables: time 8.51e-07/65.75, allocations: 0 / 12.11 GB, free: 98.68 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.0685/65.82, allocations: 8.751 MB / 12.12 GB, free: 90.2 MB / 1.307 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 (713): * Single equations (assignments): 689 * 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: 4 * 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: 3 {14 103,14 90,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01484/65.84, allocations: 5.502 MB / 12.13 GB, free: 85.83 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.1608/66, allocations: 44.21 MB / 12.17 GB, free: 49.06 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.019e-05/66, allocations: 10.97 kB / 12.17 GB, free: 49.05 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.04234/66.04, allocations: 11.72 MB / 12.18 GB, free: 39.05 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07419/66.11, allocations: 7.952 MB / 12.19 GB, free: 33.64 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.618/68.73, allocations: 41.38 MB / 12.23 GB, free: 155.4 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0286/68.76, allocations: 9.416 MB / 12.24 GB, free: 154.2 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.0469/68.81, allocations: 5.524 MB / 12.25 GB, free: 154.1 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01205/68.82, allocations: 1.305 MB / 12.25 GB, free: 154.1 MB / 1.307 GB Notification: Performance of SimCode: time 2.625e-06/68.82, allocations: 0 / 12.25 GB, free: 154.1 MB / 1.307 GB Notification: Performance of Templates: time 2.418/71.24, allocations: 479.2 MB / 12.71 GB, free: 207.3 MB / 1.354 GB