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.0008168/0.0008167, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001024/0.001024, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.395 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.7 MB / 0.5499 GB, free: 14.59 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.0005293/0.0005294, allocations: 19.34 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2564, allocations: 116.3 MB / 0.7874 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04098/0.2974, allocations: 45.36 MB / 0.8317 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.3151, allocations: 12.88 MB / 0.8443 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.3179, allocations: 59.62 kB / 0.8443 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.3204, allocations: 0.5704 MB / 0.8449 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.3264, allocations: 1.768 MB / 0.8466 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.3296, allocations: 0.9357 MB / 0.8475 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02084/0.3504, allocations: 21.62 MB / 0.8686 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.3608, allocations: 6.523 MB / 0.875 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01073/0.3716, allocations: 4.767 MB / 0.8797 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009638/0.3813, allocations: 4.932 MB / 0.8845 GB, free: 8.133 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.3833, allocations: 304 kB / 0.8848 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.3886, allocations: 0.7411 MB / 0.8855 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.3915, allocations: 1.362 MB / 0.8868 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003683/0.3952, allocations: 1.463 MB / 0.8882 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.4077, allocations: 9.426 MB / 0.8975 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.4078, allocations: 0 / 0.8975 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4078, allocations: 0 / 0.8975 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004733/0.4083, allocations: 4 kB / 0.8975 GB, free: 10.8 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.01816/0.4265, allocations: 6.24 MB / 0.9036 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4265, allocations: 15.97 kB / 0.9036 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003035/0.4296, allocations: 0.7756 MB / 0.9043 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.4339, allocations: 0.7689 MB / 0.9051 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4766/0.9105, allocations: 5.976 MB / 0.9109 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006343/0.9112, allocations: 420.2 kB / 0.9113 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/0.9135, allocations: 0.5366 MB / 0.9118 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.9322, allocations: 8.028 MB / 0.9197 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.9324, allocations: 12.66 kB / 0.9197 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006001/0.933, allocations: 235.3 kB / 0.9199 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.9331, allocations: 172.2 kB / 0.9201 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.9485, allocations: 6.482 MB / 0.9264 GB, free: 104.1 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.04608/0.9946, allocations: 31.12 MB / 0.9568 GB, free: 80.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00459/0.9992, allocations: 3.631 MB / 0.9603 GB, free: 78.39 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/1.003, allocations: 2.885 MB / 0.9632 GB, free: 77.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/1.004, allocations: 0.8409 MB / 0.964 GB, free: 76.17 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/1.004, allocations: 72.17 kB / 0.9641 GB, free: 76.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.21e-06/1.004, allocations: 4 kB / 0.9641 GB, free: 76.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.008809/1.012, allocations: 5.726 MB / 0.9697 GB, free: 71.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/1.012, allocations: 85.52 kB / 0.9697 GB, free: 70.92 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005933/1.018, allocations: 4.906 MB / 0.9745 GB, free: 66.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004209/1.019, allocations: 81.7 kB / 0.9746 GB, free: 65.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.021, allocations: 2.835 MB / 0.9774 GB, free: 63.08 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009433/1.021, allocations: 0.9382 MB / 0.9783 GB, free: 62.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/1.022, allocations: 76 kB / 0.9784 GB, free: 62.08 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.022, allocations: 461.9 kB / 0.9788 GB, free: 61.62 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/1.024, allocations: 1.658 MB / 0.9804 GB, free: 59.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.026, allocations: 2.924 MB / 0.9833 GB, free: 56.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/1.029, allocations: 2.269 MB / 0.9855 GB, free: 54.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.029, allocations: 12 kB / 0.9855 GB, free: 54.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007366/1.036, allocations: 5.403 MB / 0.9908 GB, free: 48.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/1.036, allocations: 20 kB / 0.9908 GB, free: 48.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.036, allocations: 43.17 kB / 0.9908 GB, free: 48.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/1.037, allocations: 425.4 kB / 0.9912 GB, free: 48.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/1.039, allocations: 0.8541 MB / 0.9921 GB, free: 47.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/1.043, allocations: 5.264 MB / 0.9972 GB, free: 41.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/1.048, allocations: 0.6432 MB / 0.9978 GB, free: 41.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.048, allocations: 180 kB / 0.998 GB, free: 41.05 MB / 0.7169 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 (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.003493/1.052, allocations: 2.269 MB / 1 GB, free: 38.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.053, allocations: 482.2 kB / 1.001 GB, free: 38.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/1.059, allocations: 4.16 MB / 1.005 GB, free: 34.08 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/1.059, allocations: 24 kB / 1.005 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.059, allocations: 4 kB / 1.005 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003921/1.062, allocations: 3.608 MB / 1.008 GB, free: 30.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.079, allocations: 10.17 MB / 1.018 GB, free: 20.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.079, allocations: 4 kB / 1.018 GB, free: 20.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.081, allocations: 0.5031 MB / 1.019 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007063/1.081, allocations: 369.6 kB / 1.019 GB, free: 19.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.081, allocations: 83.92 kB / 1.019 GB, free: 19.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/1.085, allocations: 5.208 MB / 1.024 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.085, allocations: 7.938 kB / 1.024 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007785/1.093, allocations: 6.212 MB / 1.03 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/1.096, allocations: 1.158 MB / 1.031 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009754/1.097, allocations: 63.98 kB / 1.032 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/1.1, allocations: 325.6 kB / 1.032 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/1.1, allocations: 181.7 kB / 1.032 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002376/1.101, allocations: 127.9 kB / 1.032 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005601/1.106, allocations: 3.587 MB / 1.036 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/1.106, allocations: 0 / 1.036 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006273/1.113, allocations: 1.779 MB / 1.037 GB, free: 28 kB / 0.7169 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 (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.01133/1.124, allocations: 7.12 MB / 1.044 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007459/1.131, allocations: 4.234 MB / 1.048 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.131, allocations: 4 kB / 1.048 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/1.135, allocations: 2.032 MB / 1.05 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01665/1.151, allocations: 3.287 MB / 1.054 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1269/1.278, allocations: 45.29 MB / 1.098 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006431/1.285, allocations: 4.276 MB / 1.102 GB, free: 10.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007205/1.292, allocations: 1.9 MB / 1.104 GB, free: 8.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/1.296, allocations: 2.413 MB / 1.106 GB, free: 6.445 MB / 0.795 GB Notification: Performance of SimCode: time 1.062e-06/1.296, allocations: 0 / 1.106 GB, free: 6.445 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/1.549, allocations: 159.2 MB / 1.262 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/1.549, allocations: 256.8 kB / 1.262 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.429/7.978, allocations: 2.25 kB / 1.262 GB, free: 7.855 MB / 0.9512 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/linux/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) Environment - environmentSimulation: