Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.427/2.427, allocations: 284.8 MB / 297.3 MB, free: 6.324 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.001461/0.001461, allocations: 184.8 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.878/1.878, allocations: 205.1 MB / 0.6241 GB, free: 8.188 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.001063/0.001063, allocations: 90.92 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.698e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7775, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/2.116, allocations: 463.8 MB / 1.423 GB, free: 93.48 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/2.116, allocations: 90.64 kB / 1.423 GB, free: 93.44 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 50.11/52.22, allocations: 8.697 GB / 10.12 GB, free: 100 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.585e-06/52.22, allocations: 1.344 kB / 10.12 GB, free: 100 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005874/52.23, allocations: 0.5194 MB / 10.12 GB, free: 99.93 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.07859/52.31, allocations: 14.15 MB / 10.13 GB, free: 94.16 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/52.31, allocations: 9.312 kB / 10.13 GB, free: 94.16 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02137/52.33, allocations: 2.31 MB / 10.14 GB, free: 93.14 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1198/52.45, allocations: 23.24 MB / 10.16 GB, free: 90.57 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001946/52.45, allocations: 0.717 MB / 10.16 GB, free: 90.55 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008234/52.46, allocations: 1.021 MB / 10.16 GB, free: 90.53 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06311/52.52, allocations: 16.62 MB / 10.18 GB, free: 88.68 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008176/52.52, allocations: 15.47 kB / 10.18 GB, free: 88.67 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005844/52.53, allocations: 366.1 kB / 10.18 GB, free: 88.67 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003087/52.53, allocations: 220.3 kB / 10.18 GB, free: 88.67 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0571/52.59, allocations: 19.46 MB / 10.2 GB, free: 88.61 MB / 1.214 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.2302/52.82, allocations: 79.34 MB / 10.27 GB, free: 55.09 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03061/52.85, allocations: 11.68 MB / 10.29 GB, free: 54.65 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02224/52.87, allocations: 8.978 MB / 10.29 GB, free: 54.58 MB / 1.214 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.1187/52.99, allocations: 33.25 MB / 10.33 GB, free: 45.89 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02572/53.01, allocations: 9.136 MB / 10.34 GB, free: 45.73 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08766/53.1, allocations: 15.15 MB / 10.35 GB, free: 45.18 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 5.589e-05/53.1, allocations: 2.156 kB / 10.35 GB, free: 45.18 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 1.535/54.64, allocations: 171.1 MB / 10.52 GB, free: 17.82 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006656/54.64, allocations: 2.523 MB / 10.52 GB, free: 14.73 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04324/54.68, allocations: 14.74 MB / 10.53 GB, free: 3.531 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005305/54.69, allocations: 267.6 kB / 10.54 GB, free: 3.27 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.02451/54.71, allocations: 8.326 MB / 10.54 GB, free: 13.67 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008658/54.72, allocations: 2.835 MB / 10.55 GB, free: 11.11 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004704/54.72, allocations: 205.5 kB / 10.55 GB, free: 10.91 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001365/54.72, allocations: 0.7468 MB / 10.55 GB, free: 10.29 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02967/54.75, allocations: 9.556 MB / 10.56 GB, free: 1.984 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33/56.08, allocations: 15.27 MB / 10.57 GB, free: 102.7 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03503/56.12, allocations: 10.89 MB / 10.58 GB, free: 102.5 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001748/56.12, allocations: 15.16 kB / 10.58 GB, free: 102.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.438/57.56, allocations: 128.3 MB / 10.71 GB, free: 101.5 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007122/57.56, allocations: 36.69 MB / 10.74 GB, free: 64.06 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006694/57.57, allocations: 115.1 kB / 10.74 GB, free: 64.06 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366/58.93, allocations: 147.8 MB / 10.89 GB, free: 60.04 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02786/58.96, allocations: 2.701 MB / 10.89 GB, free: 59.41 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2712/59.23, allocations: 73.61 MB / 10.96 GB, free: 10.34 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04867/59.28, allocations: 1.546 MB / 10.96 GB, free: 9.055 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007173/59.29, allocations: 0.9196 MB / 10.96 GB, free: 8.223 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/59.29, allocations: 8.625 kB / 10.96 GB, free: 8.215 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.478/61.77, allocations: 127 MB / 11.09 GB, free: 132.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005971/61.77, allocations: 124.2 kB / 11.09 GB, free: 132.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351/63.12, allocations: 147.5 MB / 11.23 GB, free: 131.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02418/63.14, allocations: 2.672 MB / 11.24 GB, free: 131.4 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2895/63.43, allocations: 77.35 MB / 11.31 GB, free: 126.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03517/63.47, allocations: 1.527 MB / 11.31 GB, free: 126.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00561/63.47, allocations: 0.8707 MB / 11.31 GB, free: 126.3 MB / 1.276 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.009103/63.48, allocations: 0.7255 MB / 11.31 GB, free: 126.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008402/63.49, allocations: 1.554 MB / 11.32 GB, free: 126.2 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3557/63.84, allocations: 49.29 MB / 11.36 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001797/63.85, allocations: 92 kB / 11.36 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001337/63.85, allocations: 32 kB / 11.36 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3222/64.17, allocations: 43.28 MB / 11.41 GB, free: 77.42 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4482/64.62, allocations: 67.73 MB / 11.47 GB, free: 25.28 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000131/64.62, allocations: 4 kB / 11.47 GB, free: 25.27 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01934/64.64, allocations: 1.832 MB / 11.47 GB, free: 23.56 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619/66.25, allocations: 42.76 MB / 11.52 GB, free: 128.2 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003226/66.26, allocations: 342.9 kB / 11.52 GB, free: 128.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1175/66.38, allocations: 30.79 MB / 11.55 GB, free: 121.2 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/66.38, allocations: 3.281 kB / 11.55 GB, free: 121.2 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4293/66.8, allocations: 56.77 MB / 11.6 GB, free: 119.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01949/66.82, allocations: 3.656 MB / 11.6 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008565/66.83, allocations: 279.7 kB / 11.61 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0292/66.86, allocations: 1.329 MB / 11.61 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004499/66.87, allocations: 0.5927 MB / 11.61 GB, free: 119.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003075/66.87, allocations: 360.4 kB / 11.61 GB, free: 119.8 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03263/66.9, allocations: 11.25 MB / 11.62 GB, free: 119.3 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.02e-07/66.9, allocations: 2.188 kB / 11.62 GB, free: 119.3 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06989/66.97, allocations: 8.8 MB / 11.63 GB, free: 119.3 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 (717): * Single equations (assignments): 693 * 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01614/66.99, allocations: 5.63 MB / 11.63 GB, free: 117.3 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.174/67.16, allocations: 42.86 MB / 11.67 GB, free: 113.9 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 3.916e-05/67.16, allocations: 10.56 kB / 11.67 GB, free: 113.9 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.04651/67.21, allocations: 11.17 MB / 11.69 GB, free: 113.6 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06722/67.28, allocations: 7.776 MB / 11.69 GB, free: 113.5 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0906/67.37, allocations: 29.41 MB / 11.72 GB, free: 107.8 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02092/67.39, allocations: 9.437 MB / 11.73 GB, free: 106.6 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.06215/67.45, allocations: 8.979 MB / 11.74 GB, free: 106.5 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007412/67.46, allocations: 0.9671 MB / 11.74 GB, free: 106.5 MB / 1.276 GB Notification: Performance of SimCode: time 3.427e-06/67.46, allocations: 0 / 11.74 GB, free: 106.5 MB / 1.276 GB Notification: Performance of Templates: time 3.739/71.2, allocations: 0.4941 GB / 12.23 GB, free: 139.2 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)