Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.254/2.254, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001482/0.001482, allocations: 177.8 kB / 325.6 MB, free: 2.816 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.277/2.277, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.001157/0.001156, allocations: 103.9 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006373, allocations: 11.34 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2397, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.589, allocations: 456.4 MB / 1.345 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.589, allocations: 97.45 kB / 1.345 GB, free: 12 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 48.17/49.76, allocations: 8.485 GB / 9.83 GB, free: 91.79 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.677e-06/49.76, allocations: 0 / 9.83 GB, free: 91.79 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004765/49.77, allocations: 0.5078 MB / 9.83 GB, free: 91.68 MB / 1.151 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.1231/49.89, allocations: 21.42 MB / 9.851 GB, free: 83.97 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/49.89, allocations: 10.06 kB / 9.851 GB, free: 83.97 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/49.92, allocations: 2.305 MB / 9.853 GB, free: 82.96 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1203/50.04, allocations: 23.5 MB / 9.876 GB, free: 80.37 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001423/50.04, allocations: 0.7163 MB / 9.877 GB, free: 80.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006898/50.05, allocations: 1.012 MB / 9.878 GB, free: 80.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05781/50.1, allocations: 16.79 MB / 9.894 GB, free: 78.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005968/50.1, allocations: 21.47 kB / 9.894 GB, free: 78.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007298/50.11, allocations: 365.7 kB / 9.895 GB, free: 78.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004748/50.11, allocations: 215.2 kB / 9.895 GB, free: 78.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05879/50.17, allocations: 19.8 MB / 9.914 GB, free: 78.41 MB / 1.151 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.2289/50.4, allocations: 79.24 MB / 9.992 GB, free: 44.72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03161/50.43, allocations: 11.88 MB / 10 GB, free: 44.28 MB / 1.151 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.1027/50.53, allocations: 32.89 MB / 10.04 GB, free: 35.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02531/50.56, allocations: 9.236 MB / 10.04 GB, free: 35.48 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07899/50.64, allocations: 14.9 MB / 10.06 GB, free: 34.54 MB / 1.151 GB Notification: Performance of pre-optimization done (n=581): time 4.659e-05/50.64, allocations: 3.938 kB / 10.06 GB, free: 34.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=811): time 2.923/53.56, allocations: 198.3 MB / 10.25 GB, free: 103.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007719/53.56, allocations: 2.529 MB / 10.26 GB, free: 100.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0471/53.61, allocations: 14.9 MB / 10.27 GB, free: 99.65 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00536/53.62, allocations: 262.2 kB / 10.27 GB, free: 99.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01522/53.63, allocations: 7.909 MB / 10.28 GB, free: 99.26 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007826/53.64, allocations: 2.823 MB / 10.28 GB, free: 99.23 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005519/53.64, allocations: 208.4 kB / 10.28 GB, free: 99.23 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001349/53.65, allocations: 0.751 MB / 10.28 GB, free: 98.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03257/53.68, allocations: 10.08 MB / 10.29 GB, free: 98.88 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03671/53.72, allocations: 13.76 MB / 10.3 GB, free: 94.96 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0365/53.75, allocations: 11.42 MB / 10.32 GB, free: 94.75 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/53.75, allocations: 11.53 kB / 10.32 GB, free: 94.75 MB / 1.167 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.265/55.02, allocations: 129.4 MB / 10.44 GB, free: 91.31 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007419/55.02, allocations: 36.7 MB / 10.48 GB, free: 53.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006669/55.03, allocations: 120.7 kB / 10.48 GB, free: 53.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338/56.36, allocations: 147.1 MB / 10.62 GB, free: 11.17 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02698/56.39, allocations: 2.578 MB / 10.62 GB, free: 8.77 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475/57.87, allocations: 76.38 MB / 10.7 GB, free: 145.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03471/57.9, allocations: 1.44 MB / 10.7 GB, free: 145.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006016/57.91, allocations: 0.9177 MB / 10.7 GB, free: 145.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/57.91, allocations: 4.531 kB / 10.7 GB, free: 145.6 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.269/59.18, allocations: 128.1 MB / 10.83 GB, free: 144.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001555/59.18, allocations: 120.7 kB / 10.83 GB, free: 144.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398/60.57, allocations: 147.4 MB / 10.97 GB, free: 91.65 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02261/60.6, allocations: 2.56 MB / 10.97 GB, free: 89.27 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3028/60.9, allocations: 80.7 MB / 11.05 GB, free: 30.28 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03408/60.93, allocations: 1.415 MB / 11.05 GB, free: 29.11 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005687/60.94, allocations: 0.8728 MB / 11.05 GB, free: 28.32 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 981 * 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.01926/60.96, allocations: 4.267 MB / 11.06 GB, free: 25.7 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0088/60.97, allocations: 1.554 MB / 11.06 GB, free: 24.98 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554/62.52, allocations: 50.25 MB / 11.11 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001894/62.52, allocations: 96.48 kB / 11.11 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002339/62.52, allocations: 30.94 kB / 11.11 GB, free: 138.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3329/62.86, allocations: 44.24 MB / 11.15 GB, free: 138 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3968/63.25, allocations: 68.45 MB / 11.22 GB, free: 133.9 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001625/63.25, allocations: 0.9062 kB / 11.22 GB, free: 133.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01812/63.27, allocations: 1.732 MB / 11.22 GB, free: 133.9 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3423/63.61, allocations: 42.25 MB / 11.26 GB, free: 133.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003882/63.62, allocations: 341.2 kB / 11.26 GB, free: 133.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.112/63.73, allocations: 31.6 MB / 11.29 GB, free: 126.7 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/63.73, allocations: 0.9844 kB / 11.29 GB, free: 126.7 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3635/64.09, allocations: 58.16 MB / 11.35 GB, free: 125.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01647/64.11, allocations: 3.622 MB / 11.35 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0089/64.12, allocations: 278.6 kB / 11.35 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02729/64.15, allocations: 1.232 MB / 11.35 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004643/64.15, allocations: 0.5823 MB / 11.36 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002762/64.15, allocations: 348.9 kB / 11.36 GB, free: 125.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.03399/64.19, allocations: 11.42 MB / 11.37 GB, free: 120.9 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.464e-06/64.19, allocations: 0 / 11.37 GB, free: 120.9 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.07033/64.26, allocations: 8.786 MB / 11.38 GB, free: 113.2 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 692 * 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01491/64.27, allocations: 5.624 MB / 11.38 GB, free: 109 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.1491/64.42, allocations: 42.73 MB / 11.42 GB, free: 86.17 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.431e-05/64.42, allocations: 11.81 kB / 11.42 GB, free: 86.16 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.03927/64.46, allocations: 11.19 MB / 11.43 GB, free: 80.54 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06747/64.53, allocations: 7.77 MB / 11.44 GB, free: 76.59 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1049/64.63, allocations: 40.19 MB / 11.48 GB, free: 45.4 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02115/64.65, allocations: 9.403 MB / 11.49 GB, free: 39.68 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04085/64.7, allocations: 5.503 MB / 11.49 GB, free: 35.82 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009591/64.71, allocations: 1.312 MB / 11.5 GB, free: 34.75 MB / 1.214 GB Notification: Performance of SimCode: time 1.593e-06/64.71, allocations: 0 / 11.5 GB, free: 34.75 MB / 1.214 GB Notification: Performance of Templates: time 3.39/68.1, allocations: 473.8 MB / 11.96 GB, free: 6.266 MB / 1.276 GB