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.543/2.543, allocations: 285 MB / 292.5 MB, free: 10.5 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.001488/0.001488, allocations: 184.9 kB / 360.7 MB, free: 7.23 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.895/1.895, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001463/0.001462, allocations: 93.08 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.72e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.8251, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/2.128, allocations: 463 MB / 1.416 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/2.128, allocations: 89.52 kB / 1.416 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 36.09/38.22, allocations: 6.385 GB / 7.801 GB, free: 87.65 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.535e-06/38.22, allocations: 0 / 7.801 GB, free: 87.65 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005417/38.23, allocations: 0.5294 MB / 7.801 GB, free: 87.51 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.07458/38.3, allocations: 14.16 MB / 7.815 GB, free: 81.28 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/38.3, allocations: 9.688 kB / 7.815 GB, free: 81.28 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02028/38.32, allocations: 2.312 MB / 7.817 GB, free: 80.25 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1092/38.43, allocations: 23.32 MB / 7.84 GB, free: 77.32 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007152/38.43, allocations: 258 kB / 7.84 GB, free: 77.32 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006566/38.44, allocations: 0.5928 MB / 7.841 GB, free: 77.31 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05025/38.49, allocations: 19.91 MB / 7.86 GB, free: 77.27 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05151/38.54, allocations: 15.57 MB / 7.876 GB, free: 75.31 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006371/38.54, allocations: 10.94 kB / 7.876 GB, free: 75.31 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004961/38.54, allocations: 18.44 kB / 7.876 GB, free: 75.31 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002939/38.55, allocations: 218.5 kB / 7.876 GB, free: 75.3 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.217/38.76, allocations: 77.15 MB / 7.951 GB, free: 32.41 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06071/38.82, allocations: 13.17 MB / 7.964 GB, free: 20.75 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02755/38.85, allocations: 9.828 MB / 7.974 GB, free: 11.94 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.1605/39.01, allocations: 33.57 MB / 8.006 GB, free: 0.7227 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239/40.25, allocations: 9.324 MB / 8.016 GB, free: 117.8 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08126/40.33, allocations: 14.96 MB / 8.03 GB, free: 117.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 6.35e-05/40.33, allocations: 0 / 8.03 GB, free: 117.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=608): time 1.37/41.7, allocations: 140.4 MB / 8.167 GB, free: 114.4 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007257/41.7, allocations: 2.505 MB / 8.17 GB, free: 111.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04403/41.75, allocations: 13.84 MB / 8.183 GB, free: 110.6 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.004622/41.75, allocations: 46.86 kB / 8.183 GB, free: 110.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01472/41.76, allocations: 7.767 MB / 8.191 GB, free: 109.2 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.006047/41.77, allocations: 2.075 MB / 8.193 GB, free: 108.1 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004288/41.78, allocations: 0 / 8.193 GB, free: 108.1 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001132/41.78, allocations: 0.691 MB / 8.194 GB, free: 107.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0221/41.8, allocations: 8.553 MB / 8.202 GB, free: 107.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02604/41.82, allocations: 12.04 MB / 8.214 GB, free: 103.7 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03006/41.85, allocations: 10.02 MB / 8.223 GB, free: 103.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/41.86, allocations: 13.47 kB / 8.223 GB, free: 103.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.235/43.09, allocations: 125.3 MB / 8.346 GB, free: 83.61 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.008632/43.1, allocations: 32.83 MB / 8.378 GB, free: 49.11 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009818/43.1, allocations: 115.2 kB / 8.378 GB, free: 49.01 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645/45.74, allocations: 144.6 MB / 8.519 GB, free: 153.5 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02208/45.77, allocations: 2.024 MB / 8.521 GB, free: 153.5 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2691/46.04, allocations: 68.76 MB / 8.588 GB, free: 147.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03191/46.07, allocations: 0.9363 MB / 8.589 GB, free: 147.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0057/46.07, allocations: 0.8302 MB / 8.59 GB, free: 147.6 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/46.07, allocations: 4.969 kB / 8.59 GB, free: 147.6 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.219/47.29, allocations: 122.2 MB / 8.709 GB, free: 146.3 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006305/47.29, allocations: 110 kB / 8.709 GB, free: 146.3 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303/48.6, allocations: 144.5 MB / 8.851 GB, free: 71.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01789/48.61, allocations: 1.997 MB / 8.853 GB, free: 69.35 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.294/48.91, allocations: 73.28 MB / 8.924 GB, free: 16.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03196/48.94, allocations: 0.9292 MB / 8.925 GB, free: 15.75 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005641/48.95, allocations: 0.7845 MB / 8.926 GB, free: 15.04 MB / 1.26 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 (889): * Single equations (assignments): 811 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * 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: 1 {33 119} Notification: Performance of prepare postOptimizeDAE: time 0.009455/48.96, allocations: 349.6 kB / 8.926 GB, free: 14.84 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009702/48.97, allocations: 1.477 MB / 8.928 GB, free: 14.16 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.6/50.57, allocations: 44.46 MB / 8.971 GB, free: 149.2 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002218/50.57, allocations: 73.42 kB / 8.971 GB, free: 149.2 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001656/50.57, allocations: 29 kB / 8.971 GB, free: 149.2 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.312/50.88, allocations: 39.24 MB / 9.009 GB, free: 148.6 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.37/51.25, allocations: 59.4 MB / 9.067 GB, free: 144.6 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-05/51.25, allocations: 3.688 kB / 9.067 GB, free: 144.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01211/51.26, allocations: 1.077 MB / 9.068 GB, free: 144.6 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3323/51.59, allocations: 41.82 MB / 9.109 GB, free: 144.5 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002498/51.6, allocations: 159.6 kB / 9.109 GB, free: 144.5 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.103/51.7, allocations: 28.8 MB / 9.138 GB, free: 138.6 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/51.7, allocations: 3.562 kB / 9.138 GB, free: 138.6 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3319/52.03, allocations: 50.02 MB / 9.186 GB, free: 137.3 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01642/52.05, allocations: 3.239 MB / 9.19 GB, free: 137.2 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008572/52.06, allocations: 80.36 kB / 9.19 GB, free: 137.2 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02415/52.08, allocations: 0.7973 MB / 9.19 GB, free: 137.1 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0037/52.08, allocations: 443.9 kB / 9.191 GB, free: 137.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002585/52.09, allocations: 268.3 kB / 9.191 GB, free: 137.1 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.03114/52.12, allocations: 10.39 MB / 9.201 GB, free: 136.7 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.422e-06/52.12, allocations: 0.5938 kB / 9.201 GB, free: 136.7 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.07143/52.19, allocations: 7.848 MB / 9.209 GB, free: 136.7 MB / 1.26 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 (503): * Single equations (assignments): 481 * 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: 2 * 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: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01421/52.2, allocations: 5.286 MB / 9.214 GB, free: 134.7 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.122/52.33, allocations: 36.63 MB / 9.25 GB, free: 114.7 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.969e-05/52.33, allocations: 10.62 kB / 9.25 GB, free: 114.7 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.0281/52.35, allocations: 8.754 MB / 9.258 GB, free: 110.2 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06935/52.42, allocations: 7.583 MB / 9.266 GB, free: 106.2 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08732/52.51, allocations: 26.2 MB / 9.291 GB, free: 86.82 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01966/52.53, allocations: 8.996 MB / 9.3 GB, free: 81.53 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.07006/52.6, allocations: 8.033 MB / 9.308 GB, free: 76.92 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005096/52.61, allocations: 0.8212 MB / 9.309 GB, free: 76.22 MB / 1.26 GB Notification: Performance of SimCode: time 1.122e-06/52.61, allocations: 0 / 9.309 GB, free: 76.22 MB / 1.26 GB Notification: Performance of Templates: time 3.557/56.16, allocations: 439.5 MB / 9.738 GB, free: 67.43 MB / 1.261 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)