Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.834/1.834, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001166/0.001166, allocations: 179.4 kB / 371.8 MB, free: 10.29 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.055/2.055, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001034/0.001035, allocations: 94.91 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 11.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.81/2.051, allocations: 464.4 MB / 1.433 GB, free: 273.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/2.051, allocations: 100.2 kB / 1.433 GB, free: 273.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 42.89/44.94, allocations: 9.512 GB / 10.94 GB, free: 91.64 MB / 1.229 GB Notification: Performance of FrontEnd: time 2.544e-06/44.94, allocations: 2.25 kB / 10.94 GB, free: 91.64 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.005381/44.95, allocations: 0.5105 MB / 10.95 GB, free: 91.54 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.09406/45.04, allocations: 21.41 MB / 10.97 GB, free: 83.8 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/45.04, allocations: 11.88 kB / 10.97 GB, free: 83.8 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02232/45.06, allocations: 2.304 MB / 10.97 GB, free: 82.79 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09012/45.15, allocations: 23.53 MB / 10.99 GB, free: 80.17 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00147/45.15, allocations: 0.7166 MB / 10.99 GB, free: 80.15 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007267/45.16, allocations: 1.012 MB / 10.99 GB, free: 80.13 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05554/45.22, allocations: 16.83 MB / 11.01 GB, free: 78.27 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007438/45.22, allocations: 17.06 kB / 11.01 GB, free: 78.27 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00626/45.22, allocations: 363.9 kB / 11.01 GB, free: 78.27 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003168/45.22, allocations: 215.7 kB / 11.01 GB, free: 78.27 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04864/45.27, allocations: 19.82 MB / 11.03 GB, free: 78.19 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.1707/45.44, allocations: 79.73 MB / 11.11 GB, free: 43.7 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/45.46, allocations: 11.69 MB / 11.12 GB, free: 43.25 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.08584/45.55, allocations: 32.68 MB / 11.15 GB, free: 34.61 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02025/45.57, allocations: 9.196 MB / 11.16 GB, free: 33.66 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04835/45.62, allocations: 14.89 MB / 11.17 GB, free: 32.14 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 6.605e-05/45.62, allocations: 2.062 kB / 11.17 GB, free: 32.14 MB / 1.229 GB Notification: Performance of matching and sorting (n=775): time 2.099/47.72, allocations: 203.1 MB / 11.37 GB, free: 110.5 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006574/47.72, allocations: 2.522 MB / 11.38 GB, free: 107.5 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04842/47.77, allocations: 14.92 MB / 11.39 GB, free: 106.7 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005417/47.77, allocations: 255.9 kB / 11.39 GB, free: 106.7 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01363/47.78, allocations: 7.888 MB / 11.4 GB, free: 105.4 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006977/47.79, allocations: 2.694 MB / 11.4 GB, free: 104 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004313/47.8, allocations: 206.3 kB / 11.4 GB, free: 104 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001095/47.8, allocations: 0.7438 MB / 11.4 GB, free: 103.7 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02538/47.82, allocations: 10.24 MB / 11.41 GB, free: 103.6 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0283/47.85, allocations: 13.91 MB / 11.42 GB, free: 99.6 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02821/47.88, allocations: 11.54 MB / 11.44 GB, free: 99.27 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002164/47.88, allocations: 18.62 kB / 11.44 GB, free: 99.27 MB / 1.245 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.5865/48.47, allocations: 129.4 MB / 11.56 GB, free: 95.28 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.009551/48.48, allocations: 38.28 MB / 11.6 GB, free: 56.21 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006558/48.48, allocations: 121.2 kB / 11.6 GB, free: 56.21 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921/50.4, allocations: 146.4 MB / 11.74 GB, free: 153.4 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0182/50.42, allocations: 2.678 MB / 11.75 GB, free: 153.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1559/50.57, allocations: 74.39 MB / 11.82 GB, free: 147.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02882/50.6, allocations: 1.554 MB / 11.82 GB, free: 147.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006475/50.61, allocations: 0.9103 MB / 11.82 GB, free: 147.5 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/50.61, allocations: 6 kB / 11.82 GB, free: 147.5 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5833/51.19, allocations: 128.1 MB / 11.95 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007886/51.19, allocations: 115.9 kB / 11.95 GB, free: 146.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5815/51.77, allocations: 146.7 MB / 12.09 GB, free: 102 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/51.79, allocations: 2.676 MB / 12.09 GB, free: 99.49 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/51.94, allocations: 79.17 MB / 12.17 GB, free: 41.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02756/51.97, allocations: 1.524 MB / 12.17 GB, free: 40.02 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006149/51.98, allocations: 0.8691 MB / 12.17 GB, free: 39.24 MB / 1.292 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 (1067): * Single equations (assignments): 989 * 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 {6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.02202/52, allocations: 4.263 MB / 12.18 GB, free: 36.61 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01068/52.01, allocations: 1.545 MB / 12.18 GB, free: 35.58 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448/53.46, allocations: 50.03 MB / 12.23 GB, free: 143.2 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002575/53.46, allocations: 87.7 kB / 12.23 GB, free: 143.2 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003452/53.46, allocations: 29.88 kB / 12.23 GB, free: 143.2 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1878/53.64, allocations: 44.09 MB / 12.27 GB, free: 142.5 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2535/53.9, allocations: 67.2 MB / 12.33 GB, free: 138.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001148/53.9, allocations: 0 / 12.33 GB, free: 138.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01072/53.91, allocations: 1.799 MB / 12.34 GB, free: 138.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1774/54.09, allocations: 41.78 MB / 12.38 GB, free: 138.5 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00357/54.09, allocations: 334.9 kB / 12.38 GB, free: 138.5 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06376/54.15, allocations: 29.62 MB / 12.41 GB, free: 132.5 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/54.15, allocations: 2.656 kB / 12.41 GB, free: 132.5 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2172/54.37, allocations: 58.08 MB / 12.46 GB, free: 131.2 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01923/54.39, allocations: 3.6 MB / 12.47 GB, free: 130.2 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01029/54.4, allocations: 269.1 kB / 12.47 GB, free: 130.2 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02098/54.42, allocations: 1.277 MB / 12.47 GB, free: 130.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004383/54.43, allocations: 0.5619 MB / 12.47 GB, free: 130.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003151/54.43, allocations: 348.8 kB / 12.47 GB, free: 130.2 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03075/54.46, allocations: 11.42 MB / 12.48 GB, free: 129.7 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.91e-07/54.46, allocations: 0 / 12.48 GB, free: 129.7 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06983/54.53, allocations: 8.775 MB / 12.49 GB, free: 129.7 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 (702): * Single equations (assignments): 680 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 {6 81,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.01449/54.54, allocations: 5.631 MB / 12.49 GB, free: 127.7 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1035/54.65, allocations: 42.87 MB / 12.54 GB, free: 110.1 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/54.65, allocations: 10.31 kB / 12.54 GB, free: 110.1 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.0268/54.68, allocations: 11.17 MB / 12.55 GB, free: 104.5 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04378/54.72, allocations: 7.618 MB / 12.55 GB, free: 100.6 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08958/54.81, allocations: 40.11 MB / 12.59 GB, free: 69.66 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0212/54.83, allocations: 9.358 MB / 12.6 GB, free: 63.97 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03509/54.87, allocations: 5.528 MB / 12.61 GB, free: 60.11 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01142/54.88, allocations: 1.312 MB / 12.61 GB, free: 59.05 MB / 1.292 GB Notification: Performance of SimCode: time 2.184e-06/54.88, allocations: 0 / 12.61 GB, free: 59.05 MB / 1.292 GB Notification: Performance of Templates: time 2.76/57.64, allocations: 467 MB / 13.07 GB, free: 19.93 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)