Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.668/2.668, allocations: 287.5 MB / 302.5 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 165.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 90.36 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006808/0.0006808, allocations: 15.16 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2206, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.07/2.29, allocations: 464 MB / 1.432 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/2.291, allocations: 103.3 kB / 1.432 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 49.67/51.97, allocations: 8.723 GB / 10.15 GB, free: 82.05 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.977e-06/51.97, allocations: 0 / 10.15 GB, free: 82.05 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005002/51.97, allocations: 0.5126 MB / 10.16 GB, free: 81.94 MB / 1.214 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.1195/52.09, allocations: 21.42 MB / 10.18 GB, free: 74.02 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/52.09, allocations: 9.375 kB / 10.18 GB, free: 74.02 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/52.11, allocations: 2.31 MB / 10.18 GB, free: 72.98 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1111/52.22, allocations: 23.54 MB / 10.2 GB, free: 70.21 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001439/52.22, allocations: 0.7153 MB / 10.2 GB, free: 70.2 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007112/52.23, allocations: 1.022 MB / 10.2 GB, free: 70.18 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05705/52.29, allocations: 16.87 MB / 10.22 GB, free: 68.19 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000673/52.29, allocations: 18.98 kB / 10.22 GB, free: 68.18 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00529/52.29, allocations: 355.2 kB / 10.22 GB, free: 68.18 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002961/52.29, allocations: 210.3 kB / 10.22 GB, free: 68.18 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05716/52.35, allocations: 19.86 MB / 10.24 GB, free: 68.05 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.2047/52.56, allocations: 79.4 MB / 10.32 GB, free: 31.31 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03045/52.59, allocations: 11.94 MB / 10.33 GB, free: 25.83 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.1005/52.69, allocations: 33.01 MB / 10.36 GB, free: 8.242 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02509/52.71, allocations: 9.304 MB / 10.37 GB, free: 3.109 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.338/54.05, allocations: 17.22 MB / 10.39 GB, free: 92.49 MB / 1.214 GB Notification: Performance of pre-optimization done (n=581): time 9.129e-05/54.05, allocations: 0.9062 kB / 10.39 GB, free: 92.49 MB / 1.214 GB Notification: Performance of matching and sorting (n=811): time 1.733/55.78, allocations: 200.4 MB / 10.58 GB, free: 83.38 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007537/55.78, allocations: 2.53 MB / 10.59 GB, free: 80.37 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04618/55.83, allocations: 14.9 MB / 10.6 GB, free: 79.56 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005402/55.84, allocations: 264.2 kB / 10.6 GB, free: 79.53 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0145/55.85, allocations: 7.91 MB / 10.61 GB, free: 78.16 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007134/55.86, allocations: 2.815 MB / 10.61 GB, free: 76.73 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005414/55.86, allocations: 209.1 kB / 10.61 GB, free: 76.73 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001386/55.86, allocations: 0.7524 MB / 10.61 GB, free: 76.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03532/55.9, allocations: 10.37 MB / 10.62 GB, free: 76.34 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03969/55.94, allocations: 14.05 MB / 10.64 GB, free: 72.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03889/55.98, allocations: 11.67 MB / 10.65 GB, free: 71.98 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/55.98, allocations: 14.53 kB / 10.65 GB, free: 71.98 MB / 1.214 GB Notification: Performance of matching and sorting (n=1423) (initialization): time 1.264/57.24, allocations: 130 MB / 10.77 GB, free: 27.67 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.008935/57.25, allocations: 36.69 MB / 10.81 GB, free: 6.066 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006706/57.25, allocations: 120.4 kB / 10.81 GB, free: 5.949 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63/59.88, allocations: 147.1 MB / 10.95 GB, free: 126.6 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02767/59.91, allocations: 2.688 MB / 10.96 GB, free: 126.6 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3326/60.24, allocations: 76.38 MB / 11.03 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04439/60.29, allocations: 1.555 MB / 11.03 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006086/60.29, allocations: 0.9119 MB / 11.03 GB, free: 119.6 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/60.29, allocations: 7.422 kB / 11.03 GB, free: 119.6 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.267/61.56, allocations: 128.7 MB / 11.16 GB, free: 115.3 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006274/61.56, allocations: 114.8 kB / 11.16 GB, free: 115.3 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39/62.95, allocations: 147.4 MB / 11.3 GB, free: 13.57 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02512/62.98, allocations: 2.664 MB / 11.31 GB, free: 11.09 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57/64.55, allocations: 80.7 MB / 11.38 GB, free: 153.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03626/64.58, allocations: 1.523 MB / 11.39 GB, free: 153.8 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005901/64.59, allocations: 0.87 MB / 11.39 GB, free: 153.8 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1061): * Single equations (assignments): 981 * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02086/64.61, allocations: 4.275 MB / 11.39 GB, free: 153.6 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009269/64.62, allocations: 1.562 MB / 11.39 GB, free: 153.6 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.373/64.99, allocations: 50.84 MB / 11.44 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002147/64.99, allocations: 92.72 kB / 11.44 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001886/64.99, allocations: 29.56 kB / 11.44 GB, free: 152.9 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3393/65.33, allocations: 44.8 MB / 11.49 GB, free: 152.2 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4154/65.75, allocations: 69.13 MB / 11.55 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001413/65.75, allocations: 0.8125 kB / 11.55 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01912/65.77, allocations: 1.847 MB / 11.55 GB, free: 148 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3414/66.11, allocations: 42.25 MB / 11.6 GB, free: 147.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003338/66.11, allocations: 344.4 kB / 11.6 GB, free: 147.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1101/66.22, allocations: 31.6 MB / 11.63 GB, free: 140.8 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/66.22, allocations: 3.188 kB / 11.63 GB, free: 140.8 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3727/66.59, allocations: 59.05 MB / 11.68 GB, free: 110.3 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01692/66.61, allocations: 3.655 MB / 11.69 GB, free: 108.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008638/66.62, allocations: 274.6 kB / 11.69 GB, free: 108 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02874/66.65, allocations: 1.347 MB / 11.69 GB, free: 107.3 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00471/66.65, allocations: 0.5878 MB / 11.69 GB, free: 107 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003077/66.66, allocations: 356.5 kB / 11.69 GB, free: 106.8 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03201/66.69, allocations: 11.42 MB / 11.7 GB, free: 100.9 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.042e-06/66.69, allocations: 2.297 kB / 11.7 GB, free: 100.9 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06923/66.76, allocations: 8.808 MB / 11.71 GB, free: 93.2 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 (716): * Single equations (assignments): 692 * 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/66.77, allocations: 5.639 MB / 11.72 GB, free: 88.96 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1557/66.93, allocations: 43.6 MB / 11.76 GB, free: 52.98 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.246e-05/66.93, allocations: 11.52 kB / 11.76 GB, free: 52.98 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.04239/66.97, allocations: 11.5 MB / 11.77 GB, free: 43.16 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06685/67.04, allocations: 7.764 MB / 11.78 GB, free: 37.77 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.477/69.52, allocations: 40.48 MB / 11.82 GB, free: 138.3 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02896/69.54, allocations: 9.404 MB / 11.83 GB, free: 137.2 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.04326/69.59, allocations: 5.522 MB / 11.83 GB, free: 137.1 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01043/69.6, allocations: 1.311 MB / 11.83 GB, free: 137.1 MB / 1.292 GB Notification: Performance of SimCode: time 1.984e-06/69.6, allocations: 0.875 kB / 11.83 GB, free: 137.1 MB / 1.292 GB Notification: Performance of Templates: time 2.443/72.04, allocations: 474.9 MB / 12.3 GB, free: 192.9 MB / 1.339 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)