Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_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.001144/0.001144, allocations: 109.4 kB / 15.69 MB, free: 128 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.001454/0.001454, allocations: 188.4 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 72.72 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2468, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0585/0.3053, allocations: 56.01 MB / 0.8383 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.3303, allocations: 17.87 MB / 0.8558 GB, free: 3.141 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.3342, allocations: 71.62 kB / 0.8558 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003477/0.3377, allocations: 0.8963 MB / 0.8567 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007869/0.3456, allocations: 2.475 MB / 0.8591 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004851/0.3505, allocations: 1.525 MB / 0.8606 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02341/0.3739, allocations: 21.12 MB / 0.8812 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.389, allocations: 10.69 MB / 0.8917 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/0.4054, allocations: 7.168 MB / 0.8987 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/0.4174, allocations: 6.362 MB / 0.9049 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.4599/0.8774, allocations: 0.939 MB / 0.9058 GB, free: 29.08 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.8843, allocations: 1.696 MB / 0.9075 GB, free: 29.08 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004613/0.889, allocations: 2.334 MB / 0.9097 GB, free: 29.08 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01186/0.9008, allocations: 4.693 MB / 0.9143 GB, free: 28.71 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.9193, allocations: 13.12 MB / 0.9271 GB, free: 27.35 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.9193, allocations: 3.328 kB / 0.9271 GB, free: 27.35 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9193, allocations: 0 / 0.9271 GB, free: 27.35 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006113/0.92, allocations: 1.188 kB / 0.9271 GB, free: 27.35 MB / 0.7169 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.03344/0.9534, allocations: 8.459 MB / 0.9354 GB, free: 24.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.9535, allocations: 10.22 kB / 0.9354 GB, free: 24.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004053/0.9576, allocations: 0.8414 MB / 0.9362 GB, free: 24.33 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005824/0.9634, allocations: 0.8486 MB / 0.9371 GB, free: 23.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/0.9794, allocations: 6.56 MB / 0.9435 GB, free: 22.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/0.9801, allocations: 459.7 kB / 0.9439 GB, free: 22.94 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00357/0.9837, allocations: 0.598 MB / 0.9445 GB, free: 22.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02614/1.01, allocations: 9.025 MB / 0.9533 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000382/1.01, allocations: 19.59 kB / 0.9533 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002689/1.013, allocations: 263.5 kB / 0.9536 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/1.013, allocations: 183.9 kB / 0.9538 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/1.03, allocations: 7.45 MB / 0.961 GB, free: 20.28 MB / 0.7169 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.05661/1.087, allocations: 35.97 MB / 0.9962 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/1.094, allocations: 4.278 MB / 1 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005408/1.1, allocations: 3.304 MB / 1.004 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.101, allocations: 0.955 MB / 1.004 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004845/1.106, allocations: 2.396 MB / 1.007 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003278/1.109, allocations: 365 kB / 1.007 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 9.989e-06/1.109, allocations: 0 / 1.007 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01746/1.127, allocations: 7.127 MB / 1.014 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/1.127, allocations: 89.91 kB / 1.014 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/1.141, allocations: 5.572 MB / 1.02 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/1.142, allocations: 97.08 kB / 1.02 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.004461/1.147, allocations: 3.171 MB / 1.023 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.00227/1.149, allocations: 1.117 MB / 1.024 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/1.152, allocations: 0.858 MB / 1.025 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/1.152, allocations: 305.1 kB / 1.025 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.156, allocations: 2.161 MB / 1.027 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/1.162, allocations: 3.701 MB / 1.031 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.172, allocations: 6.317 MB / 1.037 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-05/1.172, allocations: 12 kB / 1.037 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01474/1.187, allocations: 6.766 MB / 1.044 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.187, allocations: 57.91 kB / 1.044 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.071e-05/1.187, allocations: 54.16 kB / 1.044 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/1.188, allocations: 435.4 kB / 1.044 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/1.193, allocations: 1.006 MB / 1.045 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00653/1.199, allocations: 5.702 MB / 1.051 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006682/1.206, allocations: 279.5 kB / 1.051 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.207, allocations: 216 kB / 1.051 GB, free: 5.547 MB / 0.7794 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.007195/1.215, allocations: 2.467 MB / 1.054 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002694/1.217, allocations: 0.5227 MB / 1.054 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.228, allocations: 5.256 MB / 1.059 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/1.228, allocations: 30.53 kB / 1.059 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.228, allocations: 4 kB / 1.059 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007145/1.235, allocations: 4.533 MB / 1.064 GB, free: 8.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/1.263, allocations: 11.96 MB / 1.075 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.263, allocations: 0 / 1.075 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/1.266, allocations: 0.6451 MB / 1.076 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000857/1.267, allocations: 375.2 kB / 1.076 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/1.267, allocations: 87.95 kB / 1.076 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005624/1.273, allocations: 5.616 MB / 1.082 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.273, allocations: 0 / 1.082 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.287, allocations: 7.765 MB / 1.089 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005723/1.293, allocations: 1.147 MB / 1.091 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002787/1.296, allocations: 67.92 kB / 1.091 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004843/1.3, allocations: 197.4 kB / 1.091 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007778/1.301, allocations: 194.2 kB / 1.091 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005323/1.302, allocations: 143.9 kB / 1.091 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00835/1.31, allocations: 3.894 MB / 1.095 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.583e-06/1.31, allocations: 0 / 1.095 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009246/1.319, allocations: 2.014 MB / 1.097 GB, free: 6.254 MB / 0.8262 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.01611/1.336, allocations: 8.699 MB / 1.105 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.009942/1.346, allocations: 5.444 MB / 1.111 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.346, allocations: 4 kB / 1.111 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00481/1.35, allocations: 2.552 MB / 1.113 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01887/1.369, allocations: 3.392 MB / 1.117 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1018/1.471, allocations: 51.95 MB / 1.167 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005796/1.477, allocations: 4.609 MB / 1.172 GB, free: 8 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.007236/1.484, allocations: 2.047 MB / 1.174 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006159/1.491, allocations: 2.647 MB / 1.176 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of SimCode: time 1.573e-06/1.491, allocations: 0 / 1.176 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6691/2.16, allocations: 157.9 MB / 1.331 GB, free: 361.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.53/25.69, allocations: 12.38 kB / 1.331 GB, free: 361.8 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)