Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001191/0.001191, allocations: 180.6 kB / 371.6 MB, free: 3.418 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.705/1.705, 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.0009788/0.0009788, allocations: 89.42 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.104e-05/4.108e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.779/2.06, allocations: 465 MB / 1.434 GB, free: 292.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/2.061, allocations: 90.81 kB / 1.434 GB, free: 292.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 38.1/40.16, allocations: 8.697 GB / 10.13 GB, free: 80.14 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.023e-06/40.16, allocations: 0 / 10.13 GB, free: 80.14 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004838/40.16, allocations: 0.5131 MB / 10.13 GB, free: 80.03 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.06423/40.23, allocations: 14.15 MB / 10.15 GB, free: 73.95 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/40.23, allocations: 9.969 kB / 10.15 GB, free: 73.95 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/40.24, allocations: 2.305 MB / 10.15 GB, free: 72.91 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07416/40.32, allocations: 23.25 MB / 10.17 GB, free: 69.98 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/40.32, allocations: 0.7175 MB / 10.17 GB, free: 69.96 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006038/40.32, allocations: 1.023 MB / 10.17 GB, free: 69.94 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04161/40.37, allocations: 16.63 MB / 10.19 GB, free: 67.96 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006038/40.37, allocations: 11.44 kB / 10.19 GB, free: 67.95 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004761/40.37, allocations: 366.9 kB / 10.19 GB, free: 67.95 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/40.37, allocations: 210.2 kB / 10.19 GB, free: 67.95 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03459/40.41, allocations: 19.45 MB / 10.21 GB, free: 67.83 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.1488/40.56, allocations: 79.35 MB / 10.29 GB, free: 24.56 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/40.57, allocations: 11.67 MB / 10.3 GB, free: 16.55 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01327/40.59, allocations: 8.984 MB / 10.31 GB, free: 8.441 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 1.073/41.66, allocations: 33.66 MB / 10.34 GB, free: 109 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02385/41.68, allocations: 9.135 MB / 10.35 GB, free: 108.8 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04841/41.73, allocations: 15.15 MB / 10.36 GB, free: 108.8 MB / 1.229 GB Notification: Performance of pre-optimization done (n=582): time 5.573e-05/41.73, allocations: 1.438 kB / 10.36 GB, free: 108.8 MB / 1.229 GB Notification: Performance of matching and sorting (n=812): time 0.7302/42.46, allocations: 171.1 MB / 10.53 GB, free: 100.1 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006603/42.46, allocations: 2.527 MB / 10.53 GB, free: 97.05 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03827/42.5, allocations: 14.74 MB / 10.55 GB, free: 96.16 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.005427/42.51, allocations: 268.7 kB / 10.55 GB, free: 96.12 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01224/42.52, allocations: 7.91 MB / 10.55 GB, free: 94.76 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0068/42.53, allocations: 2.819 MB / 10.56 GB, free: 93.32 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004414/42.53, allocations: 208.5 kB / 10.56 GB, free: 93.32 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001074/42.53, allocations: 0.7507 MB / 10.56 GB, free: 92.99 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01879/42.55, allocations: 9.559 MB / 10.57 GB, free: 92.97 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02396/42.57, allocations: 13.23 MB / 10.58 GB, free: 88.96 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02436/42.6, allocations: 10.91 MB / 10.59 GB, free: 88.62 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002459/42.6, allocations: 14.09 kB / 10.59 GB, free: 88.62 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.6008/43.2, allocations: 128.3 MB / 10.72 GB, free: 47.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006868/43.21, allocations: 36.69 MB / 10.75 GB, free: 9.602 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005179/43.21, allocations: 115.9 kB / 10.75 GB, free: 9.488 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866/45.07, allocations: 147.8 MB / 10.9 GB, free: 143.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01515/45.09, allocations: 2.689 MB / 10.9 GB, free: 143.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/45.23, allocations: 73.6 MB / 10.97 GB, free: 136.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03293/45.26, allocations: 1.555 MB / 10.97 GB, free: 136.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006044/45.27, allocations: 0.9225 MB / 10.97 GB, free: 136.7 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/45.27, allocations: 4.156 kB / 10.97 GB, free: 136.7 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5808/45.85, allocations: 127 MB / 11.1 GB, free: 134.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006509/45.85, allocations: 111.8 kB / 11.1 GB, free: 134.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6041/46.45, allocations: 147.5 MB / 11.24 GB, free: 14.43 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01335/46.47, allocations: 2.67 MB / 11.24 GB, free: 11.93 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219/47.69, allocations: 77.34 MB / 11.32 GB, free: 170.8 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0229/47.71, allocations: 1.526 MB / 11.32 GB, free: 170.8 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004509/47.71, allocations: 0.8716 MB / 11.32 GB, free: 170.8 MB / 1.307 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 (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.004793/47.72, allocations: 0.7226 MB / 11.32 GB, free: 170.7 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005469/47.72, allocations: 1.555 MB / 11.32 GB, free: 170.7 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.194/47.92, allocations: 49.3 MB / 11.37 GB, free: 170 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001724/47.92, allocations: 91.94 kB / 11.37 GB, free: 170 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/47.92, allocations: 30.52 kB / 11.37 GB, free: 170 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1657/48.08, allocations: 43.28 MB / 11.41 GB, free: 169.3 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2092/48.29, allocations: 67.73 MB / 11.48 GB, free: 165.1 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.087e-05/48.29, allocations: 3.188 kB / 11.48 GB, free: 165.1 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009719/48.3, allocations: 1.848 MB / 11.48 GB, free: 165.1 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1762/48.48, allocations: 42.75 MB / 11.52 GB, free: 165 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00285/48.48, allocations: 339 kB / 11.52 GB, free: 165 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05697/48.54, allocations: 30.81 MB / 11.55 GB, free: 157.9 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/48.54, allocations: 6.438 kB / 11.55 GB, free: 157.9 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1914/48.73, allocations: 56.76 MB / 11.61 GB, free: 140.1 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01484/48.75, allocations: 3.656 MB / 11.61 GB, free: 137.9 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006847/48.75, allocations: 275.1 kB / 11.61 GB, free: 137.8 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02074/48.77, allocations: 1.333 MB / 11.62 GB, free: 137.1 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005216/48.78, allocations: 0.5927 MB / 11.62 GB, free: 136.8 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00327/48.78, allocations: 357.7 kB / 11.62 GB, free: 136.6 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02567/48.81, allocations: 11.25 MB / 11.63 GB, free: 130.2 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.593e-06/48.81, allocations: 0 / 11.63 GB, free: 130.2 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.0531/48.86, allocations: 8.803 MB / 11.64 GB, free: 122.5 MB / 1.307 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 (717): * Single equations (assignments): 693 * 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.011/48.87, allocations: 5.633 MB / 11.64 GB, free: 118.2 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.08565/48.96, allocations: 42.87 MB / 11.68 GB, free: 92.61 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.39e-05/48.96, allocations: 10.31 kB / 11.68 GB, free: 92.6 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.02359/48.98, allocations: 11.18 MB / 11.69 GB, free: 82.62 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04131/49.02, allocations: 7.775 MB / 11.7 GB, free: 77.36 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06996/49.09, allocations: 29.41 MB / 11.73 GB, free: 51.49 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01816/49.11, allocations: 9.44 MB / 11.74 GB, free: 44.92 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.04265/49.15, allocations: 8.974 MB / 11.75 GB, free: 39.04 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005931/49.16, allocations: 0.9732 MB / 11.75 GB, free: 38.19 MB / 1.307 GB Notification: Performance of SimCode: time 1.382e-06/49.16, allocations: 0 / 11.75 GB, free: 38.19 MB / 1.307 GB Notification: Performance of Templates: time 2.878/52.04, allocations: 0.4941 GB / 12.24 GB, free: 15.78 MB / 1.37 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)