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.651/1.651, allocations: 288.4 MB / 304.3 MB, free: 8.176 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.0009733/0.0009734, allocations: 176.5 kB / 372.9 MB, free: 10.13 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.664/1.664, allocations: 205.4 MB / 0.6317 GB, free: 9.785 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007598/0.0007597, allocations: 95.67 kB / 0.7451 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.000396, allocations: 12.44 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/1.938, allocations: 464.1 MB / 1.434 GB, free: 336.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.938, allocations: 97.72 kB / 1.434 GB, free: 336.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 23.82/25.75, allocations: 6.397 GB / 7.831 GB, free: 3.559 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.347e-06/25.75, allocations: 0 / 7.831 GB, free: 3.559 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003964/25.76, allocations: 0.5265 MB / 7.832 GB, free: 3.031 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 1.891/27.65, allocations: 21.24 MB / 7.853 GB, free: 71.21 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/27.65, allocations: 8.656 kB / 7.853 GB, free: 71.21 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/27.67, allocations: 2.318 MB / 7.855 GB, free: 70.52 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08109/27.75, allocations: 23.83 MB / 7.878 GB, free: 68.1 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/27.75, allocations: 0.7275 MB / 7.879 GB, free: 68.08 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005808/27.75, allocations: 1.029 MB / 7.88 GB, free: 68.07 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05127/27.81, allocations: 17.07 MB / 7.897 GB, free: 66.22 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006804/27.81, allocations: 18.41 kB / 7.897 GB, free: 66.21 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005157/27.81, allocations: 363.8 kB / 7.897 GB, free: 66.21 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000386/27.81, allocations: 215.8 kB / 7.897 GB, free: 66.21 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04044/27.85, allocations: 19.94 MB / 7.917 GB, free: 66.15 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.151/28, allocations: 78.36 MB / 7.993 GB, free: 34.34 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/28.02, allocations: 12.56 MB / 8.006 GB, free: 33.88 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01427/28.04, allocations: 9.639 MB / 8.015 GB, free: 33.78 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.07725/28.11, allocations: 33.68 MB / 8.048 GB, free: 25.14 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01899/28.13, allocations: 9.548 MB / 8.057 GB, free: 24.96 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04577/28.18, allocations: 15.13 MB / 8.072 GB, free: 24.66 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 5.858e-05/28.18, allocations: 0 / 8.072 GB, free: 24.66 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 0.946/29.12, allocations: 224.3 MB / 8.291 GB, free: 5.848 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001134/29.13, allocations: 2.533 MB / 8.293 GB, free: 2.73 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0403/29.17, allocations: 16.45 MB / 8.31 GB, free: 2.398 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005336/29.17, allocations: 275.6 kB / 8.31 GB, free: 2.129 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01343/29.19, allocations: 7.874 MB / 8.317 GB, free: 10.25 MB / 1.261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006944/29.19, allocations: 2.98 MB / 8.32 GB, free: 7.293 MB / 1.261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003791/29.2, allocations: 214.6 kB / 8.321 GB, free: 7.09 MB / 1.261 GB Notification: Performance of setup shared object (initialization): time 0.001043/29.2, allocations: 0.7575 MB / 8.321 GB, free: 6.328 MB / 1.261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128/31.33, allocations: 10.69 MB / 8.332 GB, free: 111.5 MB / 1.261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0351/31.36, allocations: 14.48 MB / 8.346 GB, free: 107.6 MB / 1.261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05985/31.42, allocations: 23.56 MB / 8.369 GB, free: 105.6 MB / 1.261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001846/31.42, allocations: 13.22 kB / 8.369 GB, free: 105.6 MB / 1.261 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.6428/32.06, allocations: 133.2 MB / 8.499 GB, free: 104.9 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001749/32.07, allocations: 1.584 MB / 8.501 GB, free: 102.9 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005601/32.07, allocations: 105.1 kB / 8.501 GB, free: 102.9 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.647/32.71, allocations: 154.3 MB / 8.651 GB, free: 98.93 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01459/32.73, allocations: 2.609 MB / 8.654 GB, free: 98.34 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1073/32.84, allocations: 57.91 MB / 8.71 GB, free: 54.43 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02856/32.86, allocations: 1.513 MB / 8.712 GB, free: 53.18 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007022/32.87, allocations: 0.923 MB / 8.713 GB, free: 52.35 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/32.87, allocations: 9.969 kB / 8.713 GB, free: 52.34 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.91/34.78, allocations: 131.1 MB / 8.841 GB, free: 122.8 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006576/34.78, allocations: 116.5 kB / 8.841 GB, free: 122.8 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6559/35.44, allocations: 153.9 MB / 8.991 GB, free: 122.2 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/35.45, allocations: 2.562 MB / 8.994 GB, free: 122.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1307/35.58, allocations: 64.64 MB / 9.057 GB, free: 117.9 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0286/35.61, allocations: 1.494 MB / 9.058 GB, free: 117.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007102/35.62, allocations: 0.8754 MB / 9.059 GB, free: 117.8 MB / 1.292 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.02193/35.64, allocations: 4.299 MB / 9.063 GB, free: 117.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01114/35.65, allocations: 1.562 MB / 9.065 GB, free: 117.6 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2372/35.89, allocations: 54.26 MB / 9.118 GB, free: 116.2 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002706/35.89, allocations: 101.2 kB / 9.118 GB, free: 116.2 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002885/35.89, allocations: 34.25 kB / 9.118 GB, free: 116.2 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2022/36.09, allocations: 48.04 MB / 9.165 GB, free: 89.27 MB / 1.292 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.2607/36.35, allocations: 73.86 MB / 9.237 GB, free: 32.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001235/36.35, allocations: 3.938 kB / 9.237 GB, free: 32.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009457/36.36, allocations: 1.676 MB / 9.239 GB, free: 30.93 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.631/37.99, allocations: 46.62 MB / 9.284 GB, free: 121.6 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003509/38, allocations: 354.4 kB / 9.285 GB, free: 121.6 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05249/38.05, allocations: 29.24 MB / 9.313 GB, free: 114.5 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/38.05, allocations: 3.688 kB / 9.313 GB, free: 114.5 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2269/38.27, allocations: 62.73 MB / 9.374 GB, free: 113.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02013/38.3, allocations: 3.76 MB / 9.378 GB, free: 113.3 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01057/38.31, allocations: 297.4 kB / 9.378 GB, free: 113.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02579/38.33, allocations: 1.309 MB / 9.38 GB, free: 113.3 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004287/38.34, allocations: 0.6054 MB / 9.38 GB, free: 113.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001801/38.34, allocations: 377.3 kB / 9.381 GB, free: 113.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02899/38.37, allocations: 11.19 MB / 9.392 GB, free: 112.9 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.232e-06/38.37, allocations: 1.188 kB / 9.392 GB, free: 112.9 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05689/38.42, allocations: 8.371 MB / 9.4 GB, free: 112.9 MB / 1.292 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.01517/38.44, allocations: 5.505 MB / 9.405 GB, free: 110.9 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1181/38.56, allocations: 46 MB / 9.45 GB, free: 107.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.198e-05/38.56, allocations: 9.969 kB / 9.45 GB, free: 107.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.03247/38.59, allocations: 12.62 MB / 9.462 GB, free: 107.1 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06491/38.65, allocations: 7.842 MB / 9.47 GB, free: 107 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0968/38.75, allocations: 41.56 MB / 9.511 GB, free: 92.79 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02587/38.78, allocations: 9.181 MB / 9.52 GB, free: 91.65 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.0337/38.81, allocations: 5.111 MB / 9.525 GB, free: 91.5 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009134/38.82, allocations: 1.265 MB / 9.526 GB, free: 91.5 MB / 1.292 GB Notification: Performance of SimCode: time 9.82e-07/38.82, allocations: 0 / 9.526 GB, free: 91.5 MB / 1.292 GB Notification: Performance of Templates: time 1.795/40.62, allocations: 462.9 MB / 9.978 GB, free: 126.7 MB / 1.292 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)