Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0008417/0.0008417, allocations: 170.1 kB / 325.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205 MB / 0.576 GB, free: 20.89 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.0006486/0.0006486, allocations: 94.72 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 9.375 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03147/0.1835, allocations: 48.67 MB / 0.9437 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.1965, allocations: 13.71 MB / 0.9571 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.1984, allocations: 59.62 kB / 0.9572 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1999, allocations: 0.6525 MB / 0.9578 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003946/0.2039, allocations: 2.068 MB / 0.9598 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.206, allocations: 1.137 MB / 0.9609 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02052/0.2265, allocations: 25.5 MB / 0.9858 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008416/0.235, allocations: 7.728 MB / 0.9934 GB, free: 96 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00726/0.2423, allocations: 4.808 MB / 0.9981 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007096/0.2494, allocations: 5.231 MB / 1.003 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007894/0.2502, allocations: 304 kB / 1.003 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.2536, allocations: 0.9905 MB / 1.004 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.2549, allocations: 1.397 MB / 1.006 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00389/0.2587, allocations: 3.479 MB / 1.009 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009356/0.2681, allocations: 11.12 MB / 1.02 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2681, allocations: 0 / 1.02 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2681, allocations: 4 kB / 1.02 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002013/0.2684, allocations: 0 / 1.02 GB, free: 4.664 MB / 0.6667 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.01006/0.2784, allocations: 6.198 MB / 1.026 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2785, allocations: 8.031 kB / 1.026 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.2795, allocations: 0.7564 MB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.2814, allocations: 0.7776 MB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008776/0.2902, allocations: 6.163 MB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.2905, allocations: 419.2 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006868/0.2912, allocations: 0.5428 MB / 1.035 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/0.3026, allocations: 7.969 MB / 1.042 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.3027, allocations: 19.78 kB / 1.042 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.3032, allocations: 232 kB / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.3034, allocations: 164 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.314, allocations: 6.563 MB / 1.049 GB, free: 6.488 MB / 0.698 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.3525/0.6666, allocations: 30.54 MB / 1.079 GB, free: 126.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005184/0.6718, allocations: 3.766 MB / 1.083 GB, free: 125.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/0.6751, allocations: 2.848 MB / 1.085 GB, free: 124.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.6759, allocations: 0.8424 MB / 1.086 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.6759, allocations: 68.64 kB / 1.086 GB, free: 123.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 4.578e-06/0.6759, allocations: 0 / 1.086 GB, free: 123.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.009168/0.6851, allocations: 5.851 MB / 1.092 GB, free: 120.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.6852, allocations: 80.23 kB / 1.092 GB, free: 120.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006872/0.692, allocations: 4.948 MB / 1.097 GB, free: 118.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.6923, allocations: 79.83 kB / 1.097 GB, free: 118.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.694, allocations: 2.829 MB / 1.1 GB, free: 115.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/0.6947, allocations: 0.9593 MB / 1.101 GB, free: 115 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.695, allocations: 311.1 kB / 1.101 GB, free: 114.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.6951, allocations: 307.6 kB / 1.101 GB, free: 114.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.6972, allocations: 1.701 MB / 1.103 GB, free: 113.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.7, allocations: 2.926 MB / 1.106 GB, free: 111.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/0.7049, allocations: 4.964 MB / 1.111 GB, free: 107.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/0.705, allocations: 8 kB / 1.111 GB, free: 107.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007299/0.7123, allocations: 5.482 MB / 1.116 GB, free: 101.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.7123, allocations: 22.66 kB / 1.116 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.795e-05/0.7124, allocations: 43.94 kB / 1.116 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.7132, allocations: 421.5 kB / 1.117 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/0.7157, allocations: 0.8658 MB / 1.117 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/0.7198, allocations: 5.268 MB / 1.123 GB, free: 94.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/0.7239, allocations: 0.6432 MB / 1.123 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.7242, allocations: 180 kB / 1.123 GB, free: 94.03 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003217/0.7274, allocations: 2.268 MB / 1.126 GB, free: 91.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/0.7287, allocations: 474.3 kB / 1.126 GB, free: 91.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/0.7348, allocations: 4.235 MB / 1.13 GB, free: 87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.7348, allocations: 35.94 kB / 1.13 GB, free: 86.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.7348, allocations: 8 kB / 1.13 GB, free: 86.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004236/0.7391, allocations: 3.68 MB / 1.134 GB, free: 83.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.7565, allocations: 10.54 MB / 1.144 GB, free: 72.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.7566, allocations: 12.12 kB / 1.144 GB, free: 72.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/0.7585, allocations: 0.5148 MB / 1.145 GB, free: 71.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007432/0.7593, allocations: 365.4 kB / 1.145 GB, free: 71.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.7595, allocations: 79.95 kB / 1.145 GB, free: 71.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/0.7635, allocations: 5.205 MB / 1.15 GB, free: 66.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7636, allocations: 7.938 kB / 1.15 GB, free: 66.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/0.7714, allocations: 6.353 MB / 1.156 GB, free: 59.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002486/0.774, allocations: 1.061 MB / 1.157 GB, free: 58.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/0.7751, allocations: 63.98 kB / 1.157 GB, free: 58.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/0.7785, allocations: 338.2 kB / 1.158 GB, free: 57.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.7788, allocations: 177.7 kB / 1.158 GB, free: 57.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/0.779, allocations: 119.9 kB / 1.158 GB, free: 57.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004894/0.7839, allocations: 3.63 MB / 1.162 GB, free: 54.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7839, allocations: 0 / 1.162 GB, free: 54.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004805/0.7887, allocations: 1.776 MB / 1.163 GB, free: 52.32 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009354/0.7981, allocations: 7.288 MB / 1.17 GB, free: 44.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005814/0.8039, allocations: 4.311 MB / 1.175 GB, free: 40.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.804, allocations: 0 / 1.175 GB, free: 40.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.8063, allocations: 2.071 MB / 1.177 GB, free: 38.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01688/0.8232, allocations: 3.298 MB / 1.18 GB, free: 35.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/0.9284, allocations: 58.28 MB / 1.237 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/0.9325, allocations: 4.286 MB / 1.241 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005444/0.938, allocations: 1.842 MB / 1.243 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/0.9411, allocations: 2.389 MB / 1.245 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.9411, allocations: 4 kB / 1.245 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9353/1.876, allocations: 149.8 MB / 1.391 GB, free: 292.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.877, allocations: 290.1 kB / 1.392 GB, free: 292.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.116/7.993, allocations: 0 / 1.392 GB, free: 292.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)