Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 293 MB / 309 MB, free: 4.82 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.001094/0.001094, allocations: 168.6 kB / 378.7 MB, free: 1.055 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.628/1.628, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0008754/0.0008752, allocations: 84.67 kB / 0.7527 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005245, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2765, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/1.812, allocations: 465.5 MB / 1.445 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.812, allocations: 100.8 kB / 1.445 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 39.41/41.22, allocations: 9.458 GB / 10.9 GB, free: 88.05 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.617e-06/41.22, allocations: 2.094 kB / 10.9 GB, free: 88.05 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.00562/41.23, allocations: 0.5069 MB / 10.9 GB, free: 87.95 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.09416/41.32, allocations: 21.23 MB / 10.92 GB, free: 80.21 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/41.32, allocations: 6.594 kB / 10.92 GB, free: 80.21 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/41.34, allocations: 2.31 MB / 10.93 GB, free: 79.19 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08245/41.42, allocations: 23.75 MB / 10.95 GB, free: 75.88 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001454/41.43, allocations: 0.714 MB / 10.95 GB, free: 75.86 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006699/41.43, allocations: 1.016 MB / 10.95 GB, free: 75.84 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05024/41.48, allocations: 16.89 MB / 10.97 GB, free: 73.98 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007844/41.48, allocations: 15.5 kB / 10.97 GB, free: 73.97 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005366/41.49, allocations: 356.7 kB / 10.97 GB, free: 73.97 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003754/41.49, allocations: 222 kB / 10.97 GB, free: 73.97 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0408/41.53, allocations: 19.82 MB / 10.99 GB, free: 73.91 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.1682/41.7, allocations: 79.53 MB / 11.07 GB, free: 39.45 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/41.72, allocations: 11.7 MB / 11.08 GB, free: 38.98 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01699/41.74, allocations: 9.455 MB / 11.09 GB, free: 38.89 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.08457/41.82, allocations: 32.87 MB / 11.12 GB, free: 28.23 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02191/41.84, allocations: 9.224 MB / 11.13 GB, free: 24.94 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04522/41.89, allocations: 15.11 MB / 11.14 GB, free: 23.42 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 5.862e-05/41.89, allocations: 0 / 11.14 GB, free: 23.42 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 2.111/44, allocations: 204.1 MB / 11.34 GB, free: 106.4 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009177/44, allocations: 2.527 MB / 11.34 GB, free: 103.4 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05425/44.06, allocations: 16.51 MB / 11.36 GB, free: 102.6 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.00574/44.06, allocations: 259.3 kB / 11.36 GB, free: 102.5 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01412/44.08, allocations: 7.889 MB / 11.37 GB, free: 101.3 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006547/44.08, allocations: 2.687 MB / 11.37 GB, free: 99.92 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004095/44.09, allocations: 205.2 kB / 11.37 GB, free: 99.92 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001107/44.09, allocations: 0.7422 MB / 11.37 GB, free: 99.59 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0222/44.11, allocations: 10.34 MB / 11.38 GB, free: 99.54 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02666/44.14, allocations: 14.06 MB / 11.4 GB, free: 95.5 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04965/44.19, allocations: 22.98 MB / 11.42 GB, free: 93.14 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/44.19, allocations: 15.31 kB / 11.42 GB, free: 93.14 MB / 1.245 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.564/44.75, allocations: 130.4 MB / 11.55 GB, free: 89.12 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001835/44.75, allocations: 1.793 MB / 11.55 GB, free: 86.87 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000579/44.75, allocations: 119.3 kB / 11.55 GB, free: 86.87 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796/46.55, allocations: 147.4 MB / 11.69 GB, free: 149.7 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01723/46.57, allocations: 2.785 MB / 11.69 GB, free: 149.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1132/46.68, allocations: 52.89 MB / 11.75 GB, free: 143.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02814/46.71, allocations: 1.561 MB / 11.75 GB, free: 143.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007177/46.71, allocations: 0.915 MB / 11.75 GB, free: 143.7 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/46.71, allocations: 2.906 kB / 11.75 GB, free: 143.7 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5725/47.29, allocations: 128.8 MB / 11.87 GB, free: 142.9 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008581/47.29, allocations: 118.5 kB / 11.87 GB, free: 142.9 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5634/47.85, allocations: 147.3 MB / 12.02 GB, free: 112.7 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/47.87, allocations: 2.764 MB / 12.02 GB, free: 110.1 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1111/47.98, allocations: 57.19 MB / 12.08 GB, free: 67.28 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02569/48, allocations: 1.52 MB / 12.08 GB, free: 66 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0061/48.01, allocations: 0.8764 MB / 12.08 GB, free: 65.2 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 (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.02087/48.03, allocations: 4.264 MB / 12.08 GB, free: 62.58 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01002/48.04, allocations: 1.548 MB / 12.08 GB, free: 61.68 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1936/48.23, allocations: 50.9 MB / 12.13 GB, free: 20.59 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002626/48.23, allocations: 91.94 kB / 12.13 GB, free: 20.5 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002639/48.23, allocations: 28.56 kB / 12.13 GB, free: 20.48 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336/49.57, allocations: 44.93 MB / 12.18 GB, free: 130.4 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.2576/49.83, allocations: 68.29 MB / 12.24 GB, free: 126.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001277/49.83, allocations: 1.812 kB / 12.24 GB, free: 126.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01019/49.84, allocations: 1.792 MB / 12.25 GB, free: 126.5 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1702/50.01, allocations: 42.69 MB / 12.29 GB, free: 126.4 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002943/50.01, allocations: 330.9 kB / 12.29 GB, free: 126.4 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04101/50.05, allocations: 23.93 MB / 12.31 GB, free: 120.5 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/50.05, allocations: 3.938 kB / 12.31 GB, free: 120.5 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.193/50.25, allocations: 58.82 MB / 12.37 GB, free: 119.6 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01535/50.26, allocations: 3.589 MB / 12.37 GB, free: 118.6 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008979/50.27, allocations: 266.5 kB / 12.37 GB, free: 118.6 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01885/50.29, allocations: 1.273 MB / 12.37 GB, free: 118.6 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003507/50.29, allocations: 0.5544 MB / 12.37 GB, free: 118.6 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002637/50.29, allocations: 343.5 kB / 12.38 GB, free: 118.6 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03042/50.33, allocations: 11.21 MB / 12.39 GB, free: 118.1 MB / 1.292 GB Notification: Performance of sort global known variables: time 4.51e-07/50.33, allocations: 0 / 12.39 GB, free: 118.1 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06195/50.39, allocations: 8.264 MB / 12.39 GB, free: 118.1 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.01378/50.4, allocations: 5.498 MB / 12.4 GB, free: 116.1 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.09513/50.5, allocations: 43.05 MB / 12.44 GB, free: 112.9 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.129e-05/50.5, allocations: 12.16 kB / 12.44 GB, free: 112.9 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02747/50.52, allocations: 11.3 MB / 12.45 GB, free: 112.6 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05486/50.58, allocations: 7.647 MB / 12.46 GB, free: 112.5 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08768/50.67, allocations: 40.29 MB / 12.5 GB, free: 89.53 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02033/50.69, allocations: 9.031 MB / 12.51 GB, free: 83.96 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03485/50.72, allocations: 5.514 MB / 12.51 GB, free: 80.11 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00898/50.73, allocations: 1.301 MB / 12.51 GB, free: 79.05 MB / 1.292 GB Notification: Performance of SimCode: time 1.032e-06/50.73, allocations: 4 kB / 12.51 GB, free: 79.04 MB / 1.292 GB Notification: Performance of Templates: time 2.669/53.4, allocations: 432.4 MB / 12.94 GB, free: 86.56 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)