Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.027/5.027, allocations: 0.5623 GB / 0.5775 GB, free: 3.387 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.002467/0.002467, allocations: 354.1 kB / 0.6446 GB, free: 185.6 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.152/4.152, allocations: 410.7 MB / 1.113 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001914/0.001914, allocations: 183.1 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006634, allocations: 16 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7292, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/2.007, allocations: 464.2 MB / 1.915 GB, free: 74.27 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/2.007, allocations: 103 kB / 1.915 GB, free: 74.22 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 53.06/55.07, allocations: 9.448 GB / 11.36 GB, free: 60.09 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.715e-06/55.07, allocations: 4 kB / 11.36 GB, free: 60.08 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004859/55.07, allocations: 0.5108 MB / 11.36 GB, free: 59.57 MB / 1.229 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.1139/55.19, allocations: 21.41 MB / 11.38 GB, free: 38 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/55.19, allocations: 15.62 kB / 11.38 GB, free: 37.98 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01869/55.2, allocations: 2.3 MB / 11.39 GB, free: 35.66 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1043/55.31, allocations: 23.13 MB / 11.41 GB, free: 12.43 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/55.31, allocations: 0.7146 MB / 11.41 GB, free: 11.72 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006429/55.32, allocations: 1.015 MB / 11.41 GB, free: 10.7 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.276/56.59, allocations: 16.88 MB / 11.43 GB, free: 70.58 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008602/56.59, allocations: 21.42 kB / 11.43 GB, free: 70.58 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005817/56.6, allocations: 355.4 kB / 11.43 GB, free: 70.58 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004121/56.6, allocations: 215.7 kB / 11.43 GB, free: 70.58 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05559/56.66, allocations: 19.82 MB / 11.45 GB, free: 70.52 MB / 1.229 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.2079/56.86, allocations: 79.5 MB / 11.53 GB, free: 37.8 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03038/56.89, allocations: 11.7 MB / 11.54 GB, free: 37.37 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02485/56.92, allocations: 9.465 MB / 11.55 GB, free: 37.29 MB / 1.229 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.1116/57.03, allocations: 32.87 MB / 11.58 GB, free: 28.84 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02534/57.06, allocations: 9.223 MB / 11.59 GB, free: 28.67 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08141/57.14, allocations: 15.11 MB / 11.6 GB, free: 28.52 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 5.035e-05/57.14, allocations: 0 / 11.6 GB, free: 28.52 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 1.785/58.92, allocations: 202.1 MB / 11.8 GB, free: 33.83 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001231/58.92, allocations: 2.526 MB / 11.8 GB, free: 30.82 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04838/58.97, allocations: 16.51 MB / 11.82 GB, free: 29.93 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005115/58.98, allocations: 252.6 kB / 11.82 GB, free: 29.89 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01399/58.99, allocations: 7.887 MB / 11.83 GB, free: 28.52 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006899/59, allocations: 2.692 MB / 11.83 GB, free: 27.16 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004761/59, allocations: 205 kB / 11.83 GB, free: 27.15 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001362/59, allocations: 0.7412 MB / 11.83 GB, free: 26.82 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03431/59.04, allocations: 10.35 MB / 11.84 GB, free: 26.77 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03769/59.08, allocations: 14.05 MB / 11.85 GB, free: 15.59 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03967/59.12, allocations: 11.64 MB / 11.86 GB, free: 5.602 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/59.12, allocations: 16 kB / 11.86 GB, free: 5.586 MB / 1.245 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 2.645/61.76, allocations: 131.8 MB / 11.99 GB, free: 92.27 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001352/61.76, allocations: 1.796 MB / 11.99 GB, free: 90.14 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005586/61.76, allocations: 117.2 kB / 11.99 GB, free: 90.14 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375/63.14, allocations: 147.4 MB / 12.14 GB, free: 88.13 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02876/63.17, allocations: 2.781 MB / 12.14 GB, free: 88.11 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2828/63.45, allocations: 71.89 MB / 12.21 GB, free: 74.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03712/63.49, allocations: 1.55 MB / 12.21 GB, free: 74.29 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005946/63.49, allocations: 0.9129 MB / 12.21 GB, free: 74.02 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/63.49, allocations: 3.656 kB / 12.21 GB, free: 74.02 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.292/64.79, allocations: 128.8 MB / 12.34 GB, free: 4.062 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006437/64.79, allocations: 125 kB / 12.34 GB, free: 3.945 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659/67.45, allocations: 147.3 MB / 12.48 GB, free: 143.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02876/67.47, allocations: 2.763 MB / 12.49 GB, free: 143.1 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3036/67.78, allocations: 76.19 MB / 12.56 GB, free: 138.5 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03594/67.81, allocations: 1.527 MB / 12.56 GB, free: 138.5 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00588/67.82, allocations: 0.8723 MB / 12.56 GB, free: 138.5 MB / 1.323 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 (1070): * Single equations (assignments): 992 * 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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.02076/67.84, allocations: 4.26 MB / 12.57 GB, free: 138.3 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01052/67.85, allocations: 1.547 MB / 12.57 GB, free: 138.3 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4/68.25, allocations: 50.91 MB / 12.62 GB, free: 137.7 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001801/68.25, allocations: 92.06 kB / 12.62 GB, free: 137.7 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002002/68.25, allocations: 36.58 kB / 12.62 GB, free: 137.7 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3845/68.64, allocations: 44.92 MB / 12.66 GB, free: 137 MB / 1.323 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.435/69.07, allocations: 68.28 MB / 12.73 GB, free: 122.9 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001322/69.07, allocations: 0 / 12.73 GB, free: 122.9 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01947/69.09, allocations: 1.797 MB / 12.73 GB, free: 121.6 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4368/69.53, allocations: 42.66 MB / 12.77 GB, free: 86.82 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00299/69.53, allocations: 332.2 kB / 12.77 GB, free: 86.63 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1037/69.63, allocations: 29.23 MB / 12.8 GB, free: 66.39 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/69.63, allocations: 0 / 12.8 GB, free: 66.39 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.704/71.34, allocations: 58.79 MB / 12.86 GB, free: 142.9 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01617/71.35, allocations: 3.574 MB / 12.86 GB, free: 142.8 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008291/71.36, allocations: 273.1 kB / 12.86 GB, free: 142.8 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02875/71.39, allocations: 1.277 MB / 12.86 GB, free: 142.8 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005006/71.4, allocations: 0.5641 MB / 12.86 GB, free: 142.8 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003105/71.4, allocations: 347.7 kB / 12.86 GB, free: 142.8 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.03368/71.43, allocations: 11.21 MB / 12.88 GB, free: 142.4 MB / 1.323 GB Notification: Performance of sort global known variables: time 8.62e-07/71.43, allocations: 0.8438 kB / 12.88 GB, free: 142.4 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.07883/71.51, allocations: 8.691 MB / 12.88 GB, free: 142.4 MB / 1.323 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 (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {1 1,7 83,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01473/71.53, allocations: 5.49 MB / 12.89 GB, free: 140.5 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.1819/71.71, allocations: 43.24 MB / 12.93 GB, free: 137.4 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 2.618e-05/71.71, allocations: 13.16 kB / 12.93 GB, free: 137.4 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.04236/71.75, allocations: 11.33 MB / 12.94 GB, free: 137.1 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07329/71.82, allocations: 7.777 MB / 12.95 GB, free: 137 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/71.94, allocations: 40.29 MB / 12.99 GB, free: 123.1 MB / 1.323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02353/71.96, allocations: 9.362 MB / 13 GB, free: 122 MB / 1.323 GB Notification: Performance of simCode: alias equations: time 0.04246/72, allocations: 5.522 MB / 13 GB, free: 121.8 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01065/72.01, allocations: 1.301 MB / 13.01 GB, free: 121.8 MB / 1.323 GB Notification: Performance of SimCode: time 1.603e-06/72.01, allocations: 1.422 kB / 13.01 GB, free: 121.8 MB / 1.323 GB Notification: Performance of Templates: time 3.559/75.57, allocations: 470.4 MB / 13.47 GB, free: 138.4 MB / 1.323 GB