Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.461/2.461, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.00267/0.00267, allocations: 181.5 kB / 315.4 MB, free: 4.031 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.139/2.139, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 91.94 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.3e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1874, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.843/2.031, allocations: 397.1 MB / 1.272 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/2.031, allocations: 86.83 kB / 1.272 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.72/12.76, allocations: 2.007 GB / 3.279 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/12.76, allocations: 1.875 kB / 3.279 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001256/12.76, allocations: 175 kB / 3.279 GB, free: 124.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02696/12.78, allocations: 5.5 MB / 3.284 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/12.78, allocations: 9.562 kB / 3.284 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/12.79, allocations: 0.7681 MB / 3.285 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02893/12.82, allocations: 7.254 MB / 3.292 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004864/12.82, allocations: 179 kB / 3.292 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/12.82, allocations: 324.8 kB / 3.292 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02043/12.84, allocations: 5.548 MB / 3.298 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/12.87, allocations: 6.501 MB / 3.304 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004046/12.87, allocations: 16.5 kB / 3.304 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002262/12.87, allocations: 7.875 kB / 3.304 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002784/12.87, allocations: 165.2 kB / 3.304 GB, free: 120.9 MB / 0.8855 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.06452/12.94, allocations: 27.95 MB / 3.332 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008065/12.95, allocations: 3.499 MB / 3.335 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005537/12.95, allocations: 2.662 MB / 3.338 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/12.95, allocations: 0.8302 MB / 3.338 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.311e-05/12.95, allocations: 79.34 kB / 3.339 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 6.322e-06/12.95, allocations: 0 / 3.339 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01125/12.96, allocations: 3.594 MB / 3.342 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/12.96, allocations: 79.39 kB / 3.342 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009958/12.97, allocations: 3.911 MB / 3.346 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000876/12.98, allocations: 29.52 kB / 3.346 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003124/12.98, allocations: 2.811 MB / 3.349 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00192/12.98, allocations: 0.932 MB / 3.35 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/12.98, allocations: 0 / 3.35 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000289/12.98, allocations: 460.6 kB / 3.35 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/12.98, allocations: 1.557 MB / 3.352 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/12.99, allocations: 2.752 MB / 3.354 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006523/13, allocations: 2.297 MB / 3.357 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.188e-05/13, allocations: 11.19 kB / 3.357 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01603/13.01, allocations: 5.011 MB / 3.361 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/13.01, allocations: 25.12 kB / 3.361 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.741e-05/13.01, allocations: 38.03 kB / 3.361 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/13.01, allocations: 412.6 kB / 3.362 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006712/13.02, allocations: 0.8739 MB / 3.363 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/13.03, allocations: 5.141 MB / 3.368 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008424/13.04, allocations: 0.528 MB / 3.368 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/13.04, allocations: 181.2 kB / 3.368 GB, free: 100.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001357/13.04, allocations: 218.8 kB / 3.369 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01167/13.05, allocations: 3.591 MB / 3.372 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002558/13.05, allocations: 421.3 kB / 3.373 GB, free: 99.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/13.07, allocations: 3.952 MB / 3.376 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.344e-05/13.07, allocations: 25.94 kB / 3.376 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/13.07, allocations: 7.094 kB / 3.376 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009722/13.08, allocations: 3.515 MB / 3.38 GB, free: 99.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03333/13.11, allocations: 9.676 MB / 3.389 GB, free: 98.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.226e-05/13.11, allocations: 13.31 kB / 3.389 GB, free: 98.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004778/13.12, allocations: 0.5116 MB / 3.39 GB, free: 98.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/13.12, allocations: 354.1 kB / 3.39 GB, free: 98.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006357/13.12, allocations: 52.56 kB / 3.39 GB, free: 98.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007292/13.12, allocations: 5.1 MB / 3.395 GB, free: 95.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/13.12, allocations: 10.22 kB / 3.395 GB, free: 95.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/13.14, allocations: 6.647 MB / 3.402 GB, free: 94.03 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005331/13.15, allocations: 1.104 MB / 3.403 GB, free: 93.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002395/13.15, allocations: 24.55 kB / 3.403 GB, free: 93.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00698/13.16, allocations: 248.6 kB / 3.403 GB, free: 93.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009088/13.16, allocations: 183.4 kB / 3.403 GB, free: 93.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005102/13.16, allocations: 120 kB / 3.403 GB, free: 93.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008032/13.16, allocations: 2.98 MB / 3.406 GB, free: 93.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.553e-06/13.16, allocations: 0 / 3.406 GB, free: 93.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01166/13.18, allocations: 1.848 MB / 3.408 GB, free: 93.16 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/13.2, allocations: 8.985 MB / 3.417 GB, free: 89.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009572/13.2, allocations: 3.996 MB / 3.421 GB, free: 89.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/13.2, allocations: 3.984 kB / 3.421 GB, free: 89.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/13.21, allocations: 1.932 MB / 3.423 GB, free: 89.44 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0203/13.23, allocations: 2.372 MB / 3.425 GB, free: 89.39 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/13.27, allocations: 12.28 MB / 3.437 GB, free: 87.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008444/13.28, allocations: 4.388 MB / 3.441 GB, free: 86.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01026/13.29, allocations: 1.615 MB / 3.443 GB, free: 86.27 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007076/13.29, allocations: 2.398 MB / 3.445 GB, free: 86.26 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/13.29, allocations: 0 / 3.445 GB, free: 86.26 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3037/13.6, allocations: 130.5 MB / 3.573 GB, free: 19.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/13.6, allocations: 189.8 kB / 3.573 GB, free: 19.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/20.7, allocations: 0 / 3.573 GB, free: 19.73 MB / 0.8855 GB