Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001364/0.001364, allocations: 176.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009383/0.000938, allocations: 89.22 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004686, allocations: 11.88 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.975/2.194, allocations: 464.2 MB / 1.433 GB, free: 337.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/2.195, allocations: 102 kB / 1.433 GB, free: 337.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 47.86/50.05, allocations: 8.674 GB / 10.11 GB, free: 82.95 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.256e-06/50.05, allocations: 0 / 10.11 GB, free: 82.95 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.004904/50.06, allocations: 0.5114 MB / 10.11 GB, free: 82.84 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.1128/50.17, allocations: 21.24 MB / 10.13 GB, free: 75.08 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/50.17, allocations: 10.31 kB / 10.13 GB, free: 75.08 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/50.19, allocations: 2.302 MB / 10.13 GB, free: 74.06 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1086/50.3, allocations: 23.76 MB / 10.15 GB, free: 70.69 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/50.3, allocations: 0.7162 MB / 10.15 GB, free: 70.67 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006645/50.3, allocations: 1.02 MB / 10.16 GB, free: 70.65 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05644/50.36, allocations: 16.94 MB / 10.17 GB, free: 68.73 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006244/50.36, allocations: 16.16 kB / 10.17 GB, free: 68.73 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005044/50.37, allocations: 357.3 kB / 10.17 GB, free: 68.73 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003162/50.37, allocations: 220.8 kB / 10.17 GB, free: 68.72 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05505/50.42, allocations: 19.86 MB / 10.19 GB, free: 68.65 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 preOpt removeSimpleEquations (simulation): time 0.2051/50.63, allocations: 79.2 MB / 10.27 GB, free: 34.62 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03046/50.66, allocations: 11.95 MB / 10.28 GB, free: 34.14 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02155/50.68, allocations: 9.149 MB / 10.29 GB, free: 34.07 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 preOpt evalFunc (simulation): time 0.1088/50.79, allocations: 33.1 MB / 10.32 GB, free: 20.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02457/50.81, allocations: 9.32 MB / 10.33 GB, free: 17.09 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.07934/50.89, allocations: 15.12 MB / 10.35 GB, free: 15.56 MB / 1.214 GB Notification: Performance of pre-optimization done (n=582): time 4.265e-05/50.89, allocations: 0 / 10.35 GB, free: 15.56 MB / 1.214 GB Notification: Performance of matching and sorting (n=812): time 3.008/53.9, allocations: 211.4 MB / 10.55 GB, free: 102.4 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007831/53.9, allocations: 2.531 MB / 10.55 GB, free: 99.37 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05212/53.95, allocations: 16.5 MB / 10.57 GB, free: 98.47 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.006011/53.96, allocations: 267.1 kB / 10.57 GB, free: 98.44 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.01471/53.97, allocations: 7.868 MB / 10.58 GB, free: 97.08 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.006951/53.98, allocations: 2.812 MB / 10.58 GB, free: 95.64 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004506/53.99, allocations: 209.3 kB / 10.58 GB, free: 95.64 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.001269/53.99, allocations: 0.7462 MB / 10.58 GB, free: 95.32 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03388/54.02, allocations: 10.47 MB / 10.59 GB, free: 95.27 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0388/54.06, allocations: 14.22 MB / 10.61 GB, free: 91.23 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0757/54.14, allocations: 23.22 MB / 10.63 GB, free: 88.95 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/54.14, allocations: 14.38 kB / 10.63 GB, free: 88.95 MB / 1.229 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.236/55.37, allocations: 131.2 MB / 10.76 GB, free: 73.62 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/55.37, allocations: 1.725 MB / 10.76 GB, free: 71.36 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005729/55.37, allocations: 113 kB / 10.76 GB, free: 71.25 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605/57.98, allocations: 148.4 MB / 10.9 GB, free: 126.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02772/58.01, allocations: 2.801 MB / 10.91 GB, free: 126.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1942/58.2, allocations: 55 MB / 10.96 GB, free: 119.7 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03778/58.24, allocations: 1.56 MB / 10.96 GB, free: 119.7 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006356/58.24, allocations: 0.9208 MB / 10.96 GB, free: 119.7 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/58.24, allocations: 3.375 kB / 10.96 GB, free: 119.7 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.231/59.48, allocations: 129.4 MB / 11.09 GB, free: 118.3 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006115/59.48, allocations: 122 kB / 11.09 GB, free: 118.3 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349/60.82, allocations: 148.3 MB / 11.23 GB, free: 56.61 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02405/60.85, allocations: 2.758 MB / 11.24 GB, free: 54.04 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2098/61.06, allocations: 58.88 MB / 11.29 GB, free: 10.23 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03568/61.09, allocations: 1.528 MB / 11.3 GB, free: 8.953 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005782/61.1, allocations: 0.8789 MB / 11.3 GB, free: 8.16 MB / 1.26 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.02081/61.12, allocations: 4.272 MB / 11.3 GB, free: 5.535 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008959/61.13, allocations: 1.556 MB / 11.3 GB, free: 4.809 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567/62.7, allocations: 51.87 MB / 11.35 GB, free: 134.5 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002168/62.7, allocations: 96.69 kB / 11.35 GB, free: 134.5 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002434/62.7, allocations: 28.91 kB / 11.35 GB, free: 134.5 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3605/63.06, allocations: 45.81 MB / 11.4 GB, free: 133.8 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 0.4525/63.51, allocations: 70.5 MB / 11.47 GB, free: 129.7 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001604/63.51, allocations: 1.969 kB / 11.47 GB, free: 129.7 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01891/63.53, allocations: 1.825 MB / 11.47 GB, free: 129.7 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3445/63.87, allocations: 43.46 MB / 11.51 GB, free: 129.6 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003157/63.88, allocations: 342.4 kB / 11.51 GB, free: 129.6 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0778/63.96, allocations: 26.04 MB / 11.54 GB, free: 122.5 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/63.96, allocations: 0 / 11.54 GB, free: 122.5 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3783/64.33, allocations: 60 MB / 11.6 GB, free: 121.5 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01703/64.35, allocations: 3.646 MB / 11.6 GB, free: 121.4 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009181/64.36, allocations: 278.5 kB / 11.6 GB, free: 121.4 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02846/64.39, allocations: 1.336 MB / 11.6 GB, free: 121.3 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003843/64.39, allocations: 0.5745 MB / 11.6 GB, free: 121.3 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003235/64.4, allocations: 365.4 kB / 11.6 GB, free: 121.3 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.03223/64.43, allocations: 11.2 MB / 11.61 GB, free: 120.9 MB / 1.276 GB Notification: Performance of sort global known variables: time 8.72e-07/64.43, allocations: 0 / 11.61 GB, free: 120.9 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.07239/64.5, allocations: 8.33 MB / 11.62 GB, free: 120.9 MB / 1.276 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 {14 103,14 90,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01461/64.51, allocations: 5.499 MB / 11.63 GB, free: 118.9 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.1571/64.67, allocations: 44.02 MB / 11.67 GB, free: 100.3 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.3e-05/64.67, allocations: 13.69 kB / 11.67 GB, free: 100.3 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.04141/64.71, allocations: 11.72 MB / 11.68 GB, free: 94.39 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08364/64.8, allocations: 7.808 MB / 11.69 GB, free: 90.39 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.107/64.9, allocations: 40.66 MB / 11.73 GB, free: 58.98 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01998/64.92, allocations: 9.083 MB / 11.74 GB, free: 53.26 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03974/64.96, allocations: 5.523 MB / 11.74 GB, free: 49.4 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009197/64.97, allocations: 1.313 MB / 11.74 GB, free: 48.33 MB / 1.276 GB Notification: Performance of SimCode: time 1.203e-06/64.97, allocations: 0 / 11.74 GB, free: 48.33 MB / 1.276 GB Notification: Performance of Templates: time 2.21/67.18, allocations: 436.6 MB / 12.17 GB, free: 31.82 MB / 1.276 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified2.pipe 2>&1)