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.0007896/0.0007896, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008126/0.0008127, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.256/1.256, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.512/1.512, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004623/0.0004623, allocations: 13.31 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03639/0.1938, allocations: 47.98 MB / 0.8348 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.2076, allocations: 13.6 MB / 0.8481 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009354/0.2086, allocations: 55.62 kB / 0.8482 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.2099, allocations: 0.6486 MB / 0.8488 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.2133, allocations: 2.065 MB / 0.8508 GB, free: 10.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.2153, allocations: 1.191 MB / 0.852 GB, free: 9.77 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01787/0.2332, allocations: 25.49 MB / 0.8769 GB, free: 216 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007311/0.2406, allocations: 7.816 MB / 0.8845 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005683/0.2463, allocations: 4.699 MB / 0.8891 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/0.2515, allocations: 5.219 MB / 0.8942 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005311/0.2521, allocations: 300 kB / 0.8945 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.2544, allocations: 0.9866 MB / 0.8955 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.2555, allocations: 1.428 MB / 0.8969 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003158/0.2586, allocations: 3.512 MB / 0.9003 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3171/0.5757, allocations: 11.2 MB / 0.9112 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5758, allocations: 2.062 kB / 0.9112 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5758, allocations: 1.25 kB / 0.9112 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003386/0.5761, allocations: 0.5 kB / 0.9112 GB, free: 39.62 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.01405/0.5902, allocations: 6.193 MB / 0.9173 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5903, allocations: 7.844 kB / 0.9173 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003434/0.5937, allocations: 0.7629 MB / 0.918 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/0.5975, allocations: 0.7794 MB / 0.9188 GB, free: 36.78 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.6079, allocations: 6.119 MB / 0.9248 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.6083, allocations: 418.4 kB / 0.9252 GB, free: 35.87 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.61, allocations: 0.543 MB / 0.9257 GB, free: 35.86 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.6247, allocations: 8.069 MB / 0.9336 GB, free: 35.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.6249, allocations: 16.09 kB / 0.9336 GB, free: 35.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/0.6254, allocations: 233.7 kB / 0.9338 GB, free: 35.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.6256, allocations: 167.5 kB / 0.934 GB, free: 35.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009039/0.6346, allocations: 6.521 MB / 0.9403 GB, free: 35.02 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.02681/0.6615, allocations: 31.14 MB / 0.9708 GB, free: 18.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.6653, allocations: 3.644 MB / 0.9743 GB, free: 16.92 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.668, allocations: 2.829 MB / 0.9771 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/0.6687, allocations: 0.84 MB / 0.9779 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.6687, allocations: 80.55 kB / 0.978 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 3.897e-06/0.6687, allocations: 0 / 0.978 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.007835/0.6766, allocations: 5.774 MB / 0.9836 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.6766, allocations: 80.61 kB / 0.9837 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.6812, allocations: 4.945 MB / 0.9885 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.6815, allocations: 76.98 kB / 0.9886 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.6828, allocations: 2.85 MB / 0.9914 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006224/0.6835, allocations: 0.938 MB / 0.9923 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.6838, allocations: 308.5 kB / 0.9926 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.6838, allocations: 305.1 kB / 0.9929 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.6857, allocations: 1.674 MB / 0.9945 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.6879, allocations: 2.94 MB / 0.9974 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005146/0.6931, allocations: 4.961 MB / 1.002 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/0.6931, allocations: 12.66 kB / 1.002 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007758/0.7008, allocations: 5.424 MB / 1.008 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.7009, allocations: 24 kB / 1.008 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/0.7009, allocations: 40 kB / 1.008 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008488/0.7018, allocations: 426.2 kB / 1.008 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/0.7045, allocations: 0.8575 MB / 1.009 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.7096, allocations: 5.26 MB / 1.014 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/0.7134, allocations: 0.641 MB / 1.015 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/0.7137, allocations: 184.5 kB / 1.015 GB, free: 15.95 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.003119/0.7169, allocations: 2.265 MB / 1.017 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007838/0.7176, allocations: 477 kB / 1.017 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006086/0.7237, allocations: 4.185 MB / 1.022 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.7238, allocations: 24 kB / 1.022 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7238, allocations: 7.938 kB / 1.022 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004618/0.7284, allocations: 3.628 MB / 1.025 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/0.7426, allocations: 10.18 MB / 1.035 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.7426, allocations: 4 kB / 1.035 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/0.7446, allocations: 0.502 MB / 1.036 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007453/0.7453, allocations: 380.2 kB / 1.036 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.7455, allocations: 75.95 kB / 1.036 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.7503, allocations: 5.217 MB / 1.041 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7503, allocations: 4 kB / 1.041 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/0.7586, allocations: 6.235 MB / 1.047 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/0.7609, allocations: 1.162 MB / 1.048 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008619/0.7618, allocations: 63.92 kB / 1.048 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/0.7649, allocations: 341.2 kB / 1.049 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.7652, allocations: 173.4 kB / 1.049 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/0.7654, allocations: 131.9 kB / 1.049 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004643/0.77, allocations: 3.622 MB / 1.053 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.91e-07/0.7701, allocations: 0 / 1.053 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004303/0.7744, allocations: 1.776 MB / 1.054 GB, free: 7.012 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.008959/0.7833, allocations: 7.156 MB / 1.061 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005972/0.7893, allocations: 4.262 MB / 1.065 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7893, allocations: 4 kB / 1.065 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002564/0.7919, allocations: 2.03 MB / 1.067 GB, free: 9.562 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01655/0.8085, allocations: 3.291 MB / 1.071 GB, free: 6.344 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1126/0.9211, allocations: 58.08 MB / 1.127 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/0.9247, allocations: 4.27 MB / 1.131 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.005392/0.9301, allocations: 1.901 MB / 1.133 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003027/0.9332, allocations: 2.423 MB / 1.136 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of SimCode: time 5.41e-07/0.9332, allocations: 4 kB / 1.136 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.176/4.109, allocations: 150 MB / 1.282 GB, free: 371.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/4.109, allocations: 275.5 kB / 1.282 GB, free: 371.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.547/9.656, allocations: 0 / 1.282 GB, free: 371.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)