Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.456/2.456, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 71.31 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.265, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0654/0.3304, allocations: 49.01 MB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.3471, allocations: 13.81 MB / 1.114 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.3489, allocations: 63.62 kB / 1.114 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.3507, allocations: 0.6681 MB / 1.114 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.3552, allocations: 2.08 MB / 1.116 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.3578, allocations: 1.196 MB / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0205/0.3783, allocations: 25.63 MB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008964/0.3873, allocations: 8.091 MB / 1.15 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007891/0.3952, allocations: 4.992 MB / 1.155 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007791/0.4031, allocations: 5.594 MB / 1.161 GB, free: 8.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.4042, allocations: 424 kB / 1.161 GB, free: 8.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.4078, allocations: 1.1 MB / 1.162 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.4094, allocations: 1.623 MB / 1.164 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005019/0.4144, allocations: 3.744 MB / 1.167 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.4252, allocations: 11.57 MB / 1.179 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4252, allocations: 3.938 kB / 1.179 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4252, allocations: 0 / 1.179 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002773/0.4255, allocations: 0 / 1.179 GB, free: 6.172 MB / 0.9356 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.01555/0.4411, allocations: 7.713 MB / 1.186 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.4411, allocations: 11.97 kB / 1.186 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.4423, allocations: 0.7681 MB / 1.187 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.4448, allocations: 0.7814 MB / 1.188 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.4558, allocations: 6.248 MB / 1.194 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.4561, allocations: 419.2 kB / 1.194 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.4574, allocations: 0.5468 MB / 1.195 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/0.4716, allocations: 8.065 MB / 1.203 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.4717, allocations: 23.77 kB / 1.203 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006019/0.4723, allocations: 240 kB / 1.203 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.4725, allocations: 163.9 kB / 1.203 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.4833, allocations: 6.52 MB / 1.209 GB, free: 6.281 MB / 0.9669 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.04201/0.5253, allocations: 31.12 MB / 1.24 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006287/0.5316, allocations: 3.655 MB / 1.243 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4641/0.9958, allocations: 2.802 MB / 1.246 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.9969, allocations: 0.825 MB / 1.247 GB, free: 175 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.86e-05/0.997, allocations: 72.48 kB / 1.247 GB, free: 175 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 8.757e-06/0.997, allocations: 0 / 1.247 GB, free: 175 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.01111/1.008, allocations: 5.761 MB / 1.253 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/1.008, allocations: 87.88 kB / 1.253 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006785/1.015, allocations: 5.027 MB / 1.258 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/1.015, allocations: 77.05 kB / 1.258 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.017, allocations: 2.867 MB / 1.261 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009471/1.018, allocations: 0.9353 MB / 1.261 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/1.019, allocations: 0.7155 MB / 1.262 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/1.019, allocations: 305.6 kB / 1.262 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/1.022, allocations: 1.673 MB / 1.264 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003586/1.026, allocations: 2.937 MB / 1.267 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005628/1.031, allocations: 4.967 MB / 1.272 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/1.031, allocations: 12.03 kB / 1.272 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008328/1.04, allocations: 5.441 MB / 1.277 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/1.04, allocations: 21.66 kB / 1.277 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/1.04, allocations: 46.78 kB / 1.277 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009434/1.041, allocations: 422.4 kB / 1.278 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/1.044, allocations: 0.8549 MB / 1.278 GB, free: 166 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00466/1.048, allocations: 5.263 MB / 1.284 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/1.052, allocations: 0.6428 MB / 1.284 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.053, allocations: 185.2 kB / 1.284 GB, free: 161.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * 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 (447): * Single equations (assignments): 445 * 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.003101/1.056, allocations: 2.287 MB / 1.287 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008539/1.057, allocations: 483.9 kB / 1.287 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/1.062, allocations: 4.184 MB / 1.291 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.062, allocations: 23.72 kB / 1.291 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/1.062, allocations: 4.719 kB / 1.291 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003942/1.066, allocations: 3.639 MB / 1.295 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.078, allocations: 10.2 MB / 1.305 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.078, allocations: 3.188 kB / 1.305 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.08, allocations: 0.4988 MB / 1.305 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/1.081, allocations: 376.9 kB / 1.306 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/1.081, allocations: 73.59 kB / 1.306 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/1.085, allocations: 5.225 MB / 1.311 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.085, allocations: 4 kB / 1.311 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006886/1.092, allocations: 6.244 MB / 1.317 GB, free: 139 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.094, allocations: 1.072 MB / 1.318 GB, free: 137.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006025/1.094, allocations: 65.11 kB / 1.318 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.097, allocations: 335.6 kB / 1.318 GB, free: 137.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.097, allocations: 171.4 kB / 1.318 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.097, allocations: 135.9 kB / 1.319 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003921/1.101, allocations: 3.679 MB / 1.322 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.101, allocations: 4 kB / 1.322 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00509/1.106, allocations: 1.783 MB / 1.324 GB, free: 131.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (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,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 (242): * Single equations (assignments): 237 * 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.007653/1.114, allocations: 7.178 MB / 1.331 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005097/1.119, allocations: 4.252 MB / 1.335 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.119, allocations: 4 kB / 1.335 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/1.121, allocations: 2.044 MB / 1.337 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/1.133, allocations: 3.268 MB / 1.34 GB, free: 115 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/1.243, allocations: 58.53 MB / 1.397 GB, free: 51.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003674/1.247, allocations: 4.313 MB / 1.402 GB, free: 47.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005341/1.252, allocations: 1.843 MB / 1.403 GB, free: 45.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002859/1.255, allocations: 2.44 MB / 1.406 GB, free: 42.82 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.255, allocations: 4 kB / 1.406 GB, free: 42.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1892/1.445, allocations: 151.7 MB / 1.554 GB, free: 4.348 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004053/1.445, allocations: 291.2 kB / 1.554 GB, free: 3.965 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.223/6.667, allocations: 0 / 1.554 GB, free: 3.965 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)