Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_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.001097/0.001097, 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.001133/0.001133, allocations: 194.6 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.289/1.289, 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 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.5869, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04505/0.632, allocations: 49.29 MB / 0.9978 GB, free: 404 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.6508, allocations: 13.83 MB / 1.011 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.6535, allocations: 67.62 kB / 1.011 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.6556, allocations: 0.8031 MB / 1.012 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005934/0.6615, allocations: 2.257 MB / 1.014 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.6646, allocations: 1.298 MB / 1.016 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02137/0.686, allocations: 19.58 MB / 1.035 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.7005, allocations: 9.91 MB / 1.044 GB, free: 444 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01388/0.7144, allocations: 6.492 MB / 1.051 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00941/0.7239, allocations: 5.758 MB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.7266, allocations: 0.8438 MB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005894/0.7325, allocations: 1.6 MB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.7361, allocations: 2.119 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008678/0.7448, allocations: 4.287 MB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01537/0.7602, allocations: 11.92 MB / 1.077 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.7602, allocations: 0 / 1.077 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7603, allocations: 4 kB / 1.077 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004285/0.7607, allocations: 0 / 1.077 GB, free: 15.34 MB / 0.8419 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.02145/0.7822, allocations: 7.727 MB / 1.084 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.7822, allocations: 12.03 kB / 1.084 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003387/0.7856, allocations: 0.7759 MB / 1.085 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/0.7897, allocations: 0.7813 MB / 1.086 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.8023, allocations: 6.05 MB / 1.092 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.8028, allocations: 419.1 kB / 1.092 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/0.8047, allocations: 0.539 MB / 1.093 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/0.8238, allocations: 8.068 MB / 1.101 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002199/0.824, allocations: 19.78 kB / 1.101 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.8255, allocations: 236 kB / 1.101 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.8257, allocations: 168 kB / 1.101 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.8393, allocations: 6.52 MB / 1.107 GB, free: 15.64 MB / 0.8731 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.0456/0.885, allocations: 31.44 MB / 1.138 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.891, allocations: 3.648 MB / 1.142 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/0.8953, allocations: 2.811 MB / 1.144 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009965/0.8964, allocations: 0.828 MB / 1.145 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.596e-05/0.8964, allocations: 76.61 kB / 1.145 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 5.42e-06/0.8965, allocations: 0 / 1.145 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.01151/0.908, allocations: 5.759 MB / 1.151 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.9081, allocations: 77.52 kB / 1.151 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/0.9181, allocations: 5.235 MB / 1.156 GB, free: 11.63 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006106/0.9188, allocations: 81.7 kB / 1.156 GB, free: 11.54 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/0.9216, allocations: 2.86 MB / 1.159 GB, free: 8.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.9229, allocations: 0.9398 MB / 1.16 GB, free: 7.703 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.9245, allocations: 0.7191 MB / 1.16 GB, free: 6.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.9246, allocations: 305.1 kB / 1.161 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/0.9273, allocations: 1.678 MB / 1.162 GB, free: 4.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/0.9308, allocations: 2.928 MB / 1.165 GB, free: 1.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006469/0.9373, allocations: 4.962 MB / 1.17 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/0.9373, allocations: 12 kB / 1.17 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009524/0.9468, allocations: 5.441 MB / 1.175 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.9469, allocations: 20 kB / 1.175 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/0.947, allocations: 40 kB / 1.175 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.948, allocations: 427.9 kB / 1.176 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.951, allocations: 0.8618 MB / 1.177 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005892/0.9569, allocations: 5.697 MB / 1.182 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004342/0.9613, allocations: 0.5183 MB / 1.183 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000563/0.9618, allocations: 172 kB / 1.183 GB, free: 14.44 MB / 0.9512 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.004116/0.966, allocations: 2.292 MB / 1.185 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/0.9677, allocations: 486.1 kB / 1.186 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00774/0.9755, allocations: 4.183 MB / 1.19 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.9755, allocations: 27.98 kB / 1.19 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.9756, allocations: 4 kB / 1.19 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005237/0.9808, allocations: 3.636 MB / 1.193 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/1.001, allocations: 10.29 MB / 1.203 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.001, allocations: 8.031 kB / 1.203 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.003, allocations: 0.4954 MB / 1.204 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/1.004, allocations: 382.8 kB / 1.204 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/1.004, allocations: 75.97 kB / 1.204 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005665/1.01, allocations: 5.644 MB / 1.21 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.01, allocations: 11.88 kB / 1.21 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009739/1.02, allocations: 6.243 MB / 1.216 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/1.023, allocations: 1.096 MB / 1.217 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/1.025, allocations: 63.98 kB / 1.217 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/1.028, allocations: 167.7 kB / 1.217 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/1.029, allocations: 181.6 kB / 1.217 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/1.029, allocations: 131.9 kB / 1.218 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006968/1.036, allocations: 3.839 MB / 1.221 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.036, allocations: 0 / 1.221 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006444/1.042, allocations: 1.796 MB / 1.223 GB, free: 4.582 MB / 0.9825 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.01183/1.054, allocations: 7.193 MB / 1.23 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01542/1.07, allocations: 8.074 MB / 1.238 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.07, allocations: 4 kB / 1.238 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003405/1.073, allocations: 2.036 MB / 1.24 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01819/1.091, allocations: 3.462 MB / 1.243 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5295/1.621, allocations: 57.86 MB / 1.3 GB, free: 251.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/1.624, allocations: 4.304 MB / 1.304 GB, free: 248.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005288/1.63, allocations: 1.861 MB / 1.306 GB, free: 248 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/1.633, allocations: 2.441 MB / 1.308 GB, free: 245.9 MB / 1.014 GB Notification: Performance of SimCode: time 3.396e-06/1.633, allocations: 0 / 1.308 GB, free: 245.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/1.83, allocations: 158.1 MB / 1.463 GB, free: 94.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/14.67, allocations: 9.938 kB / 1.463 GB, free: 94.18 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)