Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 289.7 MB / 302.2 MB, free: 2.094 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.001268/0.001267, allocations: 184.6 kB / 371.6 MB, free: 3.371 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.683/1.683, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009675/0.0009671, allocations: 92.88 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.031e-05/8.042e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2979, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.823/2.121, allocations: 465.1 MB / 1.434 GB, free: 256.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/2.121, allocations: 93.12 kB / 1.434 GB, free: 256.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 37.28/39.41, allocations: 8.698 GB / 10.13 GB, free: 78.83 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.005e-06/39.41, allocations: 0 / 10.13 GB, free: 78.83 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.005646/39.41, allocations: 0.5107 MB / 10.13 GB, free: 78.72 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.06787/39.48, allocations: 14.15 MB / 10.15 GB, free: 72.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/39.48, allocations: 7.281 kB / 10.15 GB, free: 72.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02109/39.5, allocations: 2.314 MB / 10.15 GB, free: 71.57 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07875/39.58, allocations: 23.25 MB / 10.17 GB, free: 68.62 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/39.58, allocations: 0.7188 MB / 10.17 GB, free: 68.61 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006361/39.59, allocations: 1.022 MB / 10.17 GB, free: 68.58 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/39.64, allocations: 16.62 MB / 10.19 GB, free: 66.61 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006706/39.64, allocations: 11.47 kB / 10.19 GB, free: 66.6 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005119/39.64, allocations: 361.8 kB / 10.19 GB, free: 66.6 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/39.64, allocations: 217.6 kB / 10.19 GB, free: 66.59 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04058/39.68, allocations: 19.46 MB / 10.21 GB, free: 66.47 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.1612/39.84, allocations: 79.34 MB / 10.29 GB, free: 21.14 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02479/39.87, allocations: 11.69 MB / 10.3 GB, free: 10.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01746/39.89, allocations: 8.974 MB / 10.31 GB, free: 2.5 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.184/41.07, allocations: 33.24 MB / 10.34 GB, free: 104.7 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01993/41.09, allocations: 9.143 MB / 10.35 GB, free: 104.5 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0495/41.14, allocations: 15.14 MB / 10.36 GB, free: 104.5 MB / 1.229 GB Notification: Performance of pre-optimization done (n=582): time 5.814e-05/41.14, allocations: 1.781 kB / 10.36 GB, free: 104.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=812): time 0.7381/41.88, allocations: 171 MB / 10.53 GB, free: 95.65 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006756/41.88, allocations: 2.529 MB / 10.53 GB, free: 92.64 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03563/41.91, allocations: 14.74 MB / 10.55 GB, free: 91.76 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.004667/41.92, allocations: 266.2 kB / 10.55 GB, free: 91.73 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01074/41.93, allocations: 7.912 MB / 10.55 GB, free: 90.36 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.005678/41.94, allocations: 2.82 MB / 10.56 GB, free: 88.92 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00331/41.94, allocations: 206.4 kB / 10.56 GB, free: 88.92 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0008886/41.94, allocations: 0.7458 MB / 10.56 GB, free: 88.6 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01556/41.95, allocations: 9.557 MB / 10.57 GB, free: 88.57 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02018/41.98, allocations: 13.24 MB / 10.58 GB, free: 84.56 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01952/41.99, allocations: 10.9 MB / 10.59 GB, free: 84.22 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/41.99, allocations: 16.19 kB / 10.59 GB, free: 84.22 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 0.5834/42.58, allocations: 128.3 MB / 10.72 GB, free: 40.06 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.006811/42.59, allocations: 36.69 MB / 10.75 GB, free: 2.457 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005714/42.59, allocations: 119.9 kB / 10.75 GB, free: 2.34 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787/44.37, allocations: 146.9 MB / 10.9 GB, free: 141.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01574/44.39, allocations: 2.696 MB / 10.9 GB, free: 141.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1735/44.56, allocations: 73.2 MB / 10.97 GB, free: 134.1 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03058/44.59, allocations: 1.557 MB / 10.97 GB, free: 134.1 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006652/44.6, allocations: 0.9149 MB / 10.97 GB, free: 134.1 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/44.6, allocations: 3.438 kB / 10.97 GB, free: 134.1 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6108/45.21, allocations: 127 MB / 11.1 GB, free: 131.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007481/45.21, allocations: 115.3 kB / 11.1 GB, free: 131.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6076/45.82, allocations: 147.3 MB / 11.24 GB, free: 7.859 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/45.83, allocations: 2.67 MB / 11.24 GB, free: 5.363 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359/47.19, allocations: 77 MB / 11.32 GB, free: 168.4 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02636/47.22, allocations: 1.526 MB / 11.32 GB, free: 168.4 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005493/47.22, allocations: 0.8729 MB / 11.32 GB, free: 168.4 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.007751/47.23, allocations: 0.7219 MB / 11.32 GB, free: 168.3 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007929/47.24, allocations: 1.558 MB / 11.32 GB, free: 168.3 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2011/47.44, allocations: 49.26 MB / 11.37 GB, free: 167.6 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002105/47.44, allocations: 94.22 kB / 11.37 GB, free: 167.6 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001871/47.44, allocations: 27.72 kB / 11.37 GB, free: 167.6 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1777/47.62, allocations: 43.25 MB / 11.41 GB, free: 166.9 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2344/47.85, allocations: 67.74 MB / 11.48 GB, free: 162.7 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-05/47.85, allocations: 0 / 11.48 GB, free: 162.7 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01031/47.86, allocations: 1.841 MB / 11.48 GB, free: 162.7 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1756/48.04, allocations: 42.26 MB / 11.52 GB, free: 162.6 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003295/48.04, allocations: 341.4 kB / 11.52 GB, free: 162.6 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06234/48.1, allocations: 30.53 MB / 11.55 GB, free: 155.5 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/48.1, allocations: 7 kB / 11.55 GB, free: 155.5 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1994/48.3, allocations: 56.76 MB / 11.61 GB, free: 136.8 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01594/48.32, allocations: 3.655 MB / 11.61 GB, free: 134.6 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007511/48.33, allocations: 274.5 kB / 11.61 GB, free: 134.5 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01853/48.35, allocations: 1.333 MB / 11.61 GB, free: 133.8 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003486/48.35, allocations: 0.5923 MB / 11.61 GB, free: 133.5 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00247/48.35, allocations: 358.9 kB / 11.61 GB, free: 133.3 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.02442/48.38, allocations: 11.25 MB / 11.63 GB, free: 126.9 MB / 1.307 GB Notification: Performance of sort global known variables: time 4.31e-07/48.38, allocations: 0 / 11.63 GB, free: 126.9 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.05341/48.43, allocations: 8.8 MB / 11.63 GB, free: 119.2 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/48.44, allocations: 5.652 MB / 11.64 GB, free: 114.9 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.08391/48.53, allocations: 41.67 MB / 11.68 GB, free: 89.45 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/48.53, allocations: 11.08 kB / 11.68 GB, free: 89.44 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.02196/48.55, allocations: 10.66 MB / 11.69 GB, free: 79.82 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04375/48.59, allocations: 7.768 MB / 11.7 GB, free: 74.62 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06842/48.66, allocations: 29.42 MB / 11.73 GB, free: 48.86 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01509/48.68, allocations: 9.436 MB / 11.74 GB, free: 42.3 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.04407/48.72, allocations: 8.978 MB / 11.74 GB, free: 36.45 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005907/48.73, allocations: 0.9762 MB / 11.75 GB, free: 35.6 MB / 1.307 GB Notification: Performance of SimCode: time 7.12e-07/48.73, allocations: 1.641 kB / 11.75 GB, free: 35.6 MB / 1.307 GB Notification: Performance of Templates: time 3.739/52.47, allocations: 0.4975 GB / 12.24 GB, free: 215 MB / 1.37 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)