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.0008606/0.0008606, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00534/0.00534, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.374/2.374, allocations: 443.4 MB / 0.7176 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002998, allocations: 12.28 kB / 0.8797 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2328, allocations: 155.2 MB / 1.031 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04059/0.2734, allocations: 47.99 MB / 1.078 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.2893, allocations: 13.67 MB / 1.091 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2908, allocations: 59.62 kB / 1.092 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2923, allocations: 0.6603 MB / 1.092 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00421/0.2965, allocations: 2.072 MB / 1.094 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.2989, allocations: 1.196 MB / 1.095 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0204/0.3193, allocations: 25.63 MB / 1.12 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008739/0.3281, allocations: 7.817 MB / 1.128 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007432/0.3355, allocations: 4.699 MB / 1.133 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007099/0.3426, allocations: 5.215 MB / 1.138 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007192/0.3434, allocations: 304 kB / 1.138 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.3463, allocations: 0.9866 MB / 1.139 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.3476, allocations: 1.428 MB / 1.14 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003979/0.3516, allocations: 3.535 MB / 1.144 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3619, allocations: 11.26 MB / 1.155 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3619, allocations: 0 / 1.155 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3619, allocations: 0 / 1.155 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002836/0.3622, allocations: 0 / 1.155 GB, free: 5.242 MB / 0.9044 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.01138/0.3736, allocations: 6.229 MB / 1.161 GB, free: 14.94 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3736, allocations: 8.031 kB / 1.161 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001468/0.3751, allocations: 0.7603 MB / 1.162 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/0.3773, allocations: 0.7891 MB / 1.162 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009207/0.3865, allocations: 6.237 MB / 1.168 GB, free: 7.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.3868, allocations: 423.2 kB / 1.169 GB, free: 6.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007363/0.3875, allocations: 0.5351 MB / 1.169 GB, free: 6.113 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.3989, allocations: 8.072 MB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.656e-05/0.399, allocations: 19.84 kB / 1.177 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/0.3995, allocations: 236 kB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.3997, allocations: 167.9 kB / 1.178 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009524/0.4092, allocations: 6.528 MB / 1.184 GB, free: 6.852 MB / 0.9356 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.03291/0.4421, allocations: 31.18 MB / 1.215 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004889/0.4471, allocations: 3.644 MB / 1.218 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/0.4507, allocations: 2.831 MB / 1.221 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008731/0.4516, allocations: 0.8398 MB / 1.222 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/0.4516, allocations: 72.67 kB / 1.222 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=267): time 4.208e-06/0.4516, allocations: 0 / 1.222 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=267): time 0.009525/0.4612, allocations: 5.778 MB / 1.227 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.4612, allocations: 77.52 kB / 1.227 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006551/0.4678, allocations: 5.032 MB / 1.232 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/0.4681, allocations: 77.7 kB / 1.232 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002185/0.4703, allocations: 2.872 MB / 1.235 GB, free: 284 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009005/0.4712, allocations: 0.9359 MB / 1.236 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.4715, allocations: 301.6 kB / 1.236 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.4716, allocations: 309 kB / 1.237 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.474, allocations: 1.674 MB / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.4772, allocations: 2.94 MB / 1.241 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005838/0.483, allocations: 4.966 MB / 1.246 GB, free: 4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/0.483, allocations: 8 kB / 1.246 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.4387/0.9218, allocations: 5.434 MB / 1.251 GB, free: 198 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.689e-05/0.9218, allocations: 25.03 kB / 1.251 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/0.9219, allocations: 38.45 kB / 1.251 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000821/0.9227, allocations: 422.2 kB / 1.252 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/0.9255, allocations: 0.8571 MB / 1.253 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.9302, allocations: 5.261 MB / 1.258 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/0.9343, allocations: 0.6449 MB / 1.258 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.9346, allocations: 177.6 kB / 1.259 GB, free: 195.3 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.003716/0.9383, allocations: 2.288 MB / 1.261 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009036/0.9392, allocations: 492.6 kB / 1.261 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006579/0.9458, allocations: 4.186 MB / 1.265 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/0.9459, allocations: 29.55 kB / 1.265 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.9459, allocations: 5.172 kB / 1.265 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004698/0.9506, allocations: 3.635 MB / 1.269 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.9645, allocations: 10.2 MB / 1.279 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.9646, allocations: 5.188 kB / 1.279 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.9664, allocations: 0.5018 MB / 1.279 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006857/0.9671, allocations: 382.2 kB / 1.28 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.9673, allocations: 75.72 kB / 1.28 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.9711, allocations: 5.204 MB / 1.285 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.9711, allocations: 9.328 kB / 1.285 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/0.978, allocations: 6.25 MB / 1.291 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.9798, allocations: 1.159 MB / 1.292 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007272/0.9805, allocations: 68.92 kB / 1.292 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/0.9833, allocations: 333 kB / 1.293 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.9835, allocations: 177 kB / 1.293 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/0.9837, allocations: 132.1 kB / 1.293 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003761/0.9875, allocations: 3.682 MB / 1.297 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9875, allocations: 0 / 1.297 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003681/0.9912, allocations: 1.782 MB / 1.298 GB, free: 179.2 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.00689/0.9981, allocations: 7.173 MB / 1.305 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004709/1.003, allocations: 4.253 MB / 1.309 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.003, allocations: 4 kB / 1.309 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001972/1.005, allocations: 2.041 MB / 1.311 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01523/1.02, allocations: 3.281 MB / 1.315 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1024/1.122, allocations: 58.76 MB / 1.372 GB, free: 100.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.125, allocations: 4.3 MB / 1.376 GB, free: 96.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004763/1.13, allocations: 1.848 MB / 1.378 GB, free: 94.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.132, allocations: 2.444 MB / 1.38 GB, free: 91.76 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/1.132, allocations: 0 / 1.38 GB, free: 91.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.835/5.968, allocations: 150.6 MB / 1.527 GB, free: 6.438 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/5.968, allocations: 281.8 kB / 1.528 GB, free: 6.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.204/12.17, allocations: 0 / 1.528 GB, free: 6.059 MB / 1.061 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)