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.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.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.1-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 293 MB / 309 MB, free: 4.832 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.0009757/0.0009758, allocations: 182.4 kB / 378.7 MB, free: 1.027 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.657/1.657, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0008603/0.0008603, allocations: 96.78 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004858, allocations: 15.98 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.553/1.845, allocations: 465.1 MB / 1.445 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/1.845, allocations: 99.16 kB / 1.445 GB, free: 263.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 26.69/28.53, allocations: 6.397 GB / 7.842 GB, free: 87.65 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.584e-06/28.53, allocations: 0 / 7.842 GB, free: 87.65 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005072/28.54, allocations: 0.5266 MB / 7.843 GB, free: 87.54 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.0927/28.63, allocations: 21.26 MB / 7.863 GB, free: 80.01 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/28.63, allocations: 10.25 kB / 7.863 GB, free: 80.01 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/28.65, allocations: 2.308 MB / 7.866 GB, free: 79 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0836/28.73, allocations: 23.84 MB / 7.889 GB, free: 75.75 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002018/28.73, allocations: 0.7276 MB / 7.89 GB, free: 75.73 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007756/28.74, allocations: 1.028 MB / 7.891 GB, free: 75.71 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05638/28.8, allocations: 17.07 MB / 7.907 GB, free: 73.84 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008895/28.8, allocations: 17.06 kB / 7.907 GB, free: 73.84 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005579/28.8, allocations: 361 kB / 7.908 GB, free: 73.84 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003592/28.8, allocations: 214.7 kB / 7.908 GB, free: 73.84 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04519/28.85, allocations: 19.94 MB / 7.927 GB, free: 73.78 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.1752/29.02, allocations: 78.36 MB / 8.004 GB, free: 41.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/29.05, allocations: 12.57 MB / 8.016 GB, free: 41.34 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01841/29.07, allocations: 9.634 MB / 8.026 GB, free: 41.23 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.08548/29.15, allocations: 33.69 MB / 8.059 GB, free: 32.54 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02039/29.17, allocations: 9.538 MB / 8.068 GB, free: 32.36 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.045/29.22, allocations: 15.14 MB / 8.083 GB, free: 31.58 MB / 1.214 GB Notification: Performance of pre-optimization done (n=606): time 6.452e-05/29.22, allocations: 0 / 8.083 GB, free: 31.58 MB / 1.214 GB Notification: Performance of matching and sorting (n=860): time 2.121/31.34, allocations: 223.8 MB / 8.301 GB, free: 98.2 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001111/31.34, allocations: 2.534 MB / 8.304 GB, free: 95.19 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05516/31.39, allocations: 16.45 MB / 8.32 GB, free: 94.43 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005916/31.4, allocations: 277.2 kB / 8.32 GB, free: 94.39 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01678/31.42, allocations: 7.862 MB / 8.328 GB, free: 93.94 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.008935/31.43, allocations: 2.983 MB / 8.331 GB, free: 93.94 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004543/31.43, allocations: 214.6 kB / 8.331 GB, free: 93.94 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001314/31.43, allocations: 0.7533 MB / 8.332 GB, free: 93.61 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03015/31.46, allocations: 10.69 MB / 8.342 GB, free: 93.59 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03463/31.5, allocations: 14.49 MB / 8.356 GB, free: 89.68 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05628/31.55, allocations: 23.56 MB / 8.379 GB, free: 87.76 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/31.55, allocations: 13.41 kB / 8.379 GB, free: 87.76 MB / 1.229 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.579/32.13, allocations: 133.2 MB / 8.509 GB, free: 85.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001569/32.13, allocations: 1.578 MB / 8.511 GB, free: 83.23 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005475/32.13, allocations: 114.8 kB / 8.511 GB, free: 83.23 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5721/32.71, allocations: 154.3 MB / 8.662 GB, free: 12.27 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/32.72, allocations: 2.61 MB / 8.664 GB, free: 9.828 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1184/32.84, allocations: 57.92 MB / 8.721 GB, free: 12.92 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02595/32.87, allocations: 1.511 MB / 8.722 GB, free: 11.63 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006575/32.87, allocations: 0.9211 MB / 8.723 GB, free: 10.79 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/32.87, allocations: 4 kB / 8.723 GB, free: 10.79 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.788/34.66, allocations: 131.1 MB / 8.851 GB, free: 137.4 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006597/34.66, allocations: 112.7 kB / 8.851 GB, free: 137.4 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5721/35.23, allocations: 153.9 MB / 9.002 GB, free: 133.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/35.25, allocations: 2.568 MB / 9.004 GB, free: 133.3 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1344/35.38, allocations: 64.64 MB / 9.067 GB, free: 98.83 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02716/35.41, allocations: 1.502 MB / 9.069 GB, free: 97.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006678/35.42, allocations: 0.8715 MB / 9.069 GB, free: 96.81 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 () * 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.02266/35.44, allocations: 4.29 MB / 9.074 GB, free: 94.17 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009737/35.45, allocations: 1.568 MB / 9.075 GB, free: 93.43 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2045/35.65, allocations: 54.26 MB / 9.128 GB, free: 50.08 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002349/35.65, allocations: 112.1 kB / 9.128 GB, free: 49.98 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002591/35.65, allocations: 28.56 kB / 9.128 GB, free: 49.95 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1764/35.83, allocations: 48.04 MB / 9.175 GB, free: 10.56 MB / 1.276 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 1.517/37.35, allocations: 73.84 MB / 9.247 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001451/37.35, allocations: 2.531 kB / 9.247 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01017/37.36, allocations: 1.678 MB / 9.249 GB, free: 134.9 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1861/37.54, allocations: 46.63 MB / 9.295 GB, free: 134.7 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003889/37.55, allocations: 350.9 kB / 9.295 GB, free: 134.7 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05104/37.6, allocations: 29.24 MB / 9.323 GB, free: 127.6 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/37.6, allocations: 2.688 kB / 9.323 GB, free: 127.6 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2116/37.81, allocations: 62.74 MB / 9.385 GB, free: 126.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01699/37.83, allocations: 3.759 MB / 9.388 GB, free: 126.3 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009105/37.84, allocations: 288.8 kB / 9.389 GB, free: 126.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02165/37.86, allocations: 1.311 MB / 9.39 GB, free: 126.3 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004138/37.86, allocations: 0.6095 MB / 9.391 GB, free: 126.3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002145/37.86, allocations: 378.5 kB / 9.391 GB, free: 126.3 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.03231/37.9, allocations: 11.19 MB / 9.402 GB, free: 125.9 MB / 1.292 GB Notification: Performance of sort global known variables: time 9.92e-07/37.9, allocations: 2.188 kB / 9.402 GB, free: 125.9 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.05859/37.96, allocations: 8.366 MB / 9.41 GB, free: 125.9 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 (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.01286/37.97, allocations: 5.52 MB / 9.415 GB, free: 123.9 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.111/38.08, allocations: 45.99 MB / 9.46 GB, free: 120.5 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 4.827e-05/38.08, allocations: 9.25 kB / 9.46 GB, free: 120.5 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.0394/38.12, allocations: 12.62 MB / 9.473 GB, free: 120.1 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09365/38.21, allocations: 7.848 MB / 9.48 GB, free: 120 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09873/38.31, allocations: 41.54 MB / 9.521 GB, free: 103.2 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02751/38.34, allocations: 9.184 MB / 9.53 GB, free: 97.43 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03568/38.37, allocations: 5.107 MB / 9.535 GB, free: 93.83 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01028/38.38, allocations: 1.261 MB / 9.536 GB, free: 92.79 MB / 1.292 GB Notification: Performance of SimCode: time 1.303e-06/38.38, allocations: 0 / 9.536 GB, free: 92.79 MB / 1.292 GB Notification: Performance of Templates: time 3.001/41.39, allocations: 462.9 MB / 9.988 GB, free: 87.98 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)