Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.4 MB / 298 MB, free: 6.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 176.8 kB / 366.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000965/0.0009649, allocations: 78.86 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.567e-05, allocations: 3.984 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.7557, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.95, allocations: 463.8 MB / 1.424 GB, free: 92.39 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.95, allocations: 92.52 kB / 1.424 GB, free: 92.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 28.28/30.23, allocations: 6.415 GB / 7.839 GB, free: 73.48 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.745e-06/30.23, allocations: 0 / 7.839 GB, free: 73.48 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005205/30.24, allocations: 0.5283 MB / 7.84 GB, free: 73.36 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.06501/30.3, allocations: 14.17 MB / 7.854 GB, free: 67.27 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/30.3, allocations: 11.75 kB / 7.854 GB, free: 67.27 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/30.32, allocations: 2.315 MB / 7.856 GB, free: 66.23 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09419/30.42, allocations: 23.32 MB / 7.879 GB, free: 63.53 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001666/30.42, allocations: 0.7227 MB / 7.879 GB, free: 63.51 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007471/30.43, allocations: 1.031 MB / 7.88 GB, free: 63.49 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05104/30.48, allocations: 16.76 MB / 7.897 GB, free: 61.57 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007832/30.48, allocations: 13.66 kB / 7.897 GB, free: 61.56 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006258/30.49, allocations: 368.4 kB / 7.897 GB, free: 61.56 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005133/30.49, allocations: 216.2 kB / 7.897 GB, free: 61.56 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.044/30.53, allocations: 19.55 MB / 7.917 GB, free: 61.44 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.1785/30.71, allocations: 78.51 MB / 7.993 GB, free: 28.63 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02407/30.73, allocations: 12.3 MB / 8.005 GB, free: 22.93 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01473/30.75, allocations: 9.473 MB / 8.014 GB, free: 18.68 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.09186/30.84, allocations: 34.01 MB / 8.048 GB, free: 15.99 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02138/30.86, allocations: 9.367 MB / 8.057 GB, free: 8.77 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05996/30.92, allocations: 15.89 MB / 8.072 GB, free: 15.68 MB / 1.229 GB Notification: Performance of pre-optimization done (n=606): time 7.058e-05/30.92, allocations: 4 kB / 8.072 GB, free: 15.67 MB / 1.229 GB Notification: Performance of matching and sorting (n=860): time 1.983/32.9, allocations: 173.8 MB / 8.242 GB, free: 105.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006922/32.9, allocations: 2.543 MB / 8.245 GB, free: 102.2 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03738/32.94, allocations: 14.7 MB / 8.259 GB, free: 101.4 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005384/32.95, allocations: 279.7 kB / 8.259 GB, free: 101.3 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01191/32.96, allocations: 7.883 MB / 8.267 GB, free: 99.92 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006666/32.97, allocations: 2.985 MB / 8.27 GB, free: 98.4 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004256/32.97, allocations: 221.1 kB / 8.27 GB, free: 98.4 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001217/32.97, allocations: 0.7552 MB / 8.271 GB, free: 98.08 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02049/32.99, allocations: 9.705 MB / 8.28 GB, free: 98.05 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02452/33.02, allocations: 13.44 MB / 8.293 GB, free: 94.05 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02416/33.04, allocations: 11.08 MB / 8.304 GB, free: 93.7 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/33.04, allocations: 13.03 kB / 8.304 GB, free: 93.7 MB / 1.229 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.5999/33.64, allocations: 129.7 MB / 8.431 GB, free: 88.67 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.007004/33.65, allocations: 32.96 MB / 8.463 GB, free: 54.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005118/33.65, allocations: 113.3 kB / 8.463 GB, free: 54.11 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846/35.49, allocations: 151.8 MB / 8.611 GB, free: 135.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/35.51, allocations: 2.507 MB / 8.614 GB, free: 135.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1528/35.66, allocations: 75.9 MB / 8.688 GB, free: 128.2 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02635/35.69, allocations: 1.509 MB / 8.689 GB, free: 128.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006044/35.69, allocations: 0.917 MB / 8.69 GB, free: 128.1 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/35.69, allocations: 6.312 kB / 8.69 GB, free: 128.1 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5992/36.29, allocations: 128.3 MB / 8.816 GB, free: 126.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00055/36.29, allocations: 110.9 kB / 8.816 GB, free: 126.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6067/36.9, allocations: 152.7 MB / 8.965 GB, free: 25.51 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/36.91, allocations: 2.48 MB / 8.967 GB, free: 23.19 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207/38.12, allocations: 82.51 MB / 9.048 GB, free: 145 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02465/38.15, allocations: 1.499 MB / 9.049 GB, free: 145 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005333/38.15, allocations: 0.8633 MB / 9.05 GB, free: 145 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.007974/38.16, allocations: 0.718 MB / 9.051 GB, free: 144.9 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008155/38.17, allocations: 1.562 MB / 9.052 GB, free: 144.9 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2055/38.37, allocations: 50.98 MB / 9.102 GB, free: 144.1 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001818/38.37, allocations: 100.8 kB / 9.102 GB, free: 144.1 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001344/38.37, allocations: 30.84 kB / 9.102 GB, free: 144.1 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1729/38.55, allocations: 44.82 MB / 9.146 GB, free: 143.2 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2409/38.79, allocations: 70.19 MB / 9.215 GB, free: 138.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-05/38.79, allocations: 0 / 9.215 GB, free: 138.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009447/38.8, allocations: 1.696 MB / 9.216 GB, free: 138.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1824/38.98, allocations: 44.73 MB / 9.26 GB, free: 138.5 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003062/38.98, allocations: 354.8 kB / 9.26 GB, free: 138.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06325/39.04, allocations: 33.11 MB / 9.293 GB, free: 131.3 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/39.04, allocations: 4.125 kB / 9.293 GB, free: 131.3 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1918/39.24, allocations: 58.7 MB / 9.35 GB, free: 112.8 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01387/39.25, allocations: 3.743 MB / 9.354 GB, free: 110.5 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007209/39.26, allocations: 280.4 kB / 9.354 GB, free: 110.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01892/39.28, allocations: 1.307 MB / 9.355 GB, free: 109.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003574/39.28, allocations: 0.6013 MB / 9.356 GB, free: 109.4 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001811/39.28, allocations: 368.1 kB / 9.356 GB, free: 109.2 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02379/39.31, allocations: 11.24 MB / 9.367 GB, free: 102.8 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.082e-06/39.31, allocations: 0 / 9.367 GB, free: 102.8 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.05342/39.36, allocations: 8.81 MB / 9.376 GB, free: 95.17 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.01139/39.37, allocations: 5.634 MB / 9.381 GB, free: 90.88 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.0905/39.46, allocations: 43.47 MB / 9.424 GB, free: 63.25 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.232e-05/39.46, allocations: 15.06 kB / 9.424 GB, free: 63.23 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.0245/39.49, allocations: 11.46 MB / 9.435 GB, free: 52.98 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04521/39.53, allocations: 7.788 MB / 9.442 GB, free: 47.69 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07027/39.6, allocations: 29.69 MB / 9.471 GB, free: 21.65 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02053/39.62, allocations: 9.506 MB / 9.481 GB, free: 15.03 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 2.239/41.86, allocations: 8.708 MB / 9.489 GB, free: 118.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006407/41.87, allocations: 0.9334 MB / 9.49 GB, free: 118.6 MB / 1.276 GB Notification: Performance of SimCode: time 1.533e-06/41.87, allocations: 0 / 9.49 GB, free: 118.6 MB / 1.276 GB Notification: Performance of Templates: time 1.877/43.74, allocations: 0.5143 GB / 10 GB, free: 199.3 MB / 1.354 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)