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.001375/0.001375, allocations: 108 kB / 15.61 MB, free: 148 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.001506/0.001506, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.383/2.383, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5416, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05212/0.5938, allocations: 56.01 MB / 1.072 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02081/0.6146, allocations: 17.94 MB / 1.09 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.6168, allocations: 75.62 kB / 1.09 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.6189, allocations: 0.9002 MB / 1.091 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.6246, allocations: 2.503 MB / 1.093 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.6279, allocations: 1.533 MB / 1.095 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0198/0.6477, allocations: 21.24 MB / 1.115 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.6593, allocations: 10.67 MB / 1.126 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.6709, allocations: 7.146 MB / 1.133 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009199/0.6801, allocations: 6.358 MB / 1.139 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002602/0.6828, allocations: 0.9375 MB / 1.14 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005569/0.6883, allocations: 1.698 MB / 1.141 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003457/0.6918, allocations: 2.337 MB / 1.144 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.008138/0.6999, allocations: 4.703 MB / 1.148 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.7139, allocations: 13.03 MB / 1.161 GB, free: 14.89 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.7139, allocations: 4 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7139, allocations: 0 / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003825/0.7143, allocations: 0 / 1.161 GB, free: 14.88 MB / 0.92 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.02039/0.7347, allocations: 8.518 MB / 1.169 GB, free: 6.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7348, allocations: 12.03 kB / 1.169 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00218/0.737, allocations: 0.8422 MB / 1.17 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/0.7405, allocations: 0.8586 MB / 1.171 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.7522, allocations: 6.416 MB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.7525, allocations: 464.2 kB / 1.178 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.7539, allocations: 0.5975 MB / 1.178 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.7692, allocations: 9.04 MB / 1.187 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.7694, allocations: 15.88 kB / 1.187 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007582/0.7701, allocations: 264 kB / 1.187 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.7703, allocations: 180 kB / 1.188 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.7819, allocations: 7.445 MB / 1.195 GB, free: 11.75 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.04265/0.8246, allocations: 36.26 MB / 1.23 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006053/0.8307, allocations: 4.275 MB / 1.234 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/0.8352, allocations: 3.312 MB / 1.238 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.8365, allocations: 0.9622 MB / 1.239 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003642/0.8401, allocations: 2.39 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001981/0.8421, allocations: 371.8 kB / 1.241 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 8.847e-06/0.8422, allocations: 0 / 1.241 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01255/0.8547, allocations: 7.128 MB / 1.248 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.8548, allocations: 89.84 kB / 1.248 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4313/1.286, allocations: 5.66 MB / 1.254 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006385/1.287, allocations: 86.98 kB / 1.254 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003231/1.29, allocations: 3.197 MB / 1.257 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.291, allocations: 1.118 MB / 1.258 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/1.293, allocations: 0.8618 MB / 1.259 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.842e-05/1.293, allocations: 305.5 kB / 1.259 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/1.297, allocations: 2.162 MB / 1.261 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/1.302, allocations: 3.697 MB / 1.265 GB, free: 206.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007161/1.309, allocations: 6.32 MB / 1.271 GB, free: 203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/1.309, allocations: 13.09 kB / 1.271 GB, free: 203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01009/1.319, allocations: 6.782 MB / 1.278 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/1.319, allocations: 53.08 kB / 1.278 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.196e-05/1.319, allocations: 48.22 kB / 1.278 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/1.32, allocations: 435.5 kB / 1.278 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/1.323, allocations: 1.004 MB / 1.279 GB, free: 200.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/1.327, allocations: 5.707 MB / 1.285 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/1.331, allocations: 285.5 kB / 1.285 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/1.332, allocations: 216.8 kB / 1.285 GB, free: 195.8 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.003095/1.335, allocations: 2.481 MB / 1.288 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.336, allocations: 0.526 MB / 1.288 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/1.343, allocations: 5.264 MB / 1.293 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.343, allocations: 30.86 kB / 1.293 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.343, allocations: 3.75 kB / 1.293 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005128/1.348, allocations: 4.537 MB / 1.298 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.364, allocations: 12.04 MB / 1.31 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.364, allocations: 8 kB / 1.31 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.366, allocations: 0.647 MB / 1.31 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006653/1.367, allocations: 374.1 kB / 1.311 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/1.367, allocations: 83.95 kB / 1.311 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/1.371, allocations: 5.621 MB / 1.316 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.371, allocations: 4 kB / 1.316 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008922/1.38, allocations: 7.755 MB / 1.324 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002625/1.383, allocations: 1.154 MB / 1.325 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.384, allocations: 73.08 kB / 1.325 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/1.387, allocations: 201.8 kB / 1.325 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.388, allocations: 198.2 kB / 1.325 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/1.388, allocations: 139.8 kB / 1.326 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005147/1.393, allocations: 3.963 MB / 1.329 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.393, allocations: 0 / 1.329 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00487/1.398, allocations: 2.006 MB / 1.331 GB, free: 156.2 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.009845/1.408, allocations: 8.712 MB / 1.34 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01687/1.425, allocations: 11.63 MB / 1.351 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.425, allocations: 384 / 1.351 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002736/1.427, allocations: 2.541 MB / 1.354 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/1.441, allocations: 3.405 MB / 1.357 GB, free: 130 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06122/1.502, allocations: 64.76 MB / 1.42 GB, free: 59.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/1.505, allocations: 4.624 MB / 1.425 GB, free: 54.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005241/1.511, allocations: 2.085 MB / 1.427 GB, free: 52.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003/1.514, allocations: 2.67 MB / 1.429 GB, free: 49.95 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.514, allocations: 0 / 1.429 GB, free: 49.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/2.605, allocations: 165.6 MB / 1.591 GB, free: 13.53 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/16.75, allocations: 27.36 kB / 1.591 GB, free: 13.5 MB / 1.123 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)