Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.496/1.496, allocations: 288.4 MB / 303.6 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009114/0.0009112, allocations: 180.5 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.4 MB / 0.631 GB, free: 9.883 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007191/0.0007191, allocations: 100.6 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 12 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03549/0.1989, allocations: 51.56 MB / 1.031 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.2168, allocations: 16.74 MB / 1.047 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.2186, allocations: 67.62 kB / 1.047 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.2202, allocations: 0.6248 MB / 1.048 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.2246, allocations: 2.126 MB / 1.05 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.2272, allocations: 1.103 MB / 1.051 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.3499/0.5771, allocations: 23.58 MB / 1.074 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5881, allocations: 8.405 MB / 1.082 GB, free: 27.69 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009044/0.5972, allocations: 5.272 MB / 1.087 GB, free: 27.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008429/0.6056, allocations: 5.474 MB / 1.092 GB, free: 27.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007744/0.6064, allocations: 347.4 kB / 1.093 GB, free: 27.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.6098, allocations: 0.9869 MB / 1.094 GB, free: 27.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.6111, allocations: 1.517 MB / 1.095 GB, free: 27.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004005/0.6151, allocations: 3.715 MB / 1.099 GB, free: 27.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.6236, allocations: 10.33 MB / 1.109 GB, free: 26.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6236, allocations: 0 / 1.109 GB, free: 26.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6236, allocations: 4 kB / 1.109 GB, free: 26.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002678/0.6239, allocations: 1.906 kB / 1.109 GB, free: 26.82 MB / 0.698 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.01371/0.6376, allocations: 6.842 MB / 1.116 GB, free: 23.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.6377, allocations: 10.5 kB / 1.116 GB, free: 23.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001276/0.639, allocations: 0.8378 MB / 1.116 GB, free: 23.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.6413, allocations: 0.8441 MB / 1.117 GB, free: 23.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.6514, allocations: 6.498 MB / 1.124 GB, free: 21.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.6518, allocations: 461.9 kB / 1.124 GB, free: 21.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009754/0.6527, allocations: 0.6023 MB / 1.125 GB, free: 21.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.666, allocations: 8.977 MB / 1.133 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.6662, allocations: 21.61 kB / 1.133 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005968/0.6668, allocations: 261 kB / 1.134 GB, free: 18.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.6669, allocations: 185.2 kB / 1.134 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.6773, allocations: 7.41 MB / 1.141 GB, free: 16.88 MB / 0.698 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.04423/0.7216, allocations: 35.96 MB / 1.176 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006172/0.7278, allocations: 4.27 MB / 1.18 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004384/0.7322, allocations: 3.386 MB / 1.184 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.7334, allocations: 0.984 MB / 1.185 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/0.7368, allocations: 2.375 MB / 1.187 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002868/0.7397, allocations: 454.2 kB / 1.187 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 5.43e-06/0.7397, allocations: 4 kB / 1.187 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01138/0.7511, allocations: 7.099 MB / 1.194 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.7512, allocations: 81.91 kB / 1.194 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006985/0.7582, allocations: 5.337 MB / 1.2 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/0.7587, allocations: 89.7 kB / 1.2 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.7612, allocations: 3.166 MB / 1.203 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.7623, allocations: 1.122 MB / 1.204 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.7625, allocations: 88 kB / 1.204 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.7627, allocations: 499.6 kB / 1.204 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002998/0.7657, allocations: 2.14 MB / 1.207 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/0.7694, allocations: 3.677 MB / 1.21 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006947/0.7763, allocations: 6.288 MB / 1.216 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/0.7764, allocations: 19.94 kB / 1.216 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009605/0.786, allocations: 6.721 MB / 1.223 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/0.7861, allocations: 49.7 kB / 1.223 GB, free: 1.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.497e-05/0.7861, allocations: 51.98 kB / 1.223 GB, free: 1.824 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/0.787, allocations: 434.6 kB / 1.223 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.7902, allocations: 1.014 MB / 1.224 GB, free: 388 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.795, allocations: 5.24 MB / 1.229 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004733/0.7997, allocations: 474.7 kB / 1.23 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003129/0.8, allocations: 220 kB / 1.23 GB, free: 10.2 MB / 0.7761 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003937/0.804, allocations: 2.467 MB / 1.233 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007757/0.8048, allocations: 0.5172 MB / 1.233 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/0.8121, allocations: 5.227 MB / 1.238 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.8122, allocations: 32 kB / 1.238 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8122, allocations: 8 kB / 1.238 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005736/0.8179, allocations: 4.512 MB / 1.243 GB, free: 13.27 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.01767/0.8356, allocations: 11.96 MB / 1.254 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.8357, allocations: 0 / 1.254 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/0.8382, allocations: 0.6516 MB / 1.255 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007223/0.839, allocations: 373 kB / 1.255 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/0.8392, allocations: 83.95 kB / 1.255 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004626/0.8438, allocations: 5.18 MB / 1.26 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8438, allocations: 0 / 1.26 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.8539, allocations: 7.591 MB / 1.268 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003117/0.857, allocations: 1.213 MB / 1.269 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009449/0.858, allocations: 63.98 kB / 1.269 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/0.8617, allocations: 471.4 kB / 1.27 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003975/0.8621, allocations: 198.2 kB / 1.27 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/0.8624, allocations: 151.8 kB / 1.27 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00526/0.8677, allocations: 3.699 MB / 1.273 GB, free: 13.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8677, allocations: 0 / 1.273 GB, free: 13.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005487/0.8732, allocations: 1.979 MB / 1.275 GB, free: 11.22 MB / 0.823 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/0.884, allocations: 8.541 MB / 1.284 GB, free: 2.605 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007246/0.8912, allocations: 5.353 MB / 1.289 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.8912, allocations: 6.25 kB / 1.289 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.8943, allocations: 2.506 MB / 1.291 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/0.9081, allocations: 3.177 MB / 1.295 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1284/1.037, allocations: 50.52 MB / 1.344 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005425/1.042, allocations: 4.595 MB / 1.348 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007023/1.049, allocations: 2.006 MB / 1.35 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/1.054, allocations: 2.643 MB / 1.353 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of SimCode: time 5.01e-07/1.054, allocations: 0 / 1.353 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.564/2.618, allocations: 169.9 MB / 1.519 GB, free: 282.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/2.618, allocations: 265.9 kB / 1.519 GB, free: 282 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.126/8.744, allocations: 0 / 1.519 GB, free: 282 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)