Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_10_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.001311/0.001311, 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.001312/0.001312, allocations: 196.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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 437.1 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5177, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04603/0.5637, allocations: 49.31 MB / 1.066 GB, free: 1 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.5805, allocations: 13.82 MB / 1.079 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.5823, allocations: 67.62 kB / 1.079 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.5844, allocations: 0.7992 MB / 1.08 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.5894, allocations: 2.266 MB / 1.082 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.5922, allocations: 1.292 MB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01662/0.6088, allocations: 19.58 MB / 1.102 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.6198, allocations: 9.906 MB / 1.112 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/0.63, allocations: 6.5 MB / 1.119 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008856/0.6388, allocations: 5.747 MB / 1.124 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.641, allocations: 0.8438 MB / 1.125 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004917/0.6459, allocations: 1.608 MB / 1.127 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.6486, allocations: 2.111 MB / 1.129 GB, free: 240 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005792/0.6544, allocations: 4.303 MB / 1.133 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.6645, allocations: 11.92 MB / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.6645, allocations: 0 / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6645, allocations: 0 / 1.144 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001781/0.6647, allocations: 0 / 1.144 GB, free: 15.95 MB / 0.9044 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.01291/0.6776, allocations: 7.733 MB / 1.152 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6777, allocations: 15.98 kB / 1.152 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/0.6787, allocations: 0.7603 MB / 1.153 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.6809, allocations: 0.7813 MB / 1.154 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009682/0.6906, allocations: 6.054 MB / 1.159 GB, free: 468 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.6909, allocations: 415.2 kB / 1.16 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.6919, allocations: 0.539 MB / 1.16 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.7058, allocations: 8.076 MB / 1.168 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.706, allocations: 23.78 kB / 1.168 GB, free: 7.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00076/0.7067, allocations: 232 kB / 1.168 GB, free: 6.945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.7069, allocations: 171.9 kB / 1.169 GB, free: 6.777 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.7183, allocations: 6.52 MB / 1.175 GB, free: 252 kB / 0.92 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.03776/0.756, allocations: 31.44 MB / 1.206 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005219/0.7613, allocations: 3.645 MB / 1.209 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/0.7651, allocations: 2.806 MB / 1.212 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009065/0.766, allocations: 0.828 MB / 1.213 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.7661, allocations: 72.66 kB / 1.213 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 4.107e-06/0.7661, allocations: 0 / 1.213 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.01025/0.7763, allocations: 5.763 MB / 1.219 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.7764, allocations: 81.52 kB / 1.219 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009251/0.7857, allocations: 5.227 MB / 1.224 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002721/0.786, allocations: 81.7 kB / 1.224 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/0.7882, allocations: 2.868 MB / 1.227 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009212/0.7891, allocations: 0.9359 MB / 1.227 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009796/0.7901, allocations: 0.7113 MB / 1.228 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.7902, allocations: 312.9 kB / 1.228 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.7926, allocations: 1.678 MB / 1.23 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/0.7958, allocations: 2.932 MB / 1.233 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005946/0.8018, allocations: 4.962 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.64e-05/0.8018, allocations: 16 kB / 1.238 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008443/0.8103, allocations: 5.441 MB / 1.243 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.8103, allocations: 24.94 kB / 1.243 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/0.8104, allocations: 40 kB / 1.243 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009307/0.8113, allocations: 421.3 kB / 1.244 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.8142, allocations: 0.858 MB / 1.244 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.429/1.243, allocations: 5.707 MB / 1.25 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/1.247, allocations: 0.511 MB / 1.251 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/1.248, allocations: 178.4 kB / 1.251 GB, free: 210.3 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.003521/1.251, allocations: 2.284 MB / 1.253 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.252, allocations: 492.9 kB / 1.253 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006668/1.259, allocations: 4.184 MB / 1.257 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/1.259, allocations: 26.19 kB / 1.258 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.259, allocations: 4.594 kB / 1.258 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005581/1.265, allocations: 3.632 MB / 1.261 GB, free: 207.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.28, allocations: 10.3 MB / 1.271 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.28, allocations: 5 kB / 1.271 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/1.282, allocations: 0.4998 MB / 1.272 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007442/1.283, allocations: 373.5 kB / 1.272 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.283, allocations: 79.67 kB / 1.272 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/1.287, allocations: 5.647 MB / 1.278 GB, free: 199.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.287, allocations: 3.969 kB / 1.278 GB, free: 199.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/1.295, allocations: 6.241 MB / 1.284 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.297, allocations: 1.095 MB / 1.285 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006196/1.298, allocations: 60.78 kB / 1.285 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.3, allocations: 180.9 kB / 1.285 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/1.3, allocations: 173.1 kB / 1.285 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.301, allocations: 131.2 kB / 1.285 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004633/1.305, allocations: 3.838 MB / 1.289 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.305, allocations: 0 / 1.289 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004556/1.31, allocations: 1.801 MB / 1.291 GB, free: 194.3 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.007657/1.318, allocations: 7.187 MB / 1.298 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.329, allocations: 8.066 MB / 1.306 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.329, allocations: 6.531 kB / 1.306 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/1.331, allocations: 2.041 MB / 1.308 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01243/1.343, allocations: 3.472 MB / 1.311 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05035/1.393, allocations: 57.84 MB / 1.368 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/1.396, allocations: 4.303 MB / 1.372 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004604/1.401, allocations: 1.862 MB / 1.374 GB, free: 106.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002389/1.403, allocations: 2.444 MB / 1.376 GB, free: 104.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.403, allocations: 4 kB / 1.376 GB, free: 104.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/2.581, allocations: 158.1 MB / 1.53 GB, free: 11.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/17.08, allocations: 11.92 kB / 1.53 GB, free: 11.09 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)