Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.001547/0.001548, 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.0018/0.0018, allocations: 186 kB / 16.62 MB, free: 6.613 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.435/1.435, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001413/0.001413, allocations: 69.72 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2219, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04832/0.2703, allocations: 49.31 MB / 0.8318 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2889, allocations: 13.75 MB / 0.8452 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.2913, allocations: 67.56 kB / 0.8453 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.2938, allocations: 0.8148 MB / 0.846 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.3, allocations: 2.222 MB / 0.8482 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.3033, allocations: 1.304 MB / 0.8495 GB, free: 9.57 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01919/0.3225, allocations: 19.45 MB / 0.8685 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.335, allocations: 9.906 MB / 0.8782 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.3482, allocations: 6.532 MB / 0.8845 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/0.359, allocations: 5.743 MB / 0.8901 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002738/0.3617, allocations: 0.8438 MB / 0.891 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006182/0.3679, allocations: 1.604 MB / 0.8925 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004067/0.3721, allocations: 2.115 MB / 0.8946 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009679/0.3818, allocations: 4.268 MB / 0.8988 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4752/0.857, allocations: 12.01 MB / 0.9105 GB, free: 43.33 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8571, allocations: 0.9375 kB / 0.9105 GB, free: 43.33 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8571, allocations: 0.8125 kB / 0.9105 GB, free: 43.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005301/0.8576, allocations: 0 / 0.9105 GB, free: 43.33 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02804/0.8857, allocations: 7.671 MB / 0.918 GB, free: 40.74 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.8857, allocations: 11.16 kB / 0.918 GB, free: 40.74 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004414/0.8902, allocations: 0.7737 MB / 0.9188 GB, free: 40.67 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.8962, allocations: 0.7795 MB / 0.9195 GB, free: 40.31 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.9113, allocations: 6.162 MB / 0.9255 GB, free: 39.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/0.9121, allocations: 413.7 kB / 0.9259 GB, free: 39.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003567/0.9156, allocations: 0.5488 MB / 0.9265 GB, free: 39.38 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/0.9465, allocations: 8.071 MB / 0.9343 GB, free: 38.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000586/0.9472, allocations: 21.72 kB / 0.9344 GB, free: 38.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004026/0.9512, allocations: 233.6 kB / 0.9346 GB, free: 38.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003724/0.9516, allocations: 162.8 kB / 0.9347 GB, free: 38.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.9715, allocations: 6.53 MB / 0.9411 GB, free: 38.54 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.05684/1.028, allocations: 31.17 MB / 0.9716 GB, free: 17.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00573/1.034, allocations: 3.65 MB / 0.9751 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/1.038, allocations: 2.815 MB / 0.9779 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008937/1.039, allocations: 0.8242 MB / 0.9787 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.262e-05/1.039, allocations: 76.33 kB / 0.9787 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 6.753e-06/1.039, allocations: 0 / 0.9787 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.0135/1.053, allocations: 5.757 MB / 0.9844 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.053, allocations: 82.08 kB / 0.9844 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.064, allocations: 5.144 MB / 0.9895 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.065, allocations: 77.58 kB / 0.9895 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.067, allocations: 2.848 MB / 0.9923 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/1.069, allocations: 0.9343 MB / 0.9932 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/1.071, allocations: 0.7151 MB / 0.9939 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/1.071, allocations: 305.1 kB / 0.9942 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/1.074, allocations: 1.679 MB / 0.9959 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/1.078, allocations: 2.93 MB / 0.9987 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008842/1.086, allocations: 4.964 MB / 1.004 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-05/1.086, allocations: 12 kB / 1.004 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01424/1.101, allocations: 5.435 MB / 1.009 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/1.101, allocations: 20 kB / 1.009 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.991e-05/1.101, allocations: 40.7 kB / 1.009 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/1.102, allocations: 420 kB / 1.009 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/1.106, allocations: 0.8561 MB / 1.01 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007404/1.114, allocations: 5.701 MB / 1.016 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00545/1.119, allocations: 0.5201 MB / 1.016 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009681/1.12, allocations: 180 kB / 1.016 GB, free: 12.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.005851/1.126, allocations: 2.267 MB / 1.019 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002726/1.129, allocations: 478.2 kB / 1.019 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/1.141, allocations: 4.18 MB / 1.023 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/1.141, allocations: 28 kB / 1.023 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.141, allocations: 4 kB / 1.023 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00832/1.149, allocations: 3.632 MB / 1.027 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/1.178, allocations: 10.25 MB / 1.037 GB, free: 7.934 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/1.178, allocations: 4 kB / 1.037 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/1.181, allocations: 0.4972 MB / 1.037 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/1.182, allocations: 372.7 kB / 1.038 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006766/1.183, allocations: 80.94 kB / 1.038 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006644/1.19, allocations: 5.641 MB / 1.043 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.19, allocations: 8.062 kB / 1.043 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/1.205, allocations: 6.24 MB / 1.049 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004331/1.209, allocations: 1.096 MB / 1.05 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002297/1.211, allocations: 63.92 kB / 1.05 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004749/1.216, allocations: 173.2 kB / 1.051 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/1.217, allocations: 181.6 kB / 1.051 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007944/1.218, allocations: 127.9 kB / 1.051 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.008423/1.226, allocations: 3.778 MB / 1.055 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.82e-07/1.226, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008789/1.235, allocations: 1.8 MB / 1.056 GB, free: 3.52 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.01615/1.251, allocations: 7.171 MB / 1.063 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009432/1.261, allocations: 4.277 MB / 1.068 GB, free: 8.066 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.261, allocations: 4.5 kB / 1.068 GB, free: 8.062 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004583/1.265, allocations: 2.044 MB / 1.07 GB, free: 6.047 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02254/1.288, allocations: 3.465 MB / 1.073 GB, free: 2.688 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1091/1.397, allocations: 46.55 MB / 1.118 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006718/1.404, allocations: 4.274 MB / 1.123 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00759/1.412, allocations: 1.83 MB / 1.124 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006086/1.418, allocations: 2.42 MB / 1.127 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of SimCode: time 2.324e-06/1.418, allocations: 4 kB / 1.127 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.271/1.689, allocations: 152.3 MB / 1.275 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/22.4, allocations: 13.97 kB / 1.275 GB, free: 3.273 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)