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.618/1.618, allocations: 285.4 MB / 298 MB, free: 5.98 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.00113/0.00113, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.732/1.732, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008845/0.0008848, allocations: 92.19 kB / 0.738 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.271e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.8396, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/2.167, allocations: 464.3 MB / 1.424 GB, free: 91.95 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/2.167, allocations: 93.64 kB / 1.424 GB, free: 91.91 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 41.43/43.6, allocations: 9.485 GB / 10.91 GB, free: 59.26 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.064e-06/43.6, allocations: 0 / 10.91 GB, free: 59.26 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00455/43.6, allocations: 0.5067 MB / 10.91 GB, free: 59.08 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.05817/43.66, allocations: 14.14 MB / 10.92 GB, free: 51.66 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/43.66, allocations: 7.75 kB / 10.92 GB, free: 51.66 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/43.68, allocations: 2.303 MB / 10.93 GB, free: 50.03 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08149/43.76, allocations: 23.25 MB / 10.95 GB, free: 28.61 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001146/43.76, allocations: 0.711 MB / 10.95 GB, free: 27.89 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006349/43.77, allocations: 1.015 MB / 10.95 GB, free: 26.88 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04779/43.82, allocations: 16.59 MB / 10.97 GB, free: 9.641 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006833/43.82, allocations: 15.58 kB / 10.97 GB, free: 9.629 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/43.82, allocations: 364 kB / 10.97 GB, free: 9.273 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/43.82, allocations: 215.9 kB / 10.97 GB, free: 9.062 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.22/45.04, allocations: 19.42 MB / 10.99 GB, free: 71.25 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.1789/45.22, allocations: 79.66 MB / 11.06 GB, free: 38.4 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/45.25, allocations: 11.44 MB / 11.07 GB, free: 37.96 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01561/45.26, allocations: 9.291 MB / 11.08 GB, free: 37.87 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.08695/45.35, allocations: 33.03 MB / 11.12 GB, free: 29.32 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01907/45.37, allocations: 9.042 MB / 11.12 GB, free: 29.15 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04981/45.42, allocations: 15.14 MB / 11.14 GB, free: 28.98 MB / 1.214 GB Notification: Performance of pre-optimization done (n=561): time 6.347e-05/45.42, allocations: 0 / 11.14 GB, free: 28.98 MB / 1.214 GB Notification: Performance of matching and sorting (n=772): time 0.8112/46.23, allocations: 169.2 MB / 11.3 GB, free: 19.57 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007618/46.23, allocations: 2.528 MB / 11.31 GB, free: 16.56 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05258/46.29, allocations: 14.75 MB / 11.32 GB, free: 15.66 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.005419/46.29, allocations: 256.2 kB / 11.32 GB, free: 15.63 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01555/46.31, allocations: 7.887 MB / 11.33 GB, free: 14.26 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.007077/46.31, allocations: 2.685 MB / 11.33 GB, free: 12.86 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004461/46.32, allocations: 203.5 kB / 11.33 GB, free: 12.86 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001116/46.32, allocations: 0.7392 MB / 11.33 GB, free: 12.53 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02402/46.34, allocations: 9.436 MB / 11.34 GB, free: 12.51 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02998/46.37, allocations: 13.09 MB / 11.36 GB, free: 8.496 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02433/46.4, allocations: 10.76 MB / 11.37 GB, free: 8.152 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/46.4, allocations: 14.84 kB / 11.37 GB, free: 8.152 MB / 1.214 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.79/48.19, allocations: 129 MB / 11.49 GB, free: 91.04 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.007721/48.2, allocations: 38.27 MB / 11.53 GB, free: 52.2 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005826/48.2, allocations: 118.4 kB / 11.53 GB, free: 52.2 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6368/48.83, allocations: 146 MB / 11.67 GB, free: 51.19 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01626/48.85, allocations: 2.691 MB / 11.67 GB, free: 51.17 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.146/49, allocations: 71.14 MB / 11.74 GB, free: 44.9 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02774/49.02, allocations: 1.556 MB / 11.75 GB, free: 44.82 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005691/49.03, allocations: 0.9066 MB / 11.75 GB, free: 44.82 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/49.03, allocations: 3.5 kB / 11.75 GB, free: 44.82 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6256/49.66, allocations: 126.4 MB / 11.87 GB, free: 4.785 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008268/49.66, allocations: 111.9 kB / 11.87 GB, free: 4.676 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752/51.41, allocations: 146.4 MB / 12.01 GB, free: 145.8 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/51.42, allocations: 2.686 MB / 12.02 GB, free: 145.8 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1488/51.57, allocations: 75.38 MB / 12.09 GB, free: 141.3 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02518/51.6, allocations: 1.522 MB / 12.09 GB, free: 141.3 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005465/51.6, allocations: 0.8772 MB / 12.09 GB, free: 141.3 MB / 1.307 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 () * 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.007209/51.61, allocations: 0.7061 MB / 12.09 GB, free: 141.2 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006128/51.61, allocations: 1.544 MB / 12.09 GB, free: 141.2 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1951/51.81, allocations: 48.44 MB / 12.14 GB, free: 140.5 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001855/51.81, allocations: 88.2 kB / 12.14 GB, free: 140.5 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001263/51.81, allocations: 34 kB / 12.14 GB, free: 140.5 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1739/51.98, allocations: 42.51 MB / 12.18 GB, free: 139.8 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2359/52.22, allocations: 65.68 MB / 12.25 GB, free: 132.2 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000136/52.22, allocations: 0 / 12.25 GB, free: 132.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01052/52.23, allocations: 1.807 MB / 12.25 GB, free: 130.9 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1783/52.41, allocations: 41.67 MB / 12.29 GB, free: 101.5 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002938/52.41, allocations: 335.4 kB / 12.29 GB, free: 101.3 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05604/52.47, allocations: 28.54 MB / 12.32 GB, free: 83.19 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/52.47, allocations: 5.719 kB / 12.32 GB, free: 83.18 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1896/52.66, allocations: 55.76 MB / 12.37 GB, free: 40.11 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01716/52.68, allocations: 3.596 MB / 12.38 GB, free: 37.36 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00807/52.68, allocations: 267.2 kB / 12.38 GB, free: 37.24 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01942/52.7, allocations: 1.271 MB / 12.38 GB, free: 36.11 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003816/52.71, allocations: 0.5674 MB / 12.38 GB, free: 35.61 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00158/52.71, allocations: 347.3 kB / 12.38 GB, free: 35.33 MB / 1.307 GB Notification: Performance of sorting global known variables: time 1.159/53.87, allocations: 11.25 MB / 12.39 GB, free: 157.6 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.122e-06/53.87, allocations: 0 / 12.39 GB, free: 157.6 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.06457/53.93, allocations: 8.745 MB / 12.4 GB, free: 157.6 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 (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): 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 79,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01185/53.94, allocations: 5.628 MB / 12.4 GB, free: 155.7 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.09543/54.04, allocations: 40.86 MB / 12.44 GB, free: 152.5 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 2.51e-05/54.04, allocations: 12.5 kB / 12.44 GB, free: 152.5 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.02301/54.06, allocations: 10.33 MB / 12.45 GB, free: 152.3 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04463/54.11, allocations: 7.618 MB / 12.46 GB, free: 152.1 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06773/54.18, allocations: 29.14 MB / 12.49 GB, free: 146.6 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0168/54.19, allocations: 9.391 MB / 12.5 GB, free: 145.4 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.04526/54.24, allocations: 8.963 MB / 12.51 GB, free: 145.3 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004675/54.24, allocations: 0.9669 MB / 12.51 GB, free: 145.3 MB / 1.307 GB Notification: Performance of SimCode: time 1.142e-06/54.24, allocations: 0 / 12.51 GB, free: 145.3 MB / 1.307 GB Notification: Performance of Templates: time 2.796/57.04, allocations: 0.4896 GB / 13 GB, free: 134.5 MB / 1.323 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)