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.477/2.477, allocations: 285 MB / 292.5 MB, free: 10.54 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.001433/0.001434, allocations: 188.8 kB / 360.7 MB, free: 7.234 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 1.953/1.953, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 95.72 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.426e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8022, allocations: 115.2 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/2.143, allocations: 463.3 MB / 1.416 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/2.143, allocations: 92.23 kB / 1.416 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 49.93/52.08, allocations: 8.659 GB / 10.07 GB, free: 91.85 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.615e-06/52.08, allocations: 0 / 10.07 GB, free: 91.85 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.005978/52.08, allocations: 0.5151 MB / 10.08 GB, free: 91.74 MB / 1.198 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.08458/52.17, allocations: 14.15 MB / 10.09 GB, free: 85.94 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/52.17, allocations: 9.094 kB / 10.09 GB, free: 85.94 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/52.19, allocations: 2.306 MB / 10.09 GB, free: 84.93 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.116/52.31, allocations: 23.25 MB / 10.11 GB, free: 82.35 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008876/52.31, allocations: 261 kB / 10.11 GB, free: 82.35 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007836/52.32, allocations: 0.585 MB / 10.11 GB, free: 82.34 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05233/52.37, allocations: 19.71 MB / 10.13 GB, free: 82.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05578/52.42, allocations: 15.42 MB / 10.15 GB, free: 80.48 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007515/52.43, allocations: 23.31 kB / 10.15 GB, free: 80.48 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00567/52.43, allocations: 16.97 kB / 10.15 GB, free: 80.48 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003463/52.43, allocations: 214.1 kB / 10.15 GB, free: 80.48 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.2153/52.65, allocations: 78 MB / 10.23 GB, free: 46.89 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02894/52.68, allocations: 12.4 MB / 10.24 GB, free: 46.47 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02061/52.7, allocations: 9.274 MB / 10.25 GB, free: 46.41 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.1164/52.81, allocations: 33.01 MB / 10.28 GB, free: 37.53 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02343/52.84, allocations: 8.969 MB / 10.29 GB, free: 37.36 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08175/52.92, allocations: 14.96 MB / 10.3 GB, free: 36.72 MB / 1.198 GB Notification: Performance of pre-optimization done (n=582): time 6.051e-05/52.92, allocations: 0 / 10.3 GB, free: 36.72 MB / 1.198 GB Notification: Performance of matching and sorting (n=584): time 1.342/54.26, allocations: 138.9 MB / 10.44 GB, free: 19.44 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006606/54.26, allocations: 2.506 MB / 10.44 GB, free: 16.36 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03963/54.3, allocations: 13.86 MB / 10.45 GB, free: 7.41 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00454/54.31, allocations: 49.36 kB / 10.45 GB, free: 7.359 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.01349/54.32, allocations: 7.911 MB / 10.46 GB, free: 92 kB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00639/54.33, allocations: 1.989 MB / 10.46 GB, free: 14.25 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004013/54.33, allocations: 0 / 10.46 GB, free: 14.25 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001225/54.33, allocations: 0.6806 MB / 10.46 GB, free: 13.67 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02344/54.35, allocations: 8.396 MB / 10.47 GB, free: 6.363 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203/55.56, allocations: 12.21 MB / 10.48 GB, free: 103.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03179/55.59, allocations: 9.858 MB / 10.49 GB, free: 103.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/55.59, allocations: 16.22 kB / 10.49 GB, free: 103.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=1196) (initialization): time 1.379/56.97, allocations: 124.3 MB / 10.62 GB, free: 102.2 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.007909/56.98, allocations: 36.55 MB / 10.65 GB, free: 64.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007206/56.98, allocations: 112.9 kB / 10.65 GB, free: 64.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438/58.42, allocations: 143.4 MB / 10.79 GB, free: 60.15 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02192/58.44, allocations: 2.128 MB / 10.79 GB, free: 59.72 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2543/58.69, allocations: 67.26 MB / 10.86 GB, free: 20.48 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03178/58.72, allocations: 0.9545 MB / 10.86 GB, free: 19.6 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005479/58.73, allocations: 0.8404 MB / 10.86 GB, free: 18.83 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/58.73, allocations: 4.781 kB / 10.86 GB, free: 18.83 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.468/61.2, allocations: 121.6 MB / 10.98 GB, free: 148 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006498/61.2, allocations: 117.4 kB / 10.98 GB, free: 148 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326/62.52, allocations: 143.4 MB / 11.12 GB, free: 147.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01857/62.54, allocations: 2.102 MB / 11.12 GB, free: 147.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3017/62.84, allocations: 69.39 MB / 11.19 GB, free: 144.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03086/62.87, allocations: 0.9288 MB / 11.19 GB, free: 144 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005431/62.88, allocations: 0.7942 MB / 11.19 GB, free: 144 MB / 1.276 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (937): * Single equations (assignments): 859 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * 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: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.008275/62.89, allocations: 352.6 kB / 11.19 GB, free: 143.9 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008655/62.9, allocations: 1.471 MB / 11.19 GB, free: 143.9 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3316/63.23, allocations: 43.61 MB / 11.24 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001589/63.23, allocations: 69.42 kB / 11.24 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.487e-05/63.23, allocations: 29.91 kB / 11.24 GB, free: 142.9 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3417/63.57, allocations: 38.45 MB / 11.27 GB, free: 137.4 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3662/63.94, allocations: 58.18 MB / 11.33 GB, free: 91.73 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.363e-05/63.94, allocations: 0 / 11.33 GB, free: 91.73 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01275/63.95, allocations: 1.135 MB / 11.33 GB, free: 90.68 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3344/64.28, allocations: 40.75 MB / 11.37 GB, free: 50.85 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002588/64.29, allocations: 153.4 kB / 11.37 GB, free: 50.73 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09161/64.38, allocations: 27.54 MB / 11.4 GB, free: 32 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/64.38, allocations: 0 / 11.4 GB, free: 32 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.603/65.98, allocations: 49.03 MB / 11.45 GB, free: 153.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01625/66, allocations: 3.187 MB / 11.45 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008338/66.01, allocations: 79.19 kB / 11.45 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02526/66.03, allocations: 0.8003 MB / 11.45 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005304/66.04, allocations: 429.7 kB / 11.45 GB, free: 153.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003826/66.04, allocations: 263.9 kB / 11.45 GB, free: 153.8 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.04604/66.09, allocations: 10.4 MB / 11.46 GB, free: 153.3 MB / 1.276 GB Notification: Performance of sort global known variables: time 9.21e-07/66.09, allocations: 1.312 kB / 11.46 GB, free: 153.3 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.06967/66.16, allocations: 7.889 MB / 11.47 GB, free: 153.3 MB / 1.276 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (527): * Single equations (assignments): 505 * 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: 2 * 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: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01475/66.17, allocations: 5.284 MB / 11.47 GB, free: 151.5 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1263/66.3, allocations: 35.62 MB / 11.51 GB, free: 148.4 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/66.3, allocations: 12.5 kB / 11.51 GB, free: 148.4 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.02702/66.33, allocations: 8.318 MB / 11.52 GB, free: 148.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06521/66.39, allocations: 7.569 MB / 11.52 GB, free: 148 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08016/66.47, allocations: 26.13 MB / 11.55 GB, free: 142.6 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02037/66.49, allocations: 8.965 MB / 11.56 GB, free: 141.5 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.05793/66.55, allocations: 8.219 MB / 11.57 GB, free: 141.3 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005623/66.55, allocations: 0.8324 MB / 11.57 GB, free: 141.3 MB / 1.276 GB Notification: Performance of SimCode: time 1.433e-06/66.55, allocations: 6.688 kB / 11.57 GB, free: 141.3 MB / 1.276 GB Notification: Performance of Templates: time 3.505/70.06, allocations: 429.7 MB / 11.99 GB, free: 149.8 MB / 1.292 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)