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.001549/0.001549, 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.00172/0.00172, allocations: 189.5 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.722/1.722, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001409/0.001409, allocations: 65.72 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.226, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05773/0.2838, allocations: 56.01 MB / 0.8383 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02518/0.309, allocations: 17.87 MB / 0.8558 GB, free: 3.145 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003946/0.313, allocations: 75.56 kB / 0.8558 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.3171, allocations: 0.8963 MB / 0.8567 GB, free: 2.168 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0088/0.326, allocations: 2.479 MB / 0.8591 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.3309, allocations: 1.514 MB / 0.8606 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02377/0.3547, allocations: 21.13 MB / 0.8812 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01517/0.3699, allocations: 10.69 MB / 0.8917 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01529/0.3852, allocations: 7.163 MB / 0.8987 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.3964, allocations: 6.362 MB / 0.9049 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.4359/0.8324, allocations: 0.9379 MB / 0.9058 GB, free: 29.15 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00689/0.8393, allocations: 1.699 MB / 0.9075 GB, free: 29.15 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005056/0.8444, allocations: 2.333 MB / 0.9097 GB, free: 29.15 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01152/0.856, allocations: 4.691 MB / 0.9143 GB, free: 28.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.8734, allocations: 13.12 MB / 0.9271 GB, free: 27.42 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8735, allocations: 0 / 0.9271 GB, free: 27.42 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8735, allocations: 0 / 0.9271 GB, free: 27.42 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005882/0.8741, allocations: 0 / 0.9271 GB, free: 27.42 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.03059/0.9047, allocations: 8.462 MB / 0.9354 GB, free: 24.47 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.9048, allocations: 9.75 kB / 0.9354 GB, free: 24.47 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004114/0.9089, allocations: 0.8422 MB / 0.9362 GB, free: 24.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006094/0.915, allocations: 0.8532 MB / 0.9371 GB, free: 24 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.9328, allocations: 6.561 MB / 0.9435 GB, free: 23.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007912/0.9337, allocations: 457 kB / 0.9439 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00446/0.9382, allocations: 0.5996 MB / 0.9445 GB, free: 23.01 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03809/0.9763, allocations: 9.021 MB / 0.9533 GB, free: 22.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005131/0.9769, allocations: 23.38 kB / 0.9533 GB, free: 22.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003958/0.9808, allocations: 264.7 kB / 0.9536 GB, free: 22.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003248/0.9812, allocations: 179.1 kB / 0.9537 GB, free: 22.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02754/1.009, allocations: 7.448 MB / 0.961 GB, free: 20.3 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.07165/1.08, allocations: 35.97 MB / 0.9962 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006287/1.087, allocations: 4.282 MB / 1 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/1.091, allocations: 3.306 MB / 1.004 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/1.093, allocations: 0.9511 MB / 1.004 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003997/1.097, allocations: 2.394 MB / 1.007 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003459/1.1, allocations: 369.4 kB / 1.007 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.135e-05/1.1, allocations: 0 / 1.007 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01406/1.114, allocations: 7.127 MB / 1.014 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/1.114, allocations: 85.91 kB / 1.014 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.125, allocations: 5.576 MB / 1.02 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.127, allocations: 93.7 kB / 1.02 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.003755/1.13, allocations: 3.166 MB / 1.023 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002031/1.132, allocations: 1.12 MB / 1.024 GB, free: 2.512 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/1.134, allocations: 0.858 MB / 1.025 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.134, allocations: 305.1 kB / 1.025 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003433/1.138, allocations: 2.163 MB / 1.027 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/1.142, allocations: 3.697 MB / 1.031 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008853/1.151, allocations: 6.322 MB / 1.037 GB, free: 3.961 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-05/1.151, allocations: 16 kB / 1.037 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01281/1.164, allocations: 6.769 MB / 1.044 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/1.164, allocations: 54.62 kB / 1.044 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.746e-05/1.164, allocations: 52 kB / 1.044 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/1.165, allocations: 434.3 kB / 1.044 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/1.169, allocations: 1.004 MB / 1.045 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/1.175, allocations: 5.696 MB / 1.051 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/1.181, allocations: 287.5 kB / 1.051 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.182, allocations: 216 kB / 1.051 GB, free: 5.551 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.005566/1.188, allocations: 2.465 MB / 1.054 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001955/1.19, allocations: 0.524 MB / 1.054 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009292/1.199, allocations: 5.249 MB / 1.059 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.199, allocations: 36.94 kB / 1.059 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.199, allocations: 7.281 kB / 1.059 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006582/1.206, allocations: 4.53 MB / 1.064 GB, free: 8.672 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.23, allocations: 11.96 MB / 1.075 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.23, allocations: 0 / 1.075 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.233, allocations: 0.6452 MB / 1.076 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009016/1.234, allocations: 373.3 kB / 1.076 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/1.234, allocations: 79.95 kB / 1.076 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005691/1.24, allocations: 5.627 MB / 1.082 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.24, allocations: 3.188 kB / 1.082 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.253, allocations: 7.757 MB / 1.089 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003779/1.257, allocations: 1.148 MB / 1.091 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00156/1.258, allocations: 71.92 kB / 1.091 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/1.262, allocations: 202.5 kB / 1.091 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/1.262, allocations: 197.4 kB / 1.091 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000362/1.262, allocations: 135.9 kB / 1.091 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00674/1.269, allocations: 3.902 MB / 1.095 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/1.269, allocations: 0 / 1.095 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007695/1.277, allocations: 2.007 MB / 1.097 GB, free: 6.266 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.01436/1.291, allocations: 8.7 MB / 1.105 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.009943/1.301, allocations: 5.447 MB / 1.111 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.301, allocations: 4.188 kB / 1.111 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004802/1.306, allocations: 2.552 MB / 1.113 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01849/1.325, allocations: 3.391 MB / 1.117 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09532/1.42, allocations: 51.95 MB / 1.167 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004756/1.425, allocations: 4.605 MB / 1.172 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.006764/1.432, allocations: 2.052 MB / 1.174 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005101/1.437, allocations: 2.646 MB / 1.176 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of SimCode: time 1.493e-06/1.437, allocations: 0 / 1.176 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6866/2.123, allocations: 157.9 MB / 1.331 GB, free: 362 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.66/23.79, allocations: 8.031 kB / 1.331 GB, free: 362 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)