Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.644/2.644, allocations: 287.5 MB / 303.2 MB, free: 8.152 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.001411/0.001411, allocations: 178.6 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6305 GB, free: 10.61 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.0009633/0.0009629, allocations: 102.5 kB / 0.7438 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004846, allocations: 11.44 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.97/2.193, allocations: 464.3 MB / 1.433 GB, free: 336.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004442/2.193, allocations: 103.2 kB / 1.433 GB, free: 336.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 52.74/54.93, allocations: 9.458 GB / 10.89 GB, free: 104.9 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.825e-06/54.93, allocations: 4.375 kB / 10.89 GB, free: 104.9 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004708/54.94, allocations: 0.5094 MB / 10.89 GB, free: 104.8 MB / 1.229 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.1127/55.05, allocations: 21.24 MB / 10.91 GB, free: 97.21 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/55.05, allocations: 8.562 kB / 10.91 GB, free: 97.21 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/55.07, allocations: 2.31 MB / 10.91 GB, free: 96.2 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1055/55.18, allocations: 23.75 MB / 10.94 GB, free: 92.93 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001357/55.18, allocations: 0.7157 MB / 10.94 GB, free: 92.91 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006457/55.18, allocations: 1.016 MB / 10.94 GB, free: 92.89 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05455/55.24, allocations: 16.9 MB / 10.96 GB, free: 91.04 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006337/55.24, allocations: 12.22 kB / 10.96 GB, free: 91.03 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004957/55.24, allocations: 359.1 kB / 10.96 GB, free: 91.03 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000316/55.24, allocations: 218 kB / 10.96 GB, free: 91.03 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05428/55.3, allocations: 19.82 MB / 10.98 GB, free: 90.97 MB / 1.229 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.2065/55.51, allocations: 79.53 MB / 11.05 GB, free: 56.79 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02957/55.54, allocations: 11.7 MB / 11.06 GB, free: 56.35 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02299/55.56, allocations: 9.46 MB / 11.07 GB, free: 56.26 MB / 1.229 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.1097/55.67, allocations: 32.87 MB / 11.11 GB, free: 47.51 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02498/55.69, allocations: 9.223 MB / 11.12 GB, free: 47.34 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1036/55.8, allocations: 15.11 MB / 11.13 GB, free: 46.48 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 7.434e-05/55.8, allocations: 0 / 11.13 GB, free: 46.48 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 3.033/58.83, allocations: 202.6 MB / 11.33 GB, free: 101.3 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007729/58.83, allocations: 2.523 MB / 11.33 GB, free: 98.27 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05158/58.88, allocations: 16.51 MB / 11.35 GB, free: 97.46 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004929/58.89, allocations: 259.5 kB / 11.35 GB, free: 97.43 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01401/58.9, allocations: 7.886 MB / 11.35 GB, free: 97.09 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006678/58.91, allocations: 2.685 MB / 11.36 GB, free: 97.09 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004596/58.91, allocations: 206.7 kB / 11.36 GB, free: 97.09 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001201/58.91, allocations: 0.7382 MB / 11.36 GB, free: 96.77 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0341/58.95, allocations: 10.35 MB / 11.37 GB, free: 96.74 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03885/58.99, allocations: 14.06 MB / 11.38 GB, free: 92.83 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07377/59.06, allocations: 22.98 MB / 11.4 GB, free: 90.65 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/59.06, allocations: 14.38 kB / 11.4 GB, free: 90.65 MB / 1.229 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.286/60.35, allocations: 130.4 MB / 11.53 GB, free: 87.74 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001377/60.35, allocations: 1.788 MB / 11.53 GB, free: 85.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005727/60.35, allocations: 120.6 kB / 11.53 GB, free: 85.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368/61.72, allocations: 147.4 MB / 11.68 GB, free: 1.434 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02812/61.75, allocations: 2.794 MB / 11.68 GB, free: 14.83 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2009/61.95, allocations: 52.89 MB / 11.73 GB, free: 5.945 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273/63.22, allocations: 1.555 MB / 11.73 GB, free: 144.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006451/63.23, allocations: 0.9162 MB / 11.73 GB, free: 144.3 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/63.23, allocations: 4.578 kB / 11.73 GB, free: 144.3 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.258/64.48, allocations: 128.8 MB / 11.86 GB, free: 143.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006321/64.48, allocations: 120.1 kB / 11.86 GB, free: 143.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33/65.81, allocations: 147.3 MB / 12 GB, free: 138.4 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02462/65.84, allocations: 2.77 MB / 12.01 GB, free: 137.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2073/66.05, allocations: 57.19 MB / 12.06 GB, free: 107.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03522/66.08, allocations: 1.531 MB / 12.06 GB, free: 106.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005785/66.09, allocations: 0.8681 MB / 12.06 GB, free: 105.8 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01997/66.11, allocations: 4.262 MB / 12.07 GB, free: 103.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008703/66.12, allocations: 1.543 MB / 12.07 GB, free: 102.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3689/66.49, allocations: 50.91 MB / 12.12 GB, free: 61.42 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002119/66.49, allocations: 94.44 kB / 12.12 GB, free: 61.33 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002202/66.49, allocations: 28 kB / 12.12 GB, free: 61.3 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3379/66.82, allocations: 44.93 MB / 12.16 GB, free: 24.24 MB / 1.276 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 1.655/68.48, allocations: 68.29 MB / 12.23 GB, free: 137.9 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001268/68.48, allocations: 1.562 kB / 12.23 GB, free: 137.9 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01855/68.5, allocations: 1.798 MB / 12.23 GB, free: 137.9 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3495/68.85, allocations: 42.68 MB / 12.27 GB, free: 137.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003282/68.85, allocations: 333 kB / 12.27 GB, free: 137.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07679/68.93, allocations: 23.93 MB / 12.3 GB, free: 132 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/68.93, allocations: 0.5625 kB / 12.3 GB, free: 132 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3796/69.31, allocations: 58.81 MB / 12.36 GB, free: 131.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01604/69.32, allocations: 3.583 MB / 12.36 GB, free: 131.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008349/69.33, allocations: 269.7 kB / 12.36 GB, free: 131.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02815/69.36, allocations: 1.277 MB / 12.36 GB, free: 131.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003617/69.36, allocations: 0.549 MB / 12.36 GB, free: 131.1 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003039/69.37, allocations: 350 kB / 12.36 GB, free: 131.1 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03266/69.4, allocations: 11.21 MB / 12.37 GB, free: 130.6 MB / 1.292 GB Notification: Performance of sort global known variables: time 8.42e-07/69.4, allocations: 3.344 kB / 12.37 GB, free: 130.6 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.07646/69.48, allocations: 8.263 MB / 12.38 GB, free: 130.6 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 (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {1 1,7 83,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01479/69.49, allocations: 5.492 MB / 12.39 GB, free: 128.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1529/69.64, allocations: 43.05 MB / 12.43 GB, free: 125.6 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.087e-05/69.64, allocations: 12.34 kB / 12.43 GB, free: 125.6 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04064/69.69, allocations: 11.3 MB / 12.44 GB, free: 125.2 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08788/69.77, allocations: 7.645 MB / 12.45 GB, free: 125.2 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/69.88, allocations: 40.29 MB / 12.49 GB, free: 111.2 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02256/69.91, allocations: 9.034 MB / 12.49 GB, free: 110.1 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04268/69.95, allocations: 5.513 MB / 12.5 GB, free: 109.4 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009801/69.96, allocations: 1.303 MB / 12.5 GB, free: 109.4 MB / 1.292 GB Notification: Performance of SimCode: time 1.292e-06/69.96, allocations: 0 / 12.5 GB, free: 109.4 MB / 1.292 GB Notification: Performance of Templates: time 2.302/72.26, allocations: 427.8 MB / 12.92 GB, free: 139.8 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)