Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.974/4.974, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 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.002509/0.002509, allocations: 353.6 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.259/4.259, 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.00206/0.002059, allocations: 191.8 kB / 1.226 GB, free: 35.86 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.0006533, allocations: 16.53 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.214, allocations: 115.3 MB / 1.461 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.056/2.27, allocations: 463.7 MB / 1.914 GB, free: 284.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/2.27, allocations: 104.8 kB / 1.914 GB, free: 284.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 36.11/38.38, allocations: 6.391 GB / 8.305 GB, free: 89.85 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.647e-06/38.38, allocations: 0.6562 kB / 8.305 GB, free: 89.85 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00469/38.38, allocations: 0.526 MB / 8.306 GB, free: 89.73 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.1187/38.5, allocations: 21.44 MB / 8.327 GB, free: 82.22 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/38.5, allocations: 10.56 kB / 8.327 GB, free: 82.22 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02018/38.52, allocations: 2.314 MB / 8.329 GB, free: 81.2 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.111/38.63, allocations: 23.2 MB / 8.352 GB, free: 78.59 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001486/38.64, allocations: 0.7259 MB / 8.352 GB, free: 78.57 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007146/38.64, allocations: 1.032 MB / 8.353 GB, free: 78.55 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07076/38.71, allocations: 17.07 MB / 8.37 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009492/38.72, allocations: 15.81 kB / 8.37 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007215/38.72, allocations: 361.1 kB / 8.37 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004665/38.72, allocations: 219.8 kB / 8.371 GB, free: 76.69 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06576/38.79, allocations: 19.94 MB / 8.39 GB, free: 76.62 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.2129/39, allocations: 78.35 MB / 8.467 GB, free: 44.65 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03371/39.04, allocations: 12.56 MB / 8.479 GB, free: 44.2 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02399/39.06, allocations: 9.637 MB / 8.488 GB, free: 44.1 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 0.1154/39.18, allocations: 33.69 MB / 8.521 GB, free: 35.41 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02716/39.2, allocations: 9.549 MB / 8.531 GB, free: 35.23 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08487/39.29, allocations: 15.13 MB / 8.545 GB, free: 34.46 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 7.883e-05/39.29, allocations: 0 / 8.545 GB, free: 34.46 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 3.159/42.45, allocations: 223 MB / 8.763 GB, free: 102 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008216/42.45, allocations: 2.53 MB / 8.766 GB, free: 99.02 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04978/42.5, allocations: 16.46 MB / 8.782 GB, free: 98.25 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005545/42.5, allocations: 277.3 kB / 8.782 GB, free: 98.22 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01529/42.52, allocations: 7.86 MB / 8.79 GB, free: 97.76 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007619/42.53, allocations: 2.988 MB / 8.792 GB, free: 97.68 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004784/42.53, allocations: 209.9 kB / 8.793 GB, free: 97.68 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001251/42.53, allocations: 0.7554 MB / 8.793 GB, free: 97.35 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03523/42.57, allocations: 10.69 MB / 8.804 GB, free: 97.33 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0401/42.61, allocations: 14.49 MB / 8.818 GB, free: 93.42 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03969/42.65, allocations: 12.02 MB / 8.83 GB, free: 93.2 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/42.65, allocations: 10.84 kB / 8.83 GB, free: 93.2 MB / 1.229 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.33/43.98, allocations: 133.2 MB / 8.96 GB, free: 90.16 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/43.98, allocations: 1.579 MB / 8.961 GB, free: 88.19 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000589/43.98, allocations: 110.6 kB / 8.961 GB, free: 88.19 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47/45.45, allocations: 154.3 MB / 9.112 GB, free: 20.79 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.027/45.48, allocations: 2.605 MB / 9.115 GB, free: 18.36 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642/47.12, allocations: 76.91 MB / 9.19 GB, free: 136 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05072/47.17, allocations: 1.508 MB / 9.191 GB, free: 136 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008731/47.18, allocations: 0.9189 MB / 9.192 GB, free: 136 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/47.18, allocations: 4.5 kB / 9.192 GB, free: 136 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.341/48.52, allocations: 131.1 MB / 9.32 GB, free: 135.3 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006212/48.52, allocations: 108.5 kB / 9.32 GB, free: 135.3 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37/49.89, allocations: 153.9 MB / 9.471 GB, free: 131.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0233/49.91, allocations: 2.56 MB / 9.473 GB, free: 131.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3071/50.22, allocations: 83.64 MB / 9.555 GB, free: 78.86 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03558/50.26, allocations: 1.497 MB / 9.556 GB, free: 77.63 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005809/50.26, allocations: 0.8716 MB / 9.557 GB, free: 76.85 MB / 1.276 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (990): * Single equations (assignments): 910 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02042/50.28, allocations: 4.303 MB / 9.561 GB, free: 74.19 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008705/50.29, allocations: 1.561 MB / 9.563 GB, free: 73.46 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3832/50.67, allocations: 54.28 MB / 9.616 GB, free: 30.14 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001951/50.67, allocations: 101.4 kB / 9.616 GB, free: 30.04 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001976/50.67, allocations: 28 kB / 9.616 GB, free: 30.02 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635/52.31, allocations: 48 MB / 9.663 GB, free: 107.2 MB / 1.276 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.4392/52.75, allocations: 73.83 MB / 9.735 GB, free: 102.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001856/52.75, allocations: 0 / 9.735 GB, free: 102.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01765/52.77, allocations: 1.679 MB / 9.737 GB, free: 102.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.368/53.14, allocations: 46.5 MB / 9.782 GB, free: 102.7 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003574/53.14, allocations: 352.5 kB / 9.782 GB, free: 102.7 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1199/53.26, allocations: 34.52 MB / 9.816 GB, free: 95.65 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/53.26, allocations: 2.812 kB / 9.816 GB, free: 95.65 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3964/53.66, allocations: 62.72 MB / 9.877 GB, free: 94.38 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01658/53.67, allocations: 3.772 MB / 9.881 GB, free: 94.14 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008077/53.68, allocations: 289.6 kB / 9.881 GB, free: 94.14 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02853/53.71, allocations: 1.308 MB / 9.883 GB, free: 94.1 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004531/53.71, allocations: 0.6209 MB / 9.883 GB, free: 94.09 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00268/53.72, allocations: 373.6 kB / 9.884 GB, free: 94.09 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03274/53.75, allocations: 11.19 MB / 9.894 GB, free: 93.65 MB / 1.276 GB Notification: Performance of sort global known variables: time 3.848e-06/53.75, allocations: 1.594 kB / 9.894 GB, free: 93.65 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06322/53.81, allocations: 8.794 MB / 9.903 GB, free: 93.65 MB / 1.276 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 (665): * Single equations (assignments): 641 * 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 {33 156,33 119,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01454/53.83, allocations: 5.508 MB / 9.908 GB, free: 91.71 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1732/54, allocations: 46.18 MB / 9.954 GB, free: 88.15 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/54, allocations: 10.62 kB / 9.954 GB, free: 88.15 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.04799/54.05, allocations: 12.64 MB / 9.966 GB, free: 87.71 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07742/54.13, allocations: 7.976 MB / 9.974 GB, free: 87.6 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1143/54.24, allocations: 41.57 MB / 10.01 GB, free: 62.55 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02316/54.26, allocations: 9.523 MB / 10.02 GB, free: 56.83 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03942/54.3, allocations: 5.101 MB / 10.03 GB, free: 53.23 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009584/54.31, allocations: 1.264 MB / 10.03 GB, free: 52.18 MB / 1.276 GB Notification: Performance of SimCode: time 1.984e-06/54.31, allocations: 0 / 10.03 GB, free: 52.18 MB / 1.276 GB Notification: Performance of Templates: time 2.46/56.77, allocations: 0.4891 GB / 10.52 GB, free: 380 kB / 1.276 GB