Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.91 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.001005/0.001005, allocations: 174.7 kB / 327.5 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.428/1.428, allocations: 205.4 MB / 0.5785 GB, free: 20.51 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.0007477/0.0007477, allocations: 80.05 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 11.81 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7638/0.9401, allocations: 456.6 MB / 1.347 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.9404, allocations: 99.52 kB / 1.347 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 29.44/30.38, allocations: 8.435 GB / 9.782 GB, free: 76.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.246e-06/30.38, allocations: 0 / 9.782 GB, free: 76.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005176/30.38, allocations: 0.5069 MB / 9.783 GB, free: 76.46 MB / 1.151 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.08568/30.47, allocations: 21.23 MB / 9.804 GB, free: 69.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/30.47, allocations: 10.28 kB / 9.804 GB, free: 69.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/30.48, allocations: 2.298 MB / 9.806 GB, free: 68.03 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0705/30.56, allocations: 23.73 MB / 9.829 GB, free: 64.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001624/30.56, allocations: 0.7181 MB / 9.83 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008422/30.57, allocations: 1.016 MB / 9.831 GB, free: 64.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04674/30.61, allocations: 16.87 MB / 9.847 GB, free: 62.89 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006039/30.61, allocations: 26.5 kB / 9.847 GB, free: 62.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004597/30.62, allocations: 357.1 kB / 9.847 GB, free: 62.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002479/30.62, allocations: 208.6 kB / 9.848 GB, free: 62.88 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03557/30.65, allocations: 19.79 MB / 9.867 GB, free: 62.82 MB / 1.151 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.1449/30.8, allocations: 79.03 MB / 9.944 GB, free: 29.27 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01972/30.82, allocations: 11.89 MB / 9.956 GB, free: 28.82 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0141/30.83, allocations: 9.112 MB / 9.965 GB, free: 28.76 MB / 1.151 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.07663/30.91, allocations: 32.97 MB / 9.997 GB, free: 20.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01726/30.93, allocations: 9.258 MB / 10.01 GB, free: 19.92 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04189/30.97, allocations: 15.11 MB / 10.02 GB, free: 19.52 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 5.026e-05/30.97, allocations: 4 kB / 10.02 GB, free: 19.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 1.581/32.55, allocations: 206.9 MB / 10.22 GB, free: 82.21 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005074/32.55, allocations: 2.529 MB / 10.23 GB, free: 79.21 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02993/32.58, allocations: 16.5 MB / 10.24 GB, free: 78.39 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.003879/32.58, allocations: 267.6 kB / 10.24 GB, free: 78.36 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009536/32.59, allocations: 7.859 MB / 10.25 GB, free: 77.99 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006156/32.6, allocations: 2.818 MB / 10.25 GB, free: 77.99 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/32.6, allocations: 207.5 kB / 10.25 GB, free: 77.99 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007657/32.6, allocations: 0.7513 MB / 10.25 GB, free: 77.66 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01752/32.62, allocations: 10.19 MB / 10.26 GB, free: 77.64 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02256/32.64, allocations: 13.91 MB / 10.28 GB, free: 73.73 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04229/32.68, allocations: 22.69 MB / 10.3 GB, free: 71.62 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/32.69, allocations: 15.62 kB / 10.3 GB, free: 71.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.5293/33.21, allocations: 130.7 MB / 10.43 GB, free: 70.21 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001281/33.22, allocations: 1.726 MB / 10.43 GB, free: 68.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004765/33.22, allocations: 114.6 kB / 10.43 GB, free: 68.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5382/33.75, allocations: 149.3 MB / 10.57 GB, free: 22.07 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/33.77, allocations: 2.677 MB / 10.58 GB, free: 19.58 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1062/33.87, allocations: 55.65 MB / 10.63 GB, free: 8.094 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02309/33.9, allocations: 1.44 MB / 10.63 GB, free: 6.863 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005251/33.9, allocations: 0.9253 MB / 10.63 GB, free: 6.027 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/33.9, allocations: 4 kB / 10.63 GB, free: 6.023 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.341/35.24, allocations: 128.9 MB / 10.76 GB, free: 118.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005298/35.24, allocations: 113.3 kB / 10.76 GB, free: 118.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.546/35.79, allocations: 148.5 MB / 10.9 GB, free: 114.9 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/35.8, allocations: 2.638 MB / 10.91 GB, free: 114.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1115/35.91, allocations: 59.44 MB / 10.96 GB, free: 91.51 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02262/35.94, allocations: 1.415 MB / 10.97 GB, free: 90.34 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005309/35.94, allocations: 0.8762 MB / 10.97 GB, free: 89.55 MB / 1.214 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 982 * 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01747/35.96, allocations: 4.281 MB / 10.97 GB, free: 86.92 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008705/35.97, allocations: 1.55 MB / 10.97 GB, free: 86.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1844/36.15, allocations: 51.3 MB / 11.02 GB, free: 45.09 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001656/36.15, allocations: 96 kB / 11.02 GB, free: 45 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002062/36.15, allocations: 28 kB / 11.02 GB, free: 44.97 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1634/36.32, allocations: 45.26 MB / 11.07 GB, free: 7.875 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 postOpt removeSimpleEquations (simulation): time 1.139/37.46, allocations: 69.78 MB / 11.14 GB, free: 118 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.352e-05/37.46, allocations: 3.938 kB / 11.14 GB, free: 118 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009376/37.47, allocations: 1.71 MB / 11.14 GB, free: 118 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1642/37.63, allocations: 43.96 MB / 11.18 GB, free: 117.9 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002805/37.63, allocations: 341.5 kB / 11.18 GB, free: 117.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04379/37.68, allocations: 26.47 MB / 11.21 GB, free: 110.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/37.68, allocations: 3.719 kB / 11.21 GB, free: 110.9 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1836/37.86, allocations: 59.08 MB / 11.26 GB, free: 110 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01514/37.88, allocations: 3.619 MB / 11.27 GB, free: 109.9 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01037/37.89, allocations: 277.4 kB / 11.27 GB, free: 109.9 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01983/37.91, allocations: 1.217 MB / 11.27 GB, free: 109.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004145/37.91, allocations: 0.5866 MB / 11.27 GB, free: 109.9 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00367/37.91, allocations: 352.5 kB / 11.27 GB, free: 109.9 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02899/37.94, allocations: 11.21 MB / 11.28 GB, free: 109.4 MB / 1.229 GB Notification: Performance of sort global known variables: time 7.92e-07/37.94, allocations: 0 / 11.28 GB, free: 109.4 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.05361/38, allocations: 8.308 MB / 11.29 GB, free: 109.4 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 (713): * Single equations (assignments): 689 * 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 {36 81,36 68,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/38.01, allocations: 5.498 MB / 11.29 GB, free: 107.5 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.09833/38.11, allocations: 44.74 MB / 11.34 GB, free: 104.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.457e-05/38.11, allocations: 9.438 kB / 11.34 GB, free: 104.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02668/38.13, allocations: 12.12 MB / 11.35 GB, free: 103.8 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05456/38.19, allocations: 7.786 MB / 11.36 GB, free: 103.7 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07802/38.27, allocations: 40.72 MB / 11.4 GB, free: 89.66 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01739/38.28, allocations: 9.088 MB / 11.41 GB, free: 86.64 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.03205/38.32, allocations: 5.491 MB / 11.41 GB, free: 82.99 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008538/38.32, allocations: 1.299 MB / 11.41 GB, free: 81.93 MB / 1.229 GB Notification: Performance of SimCode: time 2.214e-06/38.32, allocations: 0 / 11.41 GB, free: 81.93 MB / 1.229 GB Notification: Performance of Templates: time 2.393/40.72, allocations: 433.8 MB / 11.84 GB, free: 79.84 MB / 1.229 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)