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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009778/0.0009778, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.007726/0.007726, allocations: 171 kB / 16.26 MB, free: 6.613 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 12 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5199, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04239/0.5623, allocations: 47.99 MB / 1.07 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.5774, allocations: 13.67 MB / 1.083 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5784, allocations: 59.62 kB / 1.083 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.5797, allocations: 0.6603 MB / 1.084 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.5833, allocations: 2.088 MB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.5854, allocations: 1.184 MB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01955/0.605, allocations: 25.63 MB / 1.112 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008468/0.6135, allocations: 7.828 MB / 1.12 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007325/0.6208, allocations: 4.691 MB / 1.124 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006257/0.6271, allocations: 5.223 MB / 1.13 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005719/0.6277, allocations: 304 kB / 1.13 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.6302, allocations: 0.9866 MB / 1.131 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.6314, allocations: 1.42 MB / 1.132 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003551/0.635, allocations: 3.543 MB / 1.136 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.6439, allocations: 11.24 MB / 1.147 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.644, allocations: 4 kB / 1.147 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.644, allocations: 3.938 kB / 1.147 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001192/0.6441, allocations: 0 / 1.147 GB, free: 0.8203 MB / 0.8887 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.009472/0.6536, allocations: 6.233 MB / 1.153 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.6536, allocations: 8.031 kB / 1.153 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009164/0.6545, allocations: 0.7642 MB / 1.154 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.6563, allocations: 0.7852 MB / 1.154 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008216/0.6645, allocations: 6.24 MB / 1.16 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.6648, allocations: 419.2 kB / 1.161 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007237/0.6655, allocations: 0.539 MB / 1.161 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.6767, allocations: 8.072 MB / 1.169 GB, free: 9.375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.6768, allocations: 19.78 kB / 1.169 GB, free: 9.355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/0.6773, allocations: 247.9 kB / 1.169 GB, free: 9.113 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.6775, allocations: 167.9 kB / 1.17 GB, free: 8.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009396/0.6869, allocations: 6.528 MB / 1.176 GB, free: 2.41 MB / 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.03071/0.7176, allocations: 31.16 MB / 1.206 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/0.7222, allocations: 3.645 MB / 1.21 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003389/0.7256, allocations: 2.829 MB / 1.213 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008161/0.7264, allocations: 0.8398 MB / 1.214 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.7265, allocations: 72.67 kB / 1.214 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 3.847e-06/0.7265, allocations: 0 / 1.214 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.008912/0.7354, allocations: 5.782 MB / 1.219 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7355, allocations: 85.5 kB / 1.219 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005545/0.741, allocations: 5.024 MB / 1.224 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.7412, allocations: 85.64 kB / 1.224 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/0.7432, allocations: 2.864 MB / 1.227 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007845/0.744, allocations: 0.932 MB / 1.228 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.7444, allocations: 309.6 kB / 1.228 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.7444, allocations: 309.1 kB / 1.229 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.7467, allocations: 1.674 MB / 1.23 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/0.7496, allocations: 2.928 MB / 1.233 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/0.7554, allocations: 4.97 MB / 1.238 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.7554, allocations: 12 kB / 1.238 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007265/0.7627, allocations: 5.441 MB / 1.243 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.7627, allocations: 20 kB / 1.243 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.7627, allocations: 40 kB / 1.243 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/0.7636, allocations: 423.4 kB / 1.244 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.7662, allocations: 0.858 MB / 1.245 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/0.7711, allocations: 5.262 MB / 1.25 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/0.7746, allocations: 0.6471 MB / 1.25 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/0.7748, allocations: 176 kB / 1.251 GB, free: 2.383 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.003018/0.7778, allocations: 2.284 MB / 1.253 GB, free: 88 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3924/1.17, allocations: 483.8 kB / 1.253 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006965/1.177, allocations: 4.181 MB / 1.257 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/1.177, allocations: 34.05 kB / 1.257 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.177, allocations: 5.25 kB / 1.257 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004757/1.182, allocations: 3.633 MB / 1.261 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.197, allocations: 10.21 MB / 1.271 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.197, allocations: 6 kB / 1.271 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/1.199, allocations: 0.5019 MB / 1.271 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/1.2, allocations: 377.5 kB / 1.272 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/1.2, allocations: 75.06 kB / 1.272 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/1.204, allocations: 5.203 MB / 1.277 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.204, allocations: 3.344 kB / 1.277 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/1.211, allocations: 6.255 MB / 1.283 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.213, allocations: 1.162 MB / 1.284 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004929/1.213, allocations: 63.25 kB / 1.284 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.216, allocations: 333.2 kB / 1.285 GB, free: 198.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/1.216, allocations: 177.4 kB / 1.285 GB, free: 198 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.216, allocations: 127.5 kB / 1.285 GB, free: 198 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003948/1.22, allocations: 3.688 MB / 1.288 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.41e-07/1.22, allocations: 0 / 1.288 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003366/1.224, allocations: 1.784 MB / 1.29 GB, free: 196.4 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.006956/1.231, allocations: 7.17 MB / 1.297 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00433/1.235, allocations: 4.268 MB / 1.301 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.235, allocations: 0 / 1.301 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.237, allocations: 2.045 MB / 1.303 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01402/1.251, allocations: 3.283 MB / 1.307 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09629/1.347, allocations: 58.74 MB / 1.364 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/1.35, allocations: 4.299 MB / 1.368 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005015/1.355, allocations: 1.841 MB / 1.37 GB, free: 112.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/1.358, allocations: 2.448 MB / 1.372 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5e-07/1.358, allocations: 0 / 1.372 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.557/5.915, allocations: 150.6 MB / 1.519 GB, free: 8.613 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004823/5.915, allocations: 283.2 kB / 1.52 GB, free: 8.23 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.492/11.41, allocations: 8.062 kB / 1.52 GB, free: 8.223 MB / 1.045 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)