Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 191.9 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 0.5785 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007971/0.000797, allocations: 88.42 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 11.97 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8142/1.007, allocations: 456.4 MB / 1.347 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.007, allocations: 100 kB / 1.347 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 21.08/22.08, allocations: 6.223 GB / 7.57 GB, free: 82.52 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.465e-06/22.08, allocations: 4 kB / 7.57 GB, free: 82.52 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004077/22.09, allocations: 0.5224 MB / 7.571 GB, free: 82.41 MB / 1.135 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.07547/22.16, allocations: 21.23 MB / 7.591 GB, free: 74.52 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/22.16, allocations: 10.25 kB / 7.591 GB, free: 74.52 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/22.18, allocations: 2.311 MB / 7.594 GB, free: 73.48 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07244/22.25, allocations: 23.8 MB / 7.617 GB, free: 70.09 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001739/22.25, allocations: 0.7251 MB / 7.618 GB, free: 70.07 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007333/22.26, allocations: 1.032 MB / 7.619 GB, free: 70.05 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0442/22.3, allocations: 17 MB / 7.635 GB, free: 68.13 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006608/22.3, allocations: 17.53 kB / 7.635 GB, free: 68.12 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004732/22.31, allocations: 355.1 kB / 7.636 GB, free: 68.12 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/22.31, allocations: 225.6 kB / 7.636 GB, free: 68.12 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04261/22.35, allocations: 19.88 MB / 7.655 GB, free: 68.05 MB / 1.135 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.1478/22.5, allocations: 78.21 MB / 7.732 GB, free: 35.58 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02105/22.52, allocations: 12.51 MB / 7.744 GB, free: 35.08 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01486/22.54, allocations: 9.6 MB / 7.753 GB, free: 34.98 MB / 1.135 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.07667/22.61, allocations: 33.57 MB / 7.786 GB, free: 19.81 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0163/22.63, allocations: 9.473 MB / 7.795 GB, free: 16.46 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04147/22.67, allocations: 15.13 MB / 7.81 GB, free: 14.93 MB / 1.135 GB Notification: Performance of pre-optimization done (n=606): time 4.31e-05/22.67, allocations: 0 / 7.81 GB, free: 14.93 MB / 1.135 GB Notification: Performance of matching and sorting (n=860): time 1.705/24.37, allocations: 221.2 MB / 8.026 GB, free: 98.39 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006634/24.38, allocations: 2.53 MB / 8.028 GB, free: 95.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04173/24.42, allocations: 16.46 MB / 8.045 GB, free: 94.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005067/24.42, allocations: 276.2 kB / 8.045 GB, free: 94.51 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0126/24.44, allocations: 7.864 MB / 8.053 GB, free: 93.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.006433/24.44, allocations: 2.984 MB / 8.055 GB, free: 91.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004324/24.45, allocations: 214.5 kB / 8.056 GB, free: 91.57 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001244/24.45, allocations: 0.7514 MB / 8.056 GB, free: 91.25 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01996/24.47, allocations: 10.4 MB / 8.067 GB, free: 91.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02399/24.49, allocations: 14.19 MB / 8.08 GB, free: 87.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04448/24.54, allocations: 23.04 MB / 8.103 GB, free: 85.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/24.54, allocations: 11.03 kB / 8.103 GB, free: 85.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.54/25.08, allocations: 132.7 MB / 8.232 GB, free: 32.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/25.08, allocations: 1.582 MB / 8.234 GB, free: 30.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004405/25.08, allocations: 107.9 kB / 8.234 GB, free: 30.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395/26.47, allocations: 154.3 MB / 8.385 GB, free: 122.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/26.49, allocations: 2.489 MB / 8.387 GB, free: 122.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1116/26.6, allocations: 57.92 MB / 8.444 GB, free: 115.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02347/26.62, allocations: 1.398 MB / 8.445 GB, free: 115.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005636/26.63, allocations: 0.9211 MB / 8.446 GB, free: 115.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/26.63, allocations: 5.75 kB / 8.446 GB, free: 115.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5365/27.16, allocations: 130.6 MB / 8.574 GB, free: 111.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005141/27.16, allocations: 111.3 kB / 8.574 GB, free: 111.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5551/27.72, allocations: 153.9 MB / 8.724 GB, free: 4.484 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/27.73, allocations: 2.448 MB / 8.726 GB, free: 2.203 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9773/28.71, allocations: 64.65 MB / 8.789 GB, free: 165 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02199/28.73, allocations: 1.381 MB / 8.791 GB, free: 165 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00522/28.74, allocations: 0.8718 MB / 8.792 GB, free: 165 MB / 1.229 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.01638/28.75, allocations: 4.294 MB / 8.796 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007191/28.76, allocations: 1.562 MB / 8.797 GB, free: 164.8 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1961/28.96, allocations: 53.68 MB / 8.85 GB, free: 164 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002122/28.96, allocations: 105.9 kB / 8.85 GB, free: 164 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000275/28.96, allocations: 31.97 kB / 8.85 GB, free: 164 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1722/29.13, allocations: 47.48 MB / 8.896 GB, free: 163 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 postOpt removeSimpleEquations (simulation): time 0.2222/29.35, allocations: 73.17 MB / 8.968 GB, free: 158.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001267/29.35, allocations: 0 / 8.968 GB, free: 158.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008413/29.36, allocations: 1.565 MB / 8.969 GB, free: 158.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1658/29.52, allocations: 46.63 MB / 9.015 GB, free: 157.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003324/29.53, allocations: 352.7 kB / 9.015 GB, free: 157.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04813/29.58, allocations: 29.23 MB / 9.044 GB, free: 139 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/29.58, allocations: 6.031 kB / 9.044 GB, free: 139 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1827/29.76, allocations: 61.84 MB / 9.104 GB, free: 105.6 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01401/29.77, allocations: 3.735 MB / 9.108 GB, free: 103.4 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006886/29.78, allocations: 288.3 kB / 9.108 GB, free: 103.3 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01725/29.8, allocations: 1.191 MB / 9.109 GB, free: 102.7 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003072/29.8, allocations: 0.6094 MB / 9.11 GB, free: 102.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001379/29.8, allocations: 366.4 kB / 9.11 GB, free: 102.1 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02429/29.83, allocations: 11.19 MB / 9.121 GB, free: 95.42 MB / 1.229 GB Notification: Performance of sort global known variables: time 5.81e-07/29.83, allocations: 0.5625 kB / 9.121 GB, free: 95.42 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05059/29.88, allocations: 8.347 MB / 9.129 GB, free: 87.34 MB / 1.229 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.01682/29.89, allocations: 5.515 MB / 9.135 GB, free: 82.95 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.09549/29.99, allocations: 45.11 MB / 9.179 GB, free: 44.57 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.769e-05/29.99, allocations: 11.53 kB / 9.179 GB, free: 44.57 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0283/30.02, allocations: 12.31 MB / 9.191 GB, free: 32.23 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05835/30.08, allocations: 7.84 MB / 9.198 GB, free: 24.74 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.588/31.66, allocations: 41.25 MB / 9.239 GB, free: 146.2 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02437/31.69, allocations: 9.185 MB / 9.248 GB, free: 145 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02974/31.72, allocations: 5.075 MB / 9.253 GB, free: 144.9 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008612/31.73, allocations: 1.261 MB / 9.254 GB, free: 144.9 MB / 1.229 GB Notification: Performance of SimCode: time 1.092e-06/31.73, allocations: 2.719 kB / 9.254 GB, free: 144.9 MB / 1.229 GB Notification: Performance of Templates: time 1.501/33.23, allocations: 461.6 MB / 9.705 GB, free: 181.4 MB / 1.261 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)