Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Basic.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.292/2.292, allocations: 251 MB / 265.9 MB, free: 11.67 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.001612/0.001611, allocations: 176.9 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.4 MB / 0.5764 GB, free: 21.14 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.001117/0.001117, allocations: 87.69 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006485, allocations: 16.31 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2252, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.339/1.564, allocations: 456.1 MB / 1.344 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.565, allocations: 96.98 kB / 1.344 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 36.5/38.07, allocations: 6.26 GB / 7.604 GB, free: 81.31 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.577e-06/38.07, allocations: 0 / 7.604 GB, free: 81.31 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004631/38.07, allocations: 0.5289 MB / 7.604 GB, free: 81.19 MB / 1.135 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.1185/38.19, allocations: 21.43 MB / 7.625 GB, free: 73.22 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/38.19, allocations: 9.75 kB / 7.625 GB, free: 73.22 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007165/38.2, allocations: 1.089 MB / 7.626 GB, free: 73.13 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/38.22, allocations: 2.309 MB / 7.629 GB, free: 72.11 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1147/38.34, allocations: 23.57 MB / 7.652 GB, free: 69.38 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00158/38.34, allocations: 0.7236 MB / 7.652 GB, free: 69.36 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00771/38.35, allocations: 1.03 MB / 7.653 GB, free: 69.34 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05789/38.41, allocations: 16.94 MB / 7.67 GB, free: 67.35 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006902/38.41, allocations: 14.78 kB / 7.67 GB, free: 67.34 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005422/38.41, allocations: 355.9 kB / 7.67 GB, free: 67.34 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002954/38.41, allocations: 219.6 kB / 7.67 GB, free: 67.34 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05502/38.47, allocations: 19.87 MB / 7.69 GB, free: 67.21 MB / 1.135 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.2097/38.68, allocations: 78.42 MB / 7.766 GB, free: 32.33 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0322/38.71, allocations: 12.5 MB / 7.779 GB, free: 26.62 MB / 1.135 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.1037/38.81, allocations: 33.46 MB / 7.811 GB, free: 6.008 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02938/38.84, allocations: 9.658 MB / 7.821 GB, free: 15.49 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08662/38.93, allocations: 14.9 MB / 7.835 GB, free: 5.031 MB / 1.151 GB Notification: Performance of pre-optimization done (n=605): time 4.639e-05/38.93, allocations: 4 kB / 7.835 GB, free: 5.027 MB / 1.151 GB Notification: Performance of matching and sorting (n=859): time 2.945/41.87, allocations: 209.4 MB / 8.04 GB, free: 89.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007841/41.87, allocations: 2.534 MB / 8.042 GB, free: 86.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04785/41.92, allocations: 14.87 MB / 8.057 GB, free: 86.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005666/41.93, allocations: 276.8 kB / 8.057 GB, free: 86.09 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01541/41.94, allocations: 7.886 MB / 8.065 GB, free: 84.66 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.008045/41.95, allocations: 2.974 MB / 8.068 GB, free: 83.15 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005667/41.96, allocations: 214.7 kB / 8.068 GB, free: 83.15 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001334/41.96, allocations: 0.7539 MB / 8.069 GB, free: 82.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03207/41.99, allocations: 10.22 MB / 8.079 GB, free: 82.78 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03765/42.03, allocations: 13.97 MB / 8.092 GB, free: 78.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03797/42.07, allocations: 11.59 MB / 8.104 GB, free: 78.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/42.07, allocations: 11 kB / 8.104 GB, free: 78.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 1.273/43.34, allocations: 130.8 MB / 8.231 GB, free: 11.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01132/43.35, allocations: 32.97 MB / 8.264 GB, free: 9.453 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007299/43.35, allocations: 111.2 kB / 8.264 GB, free: 9.348 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605/45.96, allocations: 152.5 MB / 8.413 GB, free: 133.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03005/45.99, allocations: 2.39 MB / 8.415 GB, free: 133.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3152/46.3, allocations: 79.02 MB / 8.492 GB, free: 126.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03541/46.34, allocations: 1.394 MB / 8.493 GB, free: 126.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006219/46.34, allocations: 0.9185 MB / 8.494 GB, free: 126.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/46.34, allocations: 3 kB / 8.494 GB, free: 126.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.268/47.61, allocations: 129.3 MB / 8.621 GB, free: 88.16 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005872/47.61, allocations: 103.9 kB / 8.621 GB, free: 88.06 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671/50.28, allocations: 152.7 MB / 8.77 GB, free: 155.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02144/50.31, allocations: 2.366 MB / 8.772 GB, free: 155.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3444/50.65, allocations: 86.42 MB / 8.857 GB, free: 151.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03477/50.68, allocations: 1.372 MB / 8.858 GB, free: 151.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006184/50.69, allocations: 0.8669 MB / 8.859 GB, free: 151.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (989): * Single equations (assignments): 909 * 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 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.02161/50.71, allocations: 4.296 MB / 8.863 GB, free: 151.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009804/50.72, allocations: 1.558 MB / 8.864 GB, free: 151.6 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3788/51.1, allocations: 52 MB / 8.915 GB, free: 150.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002511/51.1, allocations: 109.5 kB / 8.915 GB, free: 150.7 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002407/51.1, allocations: 29.66 kB / 8.915 GB, free: 150.7 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3389/51.44, allocations: 45.84 MB / 8.96 GB, free: 149.8 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4136/51.85, allocations: 70.93 MB / 9.029 GB, free: 145.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001558/51.85, allocations: 6 kB / 9.029 GB, free: 145.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01607/51.87, allocations: 1.573 MB / 9.031 GB, free: 145.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3482/52.22, allocations: 44.75 MB / 9.075 GB, free: 116.3 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003365/52.22, allocations: 348 kB / 9.075 GB, free: 116.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1191/52.34, allocations: 34.26 MB / 9.108 GB, free: 95.59 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/52.34, allocations: 0 / 9.108 GB, free: 95.59 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3765/52.72, allocations: 60.09 MB / 9.167 GB, free: 48.81 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01662/52.73, allocations: 3.701 MB / 9.171 GB, free: 45.09 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008377/52.74, allocations: 291.8 kB / 9.171 GB, free: 44.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02637/52.77, allocations: 1.194 MB / 9.172 GB, free: 43.72 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004851/52.77, allocations: 0.6064 MB / 9.173 GB, free: 43.11 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003289/52.78, allocations: 356.3 kB / 9.173 GB, free: 42.77 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03461/52.81, allocations: 11.4 MB / 9.184 GB, free: 31.46 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.174e-06/52.81, allocations: 0 / 9.184 GB, free: 31.46 MB / 1.229 GB Notification: Performance of remove unused functions: time 1.261/54.07, allocations: 8.791 MB / 9.193 GB, free: 169 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 (668): * Single equations (assignments): 644 * 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 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.4/54.47, allocations: 65.33 MB / 9.257 GB, free: 165.4 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1637/54.64, allocations: 44.55 MB / 9.3 GB, free: 162 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-05/54.64, allocations: 10.09 kB / 9.3 GB, free: 162 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04392/54.68, allocations: 11.98 MB / 9.312 GB, free: 161.6 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06943/54.75, allocations: 7.788 MB / 9.319 GB, free: 161.5 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1577/54.91, allocations: 88.42 MB / 9.406 GB, free: 103 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02585/54.93, allocations: 9.486 MB / 9.415 GB, free: 101.9 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04054/54.97, allocations: 5.11 MB / 9.42 GB, free: 101.4 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02486/55, allocations: 8.18 MB / 9.428 GB, free: 101.4 MB / 1.229 GB Notification: Performance of SimCode: time 1.854e-06/55, allocations: 0 / 9.428 GB, free: 101.4 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.726/58.73, allocations: 0.631 GB / 10.06 GB, free: 7.719 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/58.73, allocations: 241.9 kB / 10.06 GB, free: 7.441 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.07/95.8, allocations: 0.75 kB / 10.06 GB, free: 7.441 MB / 1.261 GB