Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.001671/0.001671, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.556/2.556, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 67.89 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2449, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05262/0.2975, allocations: 56 MB / 1.119 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.3189, allocations: 17.95 MB / 1.136 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.3205, allocations: 83.5 kB / 1.136 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.3224, allocations: 0.8924 MB / 1.137 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.3272, allocations: 2.507 MB / 1.14 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.3301, allocations: 1.524 MB / 1.141 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01876/0.3488, allocations: 21.24 MB / 1.162 GB, free: 9.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.3603, allocations: 10.68 MB / 1.172 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/0.3738, allocations: 7.133 MB / 1.179 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008455/0.3822, allocations: 6.354 MB / 1.186 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.3837, allocations: 0.9414 MB / 1.186 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.3875, allocations: 1.698 MB / 1.188 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.3896, allocations: 2.345 MB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006106/0.3958, allocations: 4.703 MB / 1.195 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.4083, allocations: 13.03 MB / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4083, allocations: 4 kB / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4084, allocations: 3.938 kB / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002745/0.4086, allocations: 0 / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01588/0.4245, allocations: 8.518 MB / 1.216 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4246, allocations: 8.031 kB / 1.216 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/0.4258, allocations: 0.8461 MB / 1.217 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.4281, allocations: 0.8625 MB / 1.218 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.4385, allocations: 6.423 MB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.4388, allocations: 464.2 kB / 1.224 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009596/0.4398, allocations: 0.5937 MB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.454, allocations: 9.025 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.4541, allocations: 15.88 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.4547, allocations: 264 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.4549, allocations: 183.9 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.467, allocations: 7.445 MB / 1.242 GB, free: 7.48 MB / 0.9981 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.4107/0.8777, allocations: 36.25 MB / 1.277 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005562/0.8833, allocations: 4.281 MB / 1.281 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/0.8875, allocations: 3.316 MB / 1.284 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009636/0.8885, allocations: 0.9551 MB / 1.285 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003235/0.8918, allocations: 2.382 MB / 1.288 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001794/0.8936, allocations: 369.8 kB / 1.288 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 4.889e-06/0.8936, allocations: 0 / 1.288 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01055/0.9042, allocations: 7.141 MB / 1.295 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.9042, allocations: 87.19 kB / 1.295 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006483/0.9107, allocations: 5.663 MB / 1.301 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003527/0.9111, allocations: 86.95 kB / 1.301 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/0.913, allocations: 3.197 MB / 1.304 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008456/0.9138, allocations: 1.118 MB / 1.305 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009706/0.9148, allocations: 0.8622 MB / 1.306 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.243e-05/0.9149, allocations: 301.1 kB / 1.306 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/0.9174, allocations: 2.164 MB / 1.308 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.9201, allocations: 3.697 MB / 1.312 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005531/0.9257, allocations: 6.313 MB / 1.318 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.9257, allocations: 21.98 kB / 1.318 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007699/0.9334, allocations: 6.781 MB / 1.325 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.9334, allocations: 49.95 kB / 1.325 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.9335, allocations: 52.84 kB / 1.325 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007275/0.9342, allocations: 438.7 kB / 1.325 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.9371, allocations: 1.001 MB / 1.326 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.9408, allocations: 5.706 MB / 1.332 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/0.9443, allocations: 283.5 kB / 1.332 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/0.9446, allocations: 223.9 kB / 1.332 GB, free: 115.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.002549/0.9471, allocations: 2.481 MB / 1.334 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007365/0.9479, allocations: 0.5287 MB / 1.335 GB, free: 112.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/0.9539, allocations: 5.265 MB / 1.34 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.9539, allocations: 40 kB / 1.34 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9539, allocations: 4 kB / 1.34 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004587/0.9585, allocations: 4.521 MB / 1.345 GB, free: 102.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.972, allocations: 12.05 MB / 1.356 GB, free: 90.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.972, allocations: 0 / 1.356 GB, free: 90.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/0.9743, allocations: 0.6438 MB / 1.357 GB, free: 89.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006038/0.9749, allocations: 381.3 kB / 1.357 GB, free: 89.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.9751, allocations: 83.95 kB / 1.357 GB, free: 89.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/0.9787, allocations: 5.611 MB / 1.363 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9787, allocations: 4 kB / 1.363 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007972/0.9867, allocations: 7.768 MB / 1.371 GB, free: 75.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/0.9885, allocations: 1.154 MB / 1.372 GB, free: 74.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006244/0.9891, allocations: 67.98 kB / 1.372 GB, free: 74.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/0.9915, allocations: 197.1 kB / 1.372 GB, free: 74.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.9918, allocations: 198.2 kB / 1.372 GB, free: 73.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/0.992, allocations: 143.8 kB / 1.372 GB, free: 73.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003735/0.9958, allocations: 3.963 MB / 1.376 GB, free: 69.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9958, allocations: 0 / 1.376 GB, free: 69.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003714/0.9995, allocations: 2.008 MB / 1.378 GB, free: 67.89 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.008489/1.008, allocations: 8.718 MB / 1.387 GB, free: 59.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.024, allocations: 11.63 MB / 1.398 GB, free: 47.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.024, allocations: 4 kB / 1.398 GB, free: 47.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/1.026, allocations: 2.541 MB / 1.4 GB, free: 44.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/1.037, allocations: 3.386 MB / 1.404 GB, free: 41.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06275/1.1, allocations: 64.77 MB / 1.467 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004164/1.104, allocations: 4.632 MB / 1.471 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.005677/1.11, allocations: 2.078 MB / 1.474 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003512/1.113, allocations: 2.674 MB / 1.476 GB, free: 9.539 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/1.113, allocations: 0 / 1.476 GB, free: 9.539 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.126/4.239, allocations: 165.7 MB / 1.638 GB, free: 5.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.11/23.34, allocations: 0 / 1.638 GB, free: 5.09 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)