Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.001223/0.001223, allocations: 184.5 kB / 373 MB, free: 10.16 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.624/1.624, allocations: 205.4 MB / 0.6317 GB, free: 9.832 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007534/0.0007534, allocations: 88.02 kB / 0.745 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003962, allocations: 16.52 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2405, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.637/1.878, allocations: 464.5 MB / 1.434 GB, free: 336.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.878, allocations: 102.5 kB / 1.434 GB, free: 336.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 37.47/39.35, allocations: 9.458 GB / 10.89 GB, free: 103.3 MB / 1.229 GB Notification: Performance of FrontEnd: time 4.939e-06/39.35, allocations: 0 / 10.89 GB, free: 103.3 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.004313/39.35, allocations: 0.5035 MB / 10.89 GB, free: 103.2 MB / 1.229 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.09249/39.45, allocations: 21.23 MB / 10.91 GB, free: 95.57 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/39.45, allocations: 13.66 kB / 10.91 GB, free: 95.57 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/39.46, allocations: 2.308 MB / 10.92 GB, free: 94.55 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07956/39.54, allocations: 23.75 MB / 10.94 GB, free: 91.29 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/39.54, allocations: 0.7125 MB / 10.94 GB, free: 91.27 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006607/39.55, allocations: 1.015 MB / 10.94 GB, free: 91.25 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04751/39.6, allocations: 16.9 MB / 10.96 GB, free: 89.39 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006626/39.6, allocations: 14.88 kB / 10.96 GB, free: 89.39 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005322/39.6, allocations: 360 kB / 10.96 GB, free: 89.39 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003742/39.61, allocations: 222.8 kB / 10.96 GB, free: 89.39 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04569/39.65, allocations: 19.81 MB / 10.98 GB, free: 89.32 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 preOpt removeSimpleEquations (simulation): time 0.1668/39.82, allocations: 79.53 MB / 11.06 GB, free: 55.14 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/39.84, allocations: 11.7 MB / 11.07 GB, free: 54.7 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01754/39.86, allocations: 9.46 MB / 11.08 GB, free: 54.62 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 preOpt evalFunc (simulation): time 0.08216/39.94, allocations: 32.87 MB / 11.11 GB, free: 45.86 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01657/39.96, allocations: 9.228 MB / 11.12 GB, free: 45.68 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0474/40, allocations: 15.11 MB / 11.13 GB, free: 44.78 MB / 1.229 GB Notification: Performance of pre-optimization done (n=561): time 5.789e-05/40, allocations: 0 / 11.13 GB, free: 44.78 MB / 1.229 GB Notification: Performance of matching and sorting (n=772): time 1.966/41.97, allocations: 203.2 MB / 11.33 GB, free: 112.9 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006799/41.97, allocations: 2.53 MB / 11.33 GB, free: 109.9 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04236/42.01, allocations: 16.51 MB / 11.35 GB, free: 109.1 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.005203/42.02, allocations: 255.7 kB / 11.35 GB, free: 109.1 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01346/42.03, allocations: 7.891 MB / 11.36 GB, free: 108.7 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006581/42.04, allocations: 2.691 MB / 11.36 GB, free: 108.7 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003983/42.04, allocations: 198.8 kB / 11.36 GB, free: 108.7 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001054/42.04, allocations: 0.7403 MB / 11.36 GB, free: 108.4 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02307/42.07, allocations: 10.34 MB / 11.37 GB, free: 108.4 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0283/42.09, allocations: 14.06 MB / 11.38 GB, free: 104.4 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05056/42.14, allocations: 22.97 MB / 11.41 GB, free: 102.3 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001597/42.14, allocations: 18.84 kB / 11.41 GB, free: 102.3 MB / 1.245 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 0.6233/42.77, allocations: 130.4 MB / 11.53 GB, free: 99.79 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001165/42.77, allocations: 1.798 MB / 11.54 GB, free: 97.55 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004141/42.77, allocations: 114.6 kB / 11.54 GB, free: 97.55 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6243/43.39, allocations: 147.4 MB / 11.68 GB, free: 29.19 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/43.41, allocations: 2.783 MB / 11.68 GB, free: 26.59 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09843/43.51, allocations: 52.91 MB / 11.73 GB, free: 1.691 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02481/43.53, allocations: 1.551 MB / 11.74 GB, free: 360 kB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005744/43.54, allocations: 0.9145 MB / 11.74 GB, free: 15.53 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/43.54, allocations: 6.734 kB / 11.74 GB, free: 15.52 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.613/45.15, allocations: 128.8 MB / 11.86 GB, free: 137.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005453/45.15, allocations: 124.9 kB / 11.86 GB, free: 137.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6315/45.78, allocations: 147.3 MB / 12.01 GB, free: 135.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01421/45.8, allocations: 2.766 MB / 12.01 GB, free: 135.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1079/45.91, allocations: 57.18 MB / 12.06 GB, free: 114.9 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02839/45.93, allocations: 1.528 MB / 12.07 GB, free: 113.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008181/45.94, allocations: 0.8679 MB / 12.07 GB, free: 112.9 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.01786/45.96, allocations: 4.266 MB / 12.07 GB, free: 110.2 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007681/45.97, allocations: 1.551 MB / 12.07 GB, free: 109.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2059/46.17, allocations: 50.91 MB / 12.12 GB, free: 68.48 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001512/46.17, allocations: 91.25 kB / 12.12 GB, free: 68.39 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001649/46.17, allocations: 31.94 kB / 12.12 GB, free: 68.36 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1817/46.36, allocations: 44.92 MB / 12.17 GB, free: 31.3 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.336/47.69, allocations: 68.31 MB / 12.23 GB, free: 129.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.833e-05/47.69, allocations: 4.156 kB / 12.23 GB, free: 129.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01124/47.7, allocations: 1.793 MB / 12.23 GB, free: 129.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1987/47.9, allocations: 42.68 MB / 12.28 GB, free: 129.5 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003029/47.9, allocations: 331.5 kB / 12.28 GB, free: 129.5 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04546/47.95, allocations: 23.93 MB / 12.3 GB, free: 123.7 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/47.95, allocations: 2.938 kB / 12.3 GB, free: 123.7 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2231/48.17, allocations: 58.82 MB / 12.36 GB, free: 122.8 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01792/48.19, allocations: 3.582 MB / 12.36 GB, free: 122.7 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009987/48.2, allocations: 270.7 kB / 12.36 GB, free: 122.7 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02124/48.22, allocations: 1.279 MB / 12.36 GB, free: 122.7 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004003/48.23, allocations: 0.5504 MB / 12.36 GB, free: 122.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003155/48.23, allocations: 349 kB / 12.36 GB, free: 122.7 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02853/48.26, allocations: 11.21 MB / 12.37 GB, free: 122.2 MB / 1.292 GB Notification: Performance of sort global known variables: time 6.72e-07/48.26, allocations: 0 / 12.37 GB, free: 122.2 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.06096/48.32, allocations: 8.268 MB / 12.38 GB, free: 122.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 (705): * Single equations (assignments): 683 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {1 1,7 83,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/48.33, allocations: 5.499 MB / 12.39 GB, free: 120.3 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.1013/48.43, allocations: 43.05 MB / 12.43 GB, free: 117.2 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-05/48.43, allocations: 9.938 kB / 12.43 GB, free: 117.2 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.02647/48.46, allocations: 11.3 MB / 12.44 GB, free: 116.9 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06338/48.52, allocations: 7.658 MB / 12.45 GB, free: 116.8 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09317/48.62, allocations: 40.28 MB / 12.49 GB, free: 102.9 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02011/48.64, allocations: 9.031 MB / 12.5 GB, free: 101.7 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.03411/48.67, allocations: 5.513 MB / 12.5 GB, free: 101.3 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00882/48.68, allocations: 1.306 MB / 12.5 GB, free: 101.3 MB / 1.292 GB Notification: Performance of SimCode: time 9.11e-07/48.68, allocations: 1.5 kB / 12.5 GB, free: 101.3 MB / 1.292 GB Notification: Performance of Templates: time 2.585/51.26, allocations: 432.4 MB / 12.93 GB, free: 159.1 MB / 1.307 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)