Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.419/2.419, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 188.1 kB / 365.7 MB, free: 2.559 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 99.55 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.446e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7771/0.7772, allocations: 115.2 MB / 0.97 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/2.095, allocations: 463.7 MB / 1.423 GB, free: 93.62 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/2.096, allocations: 95.12 kB / 1.423 GB, free: 93.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 36.66/38.76, allocations: 6.415 GB / 7.838 GB, free: 74.79 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.354e-06/38.76, allocations: 0 / 7.838 GB, free: 74.79 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.004908/38.77, allocations: 0.5289 MB / 7.839 GB, free: 74.67 MB / 1.198 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.073/38.84, allocations: 14.17 MB / 7.853 GB, free: 68.59 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/38.84, allocations: 13.84 kB / 7.853 GB, free: 68.59 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02053/38.86, allocations: 2.308 MB / 7.855 GB, free: 67.55 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1089/38.97, allocations: 23.33 MB / 7.878 GB, free: 64.84 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001467/38.97, allocations: 0.7248 MB / 7.878 GB, free: 64.82 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006839/38.98, allocations: 1.029 MB / 7.879 GB, free: 64.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05648/39.03, allocations: 16.75 MB / 7.896 GB, free: 62.89 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007063/39.03, allocations: 19.44 kB / 7.896 GB, free: 62.88 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005321/39.04, allocations: 364.5 kB / 7.896 GB, free: 62.88 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002797/39.04, allocations: 212.2 kB / 7.896 GB, free: 62.88 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05382/39.09, allocations: 19.54 MB / 7.915 GB, free: 62.82 MB / 1.198 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.2137/39.31, allocations: 78.5 MB / 7.992 GB, free: 30.13 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02967/39.34, allocations: 12.3 MB / 8.004 GB, free: 25.59 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02195/39.36, allocations: 9.481 MB / 8.013 GB, free: 21.33 MB / 1.198 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.1156/39.47, allocations: 33.83 MB / 8.046 GB, free: 3.52 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03871/39.51, allocations: 10.15 MB / 8.056 GB, free: 14.98 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08691/39.6, allocations: 15.15 MB / 8.071 GB, free: 4.352 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 4.849e-05/39.6, allocations: 0 / 8.071 GB, free: 4.352 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 2.758/42.36, allocations: 173.8 MB / 8.241 GB, free: 106.9 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007871/42.36, allocations: 2.536 MB / 8.243 GB, free: 103.8 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04595/42.41, allocations: 14.7 MB / 8.258 GB, free: 103 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005659/42.41, allocations: 278.3 kB / 8.258 GB, free: 103 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01524/42.43, allocations: 7.886 MB / 8.266 GB, free: 101.6 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.007155/42.43, allocations: 2.986 MB / 8.269 GB, free: 100 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004587/42.44, allocations: 210.5 kB / 8.269 GB, free: 100 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001255/42.44, allocations: 0.7535 MB / 8.269 GB, free: 99.72 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02757/42.47, allocations: 9.709 MB / 8.279 GB, free: 99.69 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03225/42.5, allocations: 13.44 MB / 8.292 GB, free: 95.69 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03123/42.53, allocations: 11.08 MB / 8.303 GB, free: 95.34 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/42.53, allocations: 13.78 kB / 8.303 GB, free: 95.34 MB / 1.229 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.268/43.8, allocations: 129.7 MB / 8.43 GB, free: 91.28 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006533/43.81, allocations: 32.97 MB / 8.462 GB, free: 56.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005945/43.81, allocations: 110.5 kB / 8.462 GB, free: 56.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786/46.59, allocations: 151.8 MB / 8.61 GB, free: 135.4 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02676/46.62, allocations: 2.504 MB / 8.613 GB, free: 135.4 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3111/46.93, allocations: 75.9 MB / 8.687 GB, free: 128.3 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0361/46.97, allocations: 1.509 MB / 8.688 GB, free: 128.3 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006042/46.97, allocations: 0.9184 MB / 8.689 GB, free: 128.3 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/46.97, allocations: 2.656 kB / 8.689 GB, free: 128.3 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.275/48.25, allocations: 128.3 MB / 8.814 GB, free: 126.5 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005874/48.25, allocations: 111.2 kB / 8.814 GB, free: 126.5 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376/49.62, allocations: 152.7 MB / 8.964 GB, free: 28.77 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02255/49.65, allocations: 2.478 MB / 8.966 GB, free: 26.46 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572/51.22, allocations: 82.52 MB / 9.047 GB, free: 144.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03614/51.25, allocations: 1.495 MB / 9.048 GB, free: 144.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00597/51.26, allocations: 0.8657 MB / 9.049 GB, free: 144.5 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 () * 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.01049/51.27, allocations: 0.7235 MB / 9.05 GB, free: 144.4 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009467/51.28, allocations: 1.564 MB / 9.051 GB, free: 144.4 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3788/51.66, allocations: 50.98 MB / 9.101 GB, free: 143.6 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002282/51.66, allocations: 96.03 kB / 9.101 GB, free: 143.6 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001415/51.66, allocations: 32.69 kB / 9.101 GB, free: 143.6 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3339/51.99, allocations: 44.82 MB / 9.145 GB, free: 142.7 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4169/52.41, allocations: 70.19 MB / 9.213 GB, free: 138.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001498/52.41, allocations: 5.812 kB / 9.213 GB, free: 138.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01776/52.43, allocations: 1.691 MB / 9.215 GB, free: 138.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.356/52.78, allocations: 44.74 MB / 9.259 GB, free: 137.9 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003398/52.79, allocations: 351.5 kB / 9.259 GB, free: 137.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1154/52.9, allocations: 33.11 MB / 9.291 GB, free: 130.8 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/52.9, allocations: 0.75 kB / 9.291 GB, free: 130.8 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3682/53.27, allocations: 58.71 MB / 9.349 GB, free: 114.7 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01768/53.29, allocations: 3.736 MB / 9.352 GB, free: 112.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008807/53.3, allocations: 285.1 kB / 9.353 GB, free: 112.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02849/53.33, allocations: 1.303 MB / 9.354 GB, free: 111.6 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004711/53.33, allocations: 0.6069 MB / 9.354 GB, free: 111.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003422/53.33, allocations: 364.6 kB / 9.355 GB, free: 111.1 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03182/53.37, allocations: 11.24 MB / 9.366 GB, free: 104.7 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.172e-06/53.37, allocations: 0 / 9.366 GB, free: 104.7 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06377/53.43, allocations: 8.807 MB / 9.374 GB, free: 97.07 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (669): * Single equations (assignments): 645 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01563/53.45, allocations: 5.641 MB / 9.38 GB, free: 92.8 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1468/53.59, allocations: 43.46 MB / 9.422 GB, free: 65.48 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/53.59, allocations: 10.31 kB / 9.422 GB, free: 65.47 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.03798/53.63, allocations: 11.46 MB / 9.434 GB, free: 55.2 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06612/53.7, allocations: 7.804 MB / 9.441 GB, free: 49.94 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08501/53.78, allocations: 29.69 MB / 9.47 GB, free: 23.96 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01887/53.8, allocations: 9.512 MB / 9.479 GB, free: 17.33 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 1.238/55.04, allocations: 8.631 MB / 9.488 GB, free: 117.5 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007295/55.05, allocations: 0.9291 MB / 9.489 GB, free: 117.5 MB / 1.276 GB Notification: Performance of SimCode: time 1.443e-06/55.05, allocations: 1.125 kB / 9.489 GB, free: 117.5 MB / 1.276 GB Notification: Performance of Templates: time 3.769/58.82, allocations: 0.5143 GB / 10 GB, free: 199.9 MB / 1.354 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)