Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_10_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.001415/0.001415, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001651/0.001651, allocations: 188.1 kB / 16.25 MB, free: 6.637 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.245/2.245, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.88 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4852, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04164/0.5269, allocations: 55.54 MB / 1.071 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.544, allocations: 17.78 MB / 1.089 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.5452, allocations: 71.56 kB / 1.089 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.5467, allocations: 0.7654 MB / 1.089 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.5505, allocations: 2.321 MB / 1.092 GB, free: 6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.5528, allocations: 1.406 MB / 1.093 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01491/0.5677, allocations: 21.35 MB / 1.114 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009027/0.5768, allocations: 10.58 MB / 1.124 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.5868, allocations: 7.208 MB / 1.131 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005784/0.5926, allocations: 6.549 MB / 1.138 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009802/0.5936, allocations: 0.9297 MB / 1.138 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.5964, allocations: 1.705 MB / 1.14 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.598, allocations: 2.322 MB / 1.142 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.6019, allocations: 4.692 MB / 1.147 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00878/0.6107, allocations: 13.01 MB / 1.16 GB, free: 20 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6107, allocations: 0 / 1.16 GB, free: 20 kB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6107, allocations: 4 kB / 1.16 GB, free: 16 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001117/0.6108, allocations: 0 / 1.16 GB, free: 16 kB / 0.9044 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.01129/0.6221, allocations: 8.491 MB / 1.168 GB, free: 7.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6221, allocations: 8.031 kB / 1.168 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008932/0.623, allocations: 0.85 MB / 1.169 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.625, allocations: 0.8547 MB / 1.17 GB, free: 5.699 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008065/0.633, allocations: 6.614 MB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.6333, allocations: 460.2 kB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000727/0.634, allocations: 0.5975 MB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.6452, allocations: 9.036 MB / 1.186 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.6454, allocations: 23.72 kB / 1.186 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000506/0.6459, allocations: 264 kB / 1.186 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/0.646, allocations: 180 kB / 1.186 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009493/0.6555, allocations: 7.453 MB / 1.194 GB, free: 12.7 MB / 0.9512 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.03135/0.6869, allocations: 35.91 MB / 1.229 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/0.6918, allocations: 4.279 MB / 1.233 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003682/0.6955, allocations: 3.312 MB / 1.236 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.6965, allocations: 0.9544 MB / 1.237 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003031/0.6996, allocations: 2.386 MB / 1.239 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00166/0.7012, allocations: 411.8 kB / 1.24 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 4.609e-06/0.7012, allocations: 0 / 1.24 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01008/0.7113, allocations: 7.136 MB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.7114, allocations: 89.89 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3778/1.089, allocations: 5.454 MB / 1.252 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005918/1.09, allocations: 86.91 kB / 1.252 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.092, allocations: 3.198 MB / 1.255 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009271/1.093, allocations: 1.112 MB / 1.257 GB, free: 211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/1.094, allocations: 0.8615 MB / 1.257 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.009e-05/1.094, allocations: 305.7 kB / 1.258 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/1.097, allocations: 2.162 MB / 1.26 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/1.101, allocations: 3.701 MB / 1.263 GB, free: 206.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006797/1.107, allocations: 6.317 MB / 1.27 GB, free: 203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.519e-05/1.107, allocations: 14.84 kB / 1.27 GB, free: 203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008871/1.116, allocations: 6.781 MB / 1.276 GB, free: 200.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/1.116, allocations: 55.45 kB / 1.276 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.431e-05/1.116, allocations: 49.11 kB / 1.276 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000803/1.117, allocations: 435.4 kB / 1.277 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.12, allocations: 1.005 MB / 1.278 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/1.124, allocations: 5.707 MB / 1.283 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/1.128, allocations: 466 kB / 1.284 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/1.128, allocations: 219.3 kB / 1.284 GB, free: 195.9 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.002654/1.131, allocations: 2.484 MB / 1.286 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/1.131, allocations: 0.5276 MB / 1.287 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/1.137, allocations: 5.267 MB / 1.292 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.137, allocations: 30.12 kB / 1.292 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.137, allocations: 7.562 kB / 1.292 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004571/1.142, allocations: 4.527 MB / 1.296 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.154, allocations: 11.96 MB / 1.308 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.154, allocations: 0 / 1.308 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/1.157, allocations: 0.6477 MB / 1.309 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/1.157, allocations: 374.1 kB / 1.309 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.157, allocations: 84.98 kB / 1.309 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/1.161, allocations: 5.628 MB / 1.315 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.161, allocations: 1.75 kB / 1.315 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007406/1.168, allocations: 7.756 MB / 1.322 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.17, allocations: 1.135 MB / 1.323 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005725/1.17, allocations: 63.98 kB / 1.323 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.173, allocations: 455.2 kB / 1.324 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.174, allocations: 206.2 kB / 1.324 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.174, allocations: 139.8 kB / 1.324 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003349/1.177, allocations: 3.807 MB / 1.328 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.177, allocations: 0 / 1.328 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003569/1.181, allocations: 1.991 MB / 1.33 GB, free: 157.6 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.008293/1.189, allocations: 8.715 MB / 1.338 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.205, allocations: 11.64 MB / 1.35 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.205, allocations: 4 kB / 1.35 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/1.207, allocations: 2.538 MB / 1.352 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009711/1.217, allocations: 3.384 MB / 1.356 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1018/1.319, allocations: 65.66 MB / 1.42 GB, free: 60.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.322, allocations: 4.624 MB / 1.424 GB, free: 55.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005131/1.328, allocations: 2.039 MB / 1.426 GB, free: 53.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/1.33, allocations: 2.667 MB / 1.429 GB, free: 50.68 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.33, allocations: 3.938 kB / 1.429 GB, free: 50.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.32/12.65, allocations: 163.1 MB / 1.588 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/12.65, allocations: 279.3 kB / 1.588 GB, free: 420 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.497/18.15, allocations: 5.969 kB / 1.588 GB, free: 416 kB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)