Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") translateModel(Buildings.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001193/0.001193, allocations: 182.9 kB / 371.6 MB, free: 3.336 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.756/1.756, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008885/0.0008886, allocations: 90.2 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.379e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2725, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.921/2.194, allocations: 464.8 MB / 1.434 GB, free: 256.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/2.194, allocations: 96.58 kB / 1.434 GB, free: 256.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 28.27/30.46, allocations: 6.415 GB / 7.849 GB, free: 86.97 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.124e-06/30.46, allocations: 0 / 7.849 GB, free: 86.97 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004446/30.47, allocations: 0.5253 MB / 7.85 GB, free: 86.86 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.07122/30.54, allocations: 14.17 MB / 7.864 GB, free: 81.11 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/30.54, allocations: 11 kB / 7.864 GB, free: 81.11 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/30.56, allocations: 2.312 MB / 7.866 GB, free: 80.09 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08755/30.65, allocations: 23.32 MB / 7.889 GB, free: 77.52 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002104/30.65, allocations: 0.7204 MB / 7.889 GB, free: 77.5 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008093/30.66, allocations: 1.029 MB / 7.89 GB, free: 77.48 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05712/30.71, allocations: 16.76 MB / 7.907 GB, free: 75.62 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008102/30.71, allocations: 14.03 kB / 7.907 GB, free: 75.62 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005918/30.72, allocations: 362 kB / 7.907 GB, free: 75.62 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004745/30.72, allocations: 219.9 kB / 7.907 GB, free: 75.62 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04787/30.77, allocations: 19.53 MB / 7.926 GB, free: 75.55 MB / 1.214 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.1972/30.97, allocations: 78.51 MB / 8.003 GB, free: 43.64 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02425/30.99, allocations: 12.3 MB / 8.015 GB, free: 43.17 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01587/31.01, allocations: 9.468 MB / 8.024 GB, free: 43.07 MB / 1.214 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.09146/31.1, allocations: 33.83 MB / 8.057 GB, free: 34.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01994/31.12, allocations: 9.364 MB / 8.066 GB, free: 34.22 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04921/31.17, allocations: 15.16 MB / 8.081 GB, free: 33.56 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 7.236e-05/31.17, allocations: 0 / 8.081 GB, free: 33.56 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 0.7492/31.92, allocations: 175.3 MB / 8.252 GB, free: 14.57 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001607/31.92, allocations: 2.536 MB / 8.255 GB, free: 11.46 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.412/33.33, allocations: 14.7 MB / 8.269 GB, free: 96.25 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006424/33.34, allocations: 274.7 kB / 8.27 GB, free: 96.21 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01608/33.35, allocations: 7.883 MB / 8.277 GB, free: 95.73 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008544/33.36, allocations: 2.985 MB / 8.28 GB, free: 95.22 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004046/33.37, allocations: 211.9 kB / 8.28 GB, free: 95.22 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001487/33.37, allocations: 0.7584 MB / 8.281 GB, free: 94.89 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02253/33.39, allocations: 9.704 MB / 8.291 GB, free: 94.87 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02596/33.42, allocations: 13.44 MB / 8.304 GB, free: 90.96 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02422/33.44, allocations: 11.07 MB / 8.315 GB, free: 90.71 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/33.44, allocations: 12.66 kB / 8.315 GB, free: 90.71 MB / 1.229 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.6205/34.06, allocations: 129.7 MB / 8.441 GB, free: 88.76 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.00782/34.07, allocations: 32.96 MB / 8.473 GB, free: 54.39 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006349/34.07, allocations: 111.7 kB / 8.474 GB, free: 54.39 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6258/34.69, allocations: 151.8 MB / 8.622 GB, free: 45.07 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/34.71, allocations: 2.504 MB / 8.624 GB, free: 42.73 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1565/34.87, allocations: 75.91 MB / 8.698 GB, free: 1.051 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03043/34.9, allocations: 1.508 MB / 8.7 GB, free: 15.76 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007003/34.9, allocations: 0.9154 MB / 8.701 GB, free: 14.93 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/34.9, allocations: 6.812 kB / 8.701 GB, free: 14.93 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.928/36.83, allocations: 128.3 MB / 8.826 GB, free: 128.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000813/36.83, allocations: 111.8 kB / 8.826 GB, free: 128.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6184/37.45, allocations: 152.7 MB / 8.975 GB, free: 126.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/37.46, allocations: 2.481 MB / 8.978 GB, free: 126.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2143/37.68, allocations: 82.5 MB / 9.058 GB, free: 116.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02607/37.7, allocations: 1.486 MB / 9.06 GB, free: 115.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005604/37.71, allocations: 0.8671 MB / 9.06 GB, free: 115.3 MB / 1.276 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 () * 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.00909/37.72, allocations: 0.7253 MB / 9.061 GB, free: 115.1 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008013/37.73, allocations: 1.569 MB / 9.063 GB, free: 114.3 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1912/37.92, allocations: 50.98 MB / 9.112 GB, free: 73.52 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001664/37.92, allocations: 96.56 kB / 9.113 GB, free: 73.43 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000144/37.92, allocations: 28 kB / 9.113 GB, free: 73.4 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1723/38.09, allocations: 44.84 MB / 9.156 GB, free: 36.55 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.329/39.42, allocations: 70.17 MB / 9.225 GB, free: 125.1 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/39.42, allocations: 1.375 kB / 9.225 GB, free: 125.1 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009542/39.43, allocations: 1.699 MB / 9.227 GB, free: 125.1 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2157/39.64, allocations: 44.73 MB / 9.27 GB, free: 124.9 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003046/39.65, allocations: 349.2 kB / 9.271 GB, free: 124.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06504/39.71, allocations: 33.1 MB / 9.303 GB, free: 117.9 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/39.71, allocations: 7.109 kB / 9.303 GB, free: 117.9 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2009/39.91, allocations: 58.7 MB / 9.36 GB, free: 116.5 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01426/39.93, allocations: 3.74 MB / 9.364 GB, free: 116.1 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008997/39.94, allocations: 284.4 kB / 9.364 GB, free: 116.1 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02156/39.96, allocations: 1.309 MB / 9.365 GB, free: 116 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004125/39.96, allocations: 0.6055 MB / 9.366 GB, free: 116 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002874/39.97, allocations: 364.8 kB / 9.366 GB, free: 116 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03017/40, allocations: 11.23 MB / 9.377 GB, free: 115.5 MB / 1.292 GB Notification: Performance of sort global known variables: time 9.32e-07/40, allocations: 4.875 kB / 9.377 GB, free: 115.5 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05474/40.05, allocations: 8.808 MB / 9.386 GB, free: 115.5 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (669): * Single equations (assignments): 645 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.01272/40.06, allocations: 5.645 MB / 9.391 GB, free: 113.5 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.09004/40.15, allocations: 43.48 MB / 9.434 GB, free: 110 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 2.348e-05/40.15, allocations: 7.969 kB / 9.434 GB, free: 110 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02439/40.18, allocations: 11.44 MB / 9.445 GB, free: 109.6 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04561/40.22, allocations: 7.798 MB / 9.453 GB, free: 109.4 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06626/40.29, allocations: 29.69 MB / 9.482 GB, free: 103.7 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01519/40.31, allocations: 9.511 MB / 9.491 GB, free: 102.5 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03905/40.34, allocations: 8.621 MB / 9.499 GB, free: 102.3 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005692/40.35, allocations: 0.9334 MB / 9.5 GB, free: 102.3 MB / 1.292 GB Notification: Performance of SimCode: time 8.91e-07/40.35, allocations: 1.531 kB / 9.5 GB, free: 102.3 MB / 1.292 GB Notification: Performance of Templates: time 3.16/43.51, allocations: 0.5143 GB / 10.01 GB, free: 75.09 MB / 1.292 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Basic.pipe 2>&1)