Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",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.187/2.187, allocations: 248.5 MB / 261.1 MB, free: 6.004 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.001505/0.001504, allocations: 176.8 kB / 320.4 MB, free: 15.34 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.882/1.882, 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.001096/0.001096, allocations: 97.56 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.523e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.965/2.237, allocations: 456.5 MB / 1.336 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/2.237, allocations: 94.39 kB / 1.337 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 52.22/54.46, allocations: 9.225 GB / 10.56 GB, free: 69.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.485e-06/54.46, allocations: 3 kB / 10.56 GB, free: 69.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.005307/54.47, allocations: 0.5028 MB / 10.56 GB, free: 68.92 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.07334/54.54, allocations: 14.14 MB / 10.58 GB, free: 62.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/54.54, allocations: 8.531 kB / 10.58 GB, free: 62.93 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006574/54.55, allocations: 1.058 MB / 10.58 GB, free: 62.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02071/54.57, allocations: 2.305 MB / 10.58 GB, free: 61.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1118/54.68, allocations: 23.22 MB / 10.6 GB, free: 59.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/54.68, allocations: 0.7129 MB / 10.6 GB, free: 59.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007124/54.69, allocations: 1.02 MB / 10.6 GB, free: 59.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05654/54.74, allocations: 16.5 MB / 10.62 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007201/54.75, allocations: 13.33 kB / 10.62 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00513/54.75, allocations: 357.2 kB / 10.62 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003194/54.75, allocations: 214.3 kB / 10.62 GB, free: 57.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05265/54.8, allocations: 19.36 MB / 10.64 GB, free: 57.19 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 0.2166/55.02, allocations: 79.53 MB / 10.72 GB, free: 22.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/55.05, allocations: 11.38 MB / 10.73 GB, free: 22.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02207/55.07, allocations: 9.261 MB / 10.74 GB, free: 20.11 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.1099/55.18, allocations: 32.9 MB / 10.77 GB, free: 2.527 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02547/55.21, allocations: 9.071 MB / 10.78 GB, free: 15.65 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08373/55.29, allocations: 15.13 MB / 10.79 GB, free: 8.207 MB / 1.167 GB Notification: Performance of pre-optimization done (n=561): time 5.507e-05/55.29, allocations: 0 / 10.79 GB, free: 8.207 MB / 1.167 GB Notification: Performance of matching and sorting (n=772): time 2.753/58.04, allocations: 167.1 MB / 10.96 GB, free: 84.66 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007293/58.04, allocations: 2.528 MB / 10.96 GB, free: 81.65 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04971/58.09, allocations: 14.74 MB / 10.97 GB, free: 80.76 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005911/58.1, allocations: 260.3 kB / 10.97 GB, free: 80.73 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01618/58.11, allocations: 7.882 MB / 10.98 GB, free: 79.37 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00722/58.12, allocations: 2.691 MB / 10.98 GB, free: 78 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005087/58.13, allocations: 208.2 kB / 10.98 GB, free: 78 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001388/58.13, allocations: 0.7409 MB / 10.98 GB, free: 77.67 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03234/58.16, allocations: 9.371 MB / 10.99 GB, free: 77.65 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03073/58.19, allocations: 13.03 MB / 11.01 GB, free: 73.64 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03083/58.22, allocations: 10.73 MB / 11.02 GB, free: 73.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/58.22, allocations: 13.28 kB / 11.02 GB, free: 73.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.343/59.57, allocations: 127.6 MB / 11.14 GB, free: 58.66 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007248/59.57, allocations: 38.28 MB / 11.18 GB, free: 19.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006179/59.57, allocations: 116 kB / 11.18 GB, free: 19.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602/62.18, allocations: 146 MB / 11.32 GB, free: 129.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02662/62.2, allocations: 2.578 MB / 11.32 GB, free: 129.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.281/62.48, allocations: 71.13 MB / 11.39 GB, free: 123.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03625/62.52, allocations: 1.442 MB / 11.39 GB, free: 123.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006174/62.53, allocations: 0.907 MB / 11.4 GB, free: 123.3 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/62.53, allocations: 3.531 kB / 11.4 GB, free: 123.3 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.257/63.78, allocations: 126.3 MB / 11.52 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006057/63.78, allocations: 119 kB / 11.52 GB, free: 121.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343/65.13, allocations: 146.4 MB / 11.66 GB, free: 7.211 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02367/65.15, allocations: 2.569 MB / 11.66 GB, free: 4.824 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525/66.67, allocations: 75.4 MB / 11.74 GB, free: 158.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05068/66.73, allocations: 1.406 MB / 11.74 GB, free: 158.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007411/66.73, allocations: 0.8633 MB / 11.74 GB, free: 158.3 MB / 1.245 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.009896/66.74, allocations: 0.7133 MB / 11.74 GB, free: 158.2 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009268/66.75, allocations: 1.541 MB / 11.74 GB, free: 158.2 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3503/67.1, allocations: 48.33 MB / 11.79 GB, free: 157.6 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002059/67.1, allocations: 96.95 kB / 11.79 GB, free: 157.6 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001199/67.1, allocations: 28.53 kB / 11.79 GB, free: 157.6 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3172/67.42, allocations: 42.42 MB / 11.83 GB, free: 156.9 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3904/67.81, allocations: 65.45 MB / 11.9 GB, free: 152.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001422/67.81, allocations: 3.359 kB / 11.9 GB, free: 152.8 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01815/67.83, allocations: 1.689 MB / 11.9 GB, free: 152.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.366/68.2, allocations: 41.67 MB / 11.94 GB, free: 152.7 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003232/68.2, allocations: 334.3 kB / 11.94 GB, free: 152.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1043/68.3, allocations: 28.55 MB / 11.97 GB, free: 146.8 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/68.3, allocations: 3.031 kB / 11.97 GB, free: 146.8 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3598/68.66, allocations: 55.55 MB / 12.02 GB, free: 126.5 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01765/68.68, allocations: 3.57 MB / 12.02 GB, free: 124.3 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008988/68.69, allocations: 271.5 kB / 12.02 GB, free: 124.2 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02742/68.72, allocations: 1.151 MB / 12.02 GB, free: 123.6 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004451/68.72, allocations: 0.5572 MB / 12.03 GB, free: 123.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003101/68.72, allocations: 338.8 kB / 12.03 GB, free: 123.1 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.03339/68.76, allocations: 11.26 MB / 12.04 GB, free: 116.7 MB / 1.245 GB Notification: Performance of sort global known variables: time 8.51e-07/68.76, allocations: 3.125 kB / 12.04 GB, free: 116.7 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.08093/68.84, allocations: 8.72 MB / 12.05 GB, free: 109 MB / 1.245 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.3566/69.2, allocations: 61.15 MB / 12.1 GB, free: 73.46 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.1311/69.33, allocations: 40.67 MB / 12.14 GB, free: 39.75 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.133e-05/69.33, allocations: 14.28 kB / 12.14 GB, free: 39.75 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.0336/69.36, allocations: 10.25 MB / 12.15 GB, free: 30.49 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.302/70.66, allocations: 7.729 MB / 12.16 GB, free: 152.7 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/70.8, allocations: 33.67 MB / 12.2 GB, free: 147.1 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0246/70.83, allocations: 9.389 MB / 12.2 GB, free: 145.9 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.08048/70.91, allocations: 8.941 MB / 12.21 GB, free: 145.8 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03063/70.94, allocations: 7.774 MB / 12.22 GB, free: 145.8 MB / 1.245 GB Notification: Performance of SimCode: time 1.683e-06/70.94, allocations: 0 / 12.22 GB, free: 145.8 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.91/74.85, allocations: 0.6375 GB / 12.86 GB, free: 150.7 MB / 1.261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/74.85, allocations: 229.6 kB / 12.86 GB, free: 150.5 MB / 1.261 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.94/116.8, allocations: 0 / 12.86 GB, free: 150.5 MB / 1.261 GB