Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_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.001576/0.001576, allocations: 108 kB / 15.61 MB, free: 152 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.001659/0.001659, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.463/2.463, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 63.69 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2294, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04413/0.2735, allocations: 49.3 MB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.2899, allocations: 13.82 MB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.2908, allocations: 67.62 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.2923, allocations: 0.8109 MB / 1.127 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.2961, allocations: 2.25 MB / 1.129 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.2984, allocations: 1.298 MB / 1.13 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01608/0.3145, allocations: 19.59 MB / 1.149 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009635/0.3242, allocations: 9.898 MB / 1.159 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009214/0.3334, allocations: 6.501 MB / 1.165 GB, free: 6.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006236/0.3397, allocations: 5.747 MB / 1.171 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.3408, allocations: 0.8477 MB / 1.172 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.344, allocations: 1.608 MB / 1.173 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.3459, allocations: 2.111 MB / 1.175 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004575/0.3504, allocations: 4.295 MB / 1.179 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.3607, allocations: 11.92 MB / 1.191 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3607, allocations: 0 / 1.191 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3608, allocations: 0 / 1.191 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.782e-05/0.3609, allocations: 0 / 1.191 GB, free: 11.67 MB / 0.9512 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.0113/0.3722, allocations: 7.729 MB / 1.199 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3722, allocations: 12.03 kB / 1.199 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009118/0.3731, allocations: 0.7642 MB / 1.199 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.375, allocations: 0.7852 MB / 1.2 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008438/0.3835, allocations: 6.049 MB / 1.206 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/0.3838, allocations: 419.2 kB / 1.206 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/0.3845, allocations: 0.5429 MB / 1.207 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.3956, allocations: 8.076 MB / 1.215 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-05/0.3957, allocations: 7.938 kB / 1.215 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/0.3962, allocations: 236 kB / 1.215 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.3963, allocations: 167.9 kB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009432/0.4058, allocations: 6.524 MB / 1.222 GB, free: 11.97 MB / 0.9825 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.4179/0.8237, allocations: 31.44 MB / 1.252 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/0.8279, allocations: 3.647 MB / 1.256 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/0.8307, allocations: 2.802 MB / 1.259 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.8314, allocations: 0.8301 MB / 1.259 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.8314, allocations: 66.92 kB / 1.26 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.177e-06/0.8315, allocations: 0 / 1.26 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.008625/0.8401, allocations: 5.767 MB / 1.265 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.8401, allocations: 86.12 kB / 1.265 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006323/0.8465, allocations: 5.23 MB / 1.27 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.8467, allocations: 81.36 kB / 1.27 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.8484, allocations: 2.872 MB / 1.273 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/0.849, allocations: 0.9318 MB / 1.274 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008018/0.8498, allocations: 0.7115 MB / 1.275 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.125e-05/0.8499, allocations: 309.9 kB / 1.275 GB, free: 152 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.852, allocations: 1.678 MB / 1.277 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.8546, allocations: 2.936 MB / 1.28 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/0.8594, allocations: 4.963 MB / 1.284 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.8594, allocations: 11.34 kB / 1.285 GB, free: 146.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006889/0.8663, allocations: 5.434 MB / 1.29 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.8664, allocations: 25.69 kB / 1.29 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.8664, allocations: 40.94 kB / 1.29 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007593/0.8672, allocations: 425.3 kB / 1.29 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/0.8696, allocations: 0.8586 MB / 1.291 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.8736, allocations: 5.708 MB / 1.297 GB, free: 139.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.8766, allocations: 0.5123 MB / 1.297 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.8768, allocations: 177.9 kB / 1.297 GB, free: 139.5 MB / 0.9981 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.002348/0.8791, allocations: 2.288 MB / 1.3 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000586/0.8797, allocations: 486.4 kB / 1.3 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/0.8844, allocations: 4.176 MB / 1.304 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.8844, allocations: 30.97 kB / 1.304 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.8844, allocations: 4.156 kB / 1.304 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003483/0.8879, allocations: 3.635 MB / 1.308 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.8984, allocations: 10.29 MB / 1.318 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.8984, allocations: 4 kB / 1.318 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.9001, allocations: 0.4954 MB / 1.318 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005759/0.9007, allocations: 381.2 kB / 1.319 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.9008, allocations: 75.95 kB / 1.319 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.9043, allocations: 5.647 MB / 1.324 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9043, allocations: 7.984 kB / 1.324 GB, free: 120.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/0.9102, allocations: 6.25 MB / 1.33 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.9116, allocations: 1.1 MB / 1.331 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005356/0.9121, allocations: 67.92 kB / 1.331 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/0.9143, allocations: 171.7 kB / 1.332 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.9145, allocations: 177.6 kB / 1.332 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/0.9147, allocations: 134.6 kB / 1.332 GB, free: 112.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003398/0.9181, allocations: 3.839 MB / 1.336 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9181, allocations: 0 / 1.336 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003178/0.9213, allocations: 1.797 MB / 1.337 GB, free: 107.1 MB / 0.9981 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.006635/0.9279, allocations: 7.184 MB / 1.344 GB, free: 99.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.938, allocations: 8.067 MB / 1.352 GB, free: 91.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.938, allocations: 4 kB / 1.352 GB, free: 91.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.9398, allocations: 2.044 MB / 1.354 GB, free: 89.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/0.9504, allocations: 3.466 MB / 1.358 GB, free: 86.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04332/0.9937, allocations: 57.87 MB / 1.414 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/0.9962, allocations: 4.303 MB / 1.418 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004193/1, allocations: 1.85 MB / 1.42 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.003, allocations: 2.452 MB / 1.423 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.003, allocations: 0 / 1.423 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.17/4.172, allocations: 158.1 MB / 1.577 GB, free: 1.609 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.53/26.7, allocations: 3.938 kB / 1.577 GB, free: 1.605 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)