Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified1",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.142/2.142, allocations: 248.5 MB / 261.1 MB, free: 6.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 172.8 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001146/0.001145, allocations: 86.5 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.59e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.093, allocations: 456.2 MB / 1.336 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/2.093, allocations: 91.64 kB / 1.336 GB, free: 245 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 47.57/49.67, allocations: 8.459 GB / 9.795 GB, free: 95.24 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.625e-06/49.67, allocations: 4 kB / 9.795 GB, free: 95.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004984/49.67, allocations: 0.516 MB / 9.796 GB, free: 95.08 MB / 1.151 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.07011/49.74, allocations: 14.14 MB / 9.81 GB, free: 88.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/49.74, allocations: 12.59 kB / 9.81 GB, free: 88.75 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006069/49.75, allocations: 1.058 MB / 9.811 GB, free: 88.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/49.77, allocations: 2.301 MB / 9.813 GB, free: 87.63 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1059/49.87, allocations: 23.23 MB / 9.836 GB, free: 81.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/49.87, allocations: 0.7163 MB / 9.836 GB, free: 81.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006694/49.88, allocations: 1.023 MB / 9.837 GB, free: 80.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0542/49.94, allocations: 16.54 MB / 9.853 GB, free: 67.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005867/49.94, allocations: 15.88 kB / 9.853 GB, free: 67.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004991/49.94, allocations: 360 kB / 9.854 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/49.94, allocations: 211.9 kB / 9.854 GB, free: 67.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05007/49.99, allocations: 19.39 MB / 9.873 GB, free: 49.6 MB / 1.151 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 1.389/51.38, allocations: 79.18 MB / 9.95 GB, free: 87.52 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03137/51.41, allocations: 11.61 MB / 9.962 GB, free: 87.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02169/51.43, allocations: 8.952 MB / 9.97 GB, free: 87.02 MB / 1.151 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.1141/51.55, allocations: 33.12 MB / 10 GB, free: 78.73 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02457/51.57, allocations: 9.071 MB / 10.01 GB, free: 78.56 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08451/51.66, allocations: 15.14 MB / 10.03 GB, free: 78.56 MB / 1.151 GB Notification: Performance of pre-optimization done (n=582): time 5.81e-05/51.66, allocations: 0 / 10.03 GB, free: 78.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=812): time 1.497/53.15, allocations: 169 MB / 10.19 GB, free: 69.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007607/53.16, allocations: 2.53 MB / 10.19 GB, free: 66.19 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04734/53.2, allocations: 14.75 MB / 10.21 GB, free: 65.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005304/53.21, allocations: 264.6 kB / 10.21 GB, free: 65.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01461/53.22, allocations: 7.908 MB / 10.22 GB, free: 63.89 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.007115/53.23, allocations: 2.824 MB / 10.22 GB, free: 62.45 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004791/53.23, allocations: 208.9 kB / 10.22 GB, free: 62.45 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001251/53.24, allocations: 0.7443 MB / 10.22 GB, free: 62.13 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02613/53.26, allocations: 9.492 MB / 10.23 GB, free: 62.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03066/53.29, allocations: 13.17 MB / 10.24 GB, free: 58.09 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0306/53.32, allocations: 10.87 MB / 10.25 GB, free: 57.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/53.32, allocations: 11.53 kB / 10.25 GB, free: 57.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.421/55.74, allocations: 128.2 MB / 10.38 GB, free: 115.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006915/55.75, allocations: 36.69 MB / 10.41 GB, free: 77.92 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000655/55.75, allocations: 120.4 kB / 10.41 GB, free: 77.92 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375/57.13, allocations: 147.8 MB / 10.56 GB, free: 77.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02639/57.15, allocations: 2.577 MB / 10.56 GB, free: 77.77 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2841/57.44, allocations: 73.61 MB / 10.63 GB, free: 70.37 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03632/57.47, allocations: 1.436 MB / 10.63 GB, free: 70.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006166/57.48, allocations: 0.9167 MB / 10.63 GB, free: 70.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/57.48, allocations: 3.531 kB / 10.63 GB, free: 70.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.249/58.73, allocations: 126.9 MB / 10.76 GB, free: 7.879 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006653/58.73, allocations: 115.2 kB / 10.76 GB, free: 7.77 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568/61.3, allocations: 147.5 MB / 10.9 GB, free: 155.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02315/61.32, allocations: 2.556 MB / 10.91 GB, free: 155.6 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3044/61.63, allocations: 77.34 MB / 10.98 GB, free: 151 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03492/61.66, allocations: 1.413 MB / 10.98 GB, free: 151 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005828/61.67, allocations: 0.8708 MB / 10.98 GB, free: 151 MB / 1.229 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.009381/61.68, allocations: 0.7218 MB / 10.98 GB, free: 150.9 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008936/61.69, allocations: 1.55 MB / 10.99 GB, free: 150.9 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3528/62.04, allocations: 49.18 MB / 11.03 GB, free: 150.2 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000216/62.04, allocations: 96.66 kB / 11.03 GB, free: 150.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000132/62.04, allocations: 27.38 kB / 11.03 GB, free: 150.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3184/62.36, allocations: 43.19 MB / 11.08 GB, free: 149.5 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.414/62.77, allocations: 67.51 MB / 11.14 GB, free: 131.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001582/62.77, allocations: 4 kB / 11.14 GB, free: 131.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01816/62.79, allocations: 1.725 MB / 11.14 GB, free: 130.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3403/63.13, allocations: 42.74 MB / 11.19 GB, free: 97.88 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003129/63.13, allocations: 344.8 kB / 11.19 GB, free: 97.69 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/63.24, allocations: 30.8 MB / 11.22 GB, free: 75.82 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/63.24, allocations: 3.953 kB / 11.22 GB, free: 75.81 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4026/63.64, allocations: 56.57 MB / 11.27 GB, free: 30.08 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215/64.86, allocations: 3.622 MB / 11.27 GB, free: 174.8 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009054/64.87, allocations: 273.8 kB / 11.27 GB, free: 174.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02873/64.9, allocations: 1.213 MB / 11.28 GB, free: 174.8 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005613/64.9, allocations: 0.5891 MB / 11.28 GB, free: 174.8 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003674/64.9, allocations: 349.3 kB / 11.28 GB, free: 174.8 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.04035/64.95, allocations: 11.25 MB / 11.29 GB, free: 174.3 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.072e-06/64.95, allocations: 0 / 11.29 GB, free: 174.3 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.07664/65.02, allocations: 8.784 MB / 11.3 GB, free: 174.3 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) * 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.3966/65.42, allocations: 62.05 MB / 11.36 GB, free: 170.8 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.181/65.6, allocations: 42.66 MB / 11.4 GB, free: 167.5 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.773e-05/65.6, allocations: 7.938 kB / 11.4 GB, free: 167.5 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.05465/65.65, allocations: 11.12 MB / 11.41 GB, free: 167.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06912/65.72, allocations: 7.774 MB / 11.42 GB, free: 167.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1232/65.85, allocations: 33.95 MB / 11.45 GB, free: 161.1 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0326/65.88, allocations: 9.438 MB / 11.46 GB, free: 160 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.08674/65.97, allocations: 8.953 MB / 11.47 GB, free: 159.8 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02213/65.99, allocations: 7.853 MB / 11.48 GB, free: 159.8 MB / 1.229 GB Notification: Performance of SimCode: time 1.513e-06/65.99, allocations: 2.297 kB / 11.48 GB, free: 159.8 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.809/69.8, allocations: 0.6428 GB / 12.12 GB, free: 2.891 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/69.8, allocations: 225.9 kB / 12.12 GB, free: 2.664 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.87/113.7, allocations: 0 / 12.12 GB, free: 2.664 MB / 1.229 GB