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.004645/0.004645, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001258/0.001258, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.289/2.289, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2374, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04713/0.2846, allocations: 49.32 MB / 1.214 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.3013, allocations: 13.82 MB / 1.228 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.3028, allocations: 71.56 kB / 1.228 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3047, allocations: 0.8031 MB / 1.229 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.3094, allocations: 2.253 MB / 1.231 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.312, allocations: 1.316 MB / 1.232 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.4594/0.7714, allocations: 19.58 MB / 1.251 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.7818, allocations: 9.902 MB / 1.261 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/0.7921, allocations: 6.518 MB / 1.267 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00808/0.8002, allocations: 5.751 MB / 1.273 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.8015, allocations: 0.8474 MB / 1.274 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.8054, allocations: 1.604 MB / 1.275 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.807, allocations: 2.123 MB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004483/0.8114, allocations: 4.283 MB / 1.282 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.8228, allocations: 12.1 MB / 1.293 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.8228, allocations: 0 / 1.293 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8228, allocations: 1.781 kB / 1.293 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002604/0.8231, allocations: 0 / 1.293 GB, free: 1.594 MB / 0.9981 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.01353/0.8366, allocations: 7.918 MB / 1.301 GB, free: 14.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.8366, allocations: 8.844 kB / 1.301 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009609/0.8376, allocations: 0.7672 MB / 1.302 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.84, allocations: 0.823 MB / 1.303 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009274/0.8492, allocations: 6.343 MB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.8495, allocations: 415.7 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007577/0.8503, allocations: 0.5379 MB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.8617, allocations: 8.077 MB / 1.318 GB, free: 8.273 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.8618, allocations: 14.5 kB / 1.318 GB, free: 8.273 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005559/0.8624, allocations: 233.6 kB / 1.318 GB, free: 8.102 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.8625, allocations: 168.6 kB / 1.318 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008508/0.871, allocations: 6.525 MB / 1.324 GB, free: 5.973 MB / 1.014 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.03239/0.9034, allocations: 31.28 MB / 1.355 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/0.9077, allocations: 3.646 MB / 1.359 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.9109, allocations: 2.801 MB / 1.361 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008894/0.9118, allocations: 0.823 MB / 1.362 GB, free: 9.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.9118, allocations: 69.83 kB / 1.362 GB, free: 9.027 MB / 1.045 GB Notification: Performance of pre-optimization done (n=267): time 4.178e-06/0.9118, allocations: 3.75 kB / 1.362 GB, free: 9.027 MB / 1.045 GB Notification: Performance of matching and sorting (n=267): time 0.009593/0.9214, allocations: 5.795 MB / 1.368 GB, free: 3.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.9215, allocations: 81.52 kB / 1.368 GB, free: 3.598 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00648/0.928, allocations: 5.236 MB / 1.373 GB, free: 14.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.9282, allocations: 77.7 kB / 1.373 GB, free: 14.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.9306, allocations: 2.937 MB / 1.376 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.9317, allocations: 0.9782 MB / 1.377 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.9327, allocations: 0.7195 MB / 1.378 GB, free: 9.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9328, allocations: 301.1 kB / 1.378 GB, free: 9.348 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.9352, allocations: 1.678 MB / 1.38 GB, free: 7.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003312/0.9385, allocations: 2.93 MB / 1.382 GB, free: 4.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.9445, allocations: 4.965 MB / 1.387 GB, free: 14.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/0.9445, allocations: 15.94 kB / 1.387 GB, free: 14.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007893/0.9524, allocations: 5.465 MB / 1.393 GB, free: 9.535 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.9524, allocations: 21.56 kB / 1.393 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/0.9525, allocations: 40 kB / 1.393 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/0.9534, allocations: 420 kB / 1.393 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.956, allocations: 0.8562 MB / 1.394 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.9616, allocations: 5.715 MB / 1.4 GB, free: 2.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.9649, allocations: 0.5276 MB / 1.4 GB, free: 1.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/0.9652, allocations: 184.5 kB / 1.4 GB, free: 1.617 MB / 1.076 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.0034/0.9686, allocations: 2.283 MB / 1.402 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/0.9694, allocations: 0.5007 MB / 1.403 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/0.9756, allocations: 4.18 MB / 1.407 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.9756, allocations: 31.98 kB / 1.407 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.9756, allocations: 4.047 kB / 1.407 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004912/0.9805, allocations: 3.634 MB / 1.411 GB, free: 6.887 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.9952, allocations: 10.28 MB / 1.421 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.9952, allocations: 4 kB / 1.421 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/0.9972, allocations: 0.5056 MB / 1.421 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007397/0.9979, allocations: 373.3 kB / 1.421 GB, free: 11.69 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.9981, allocations: 75.44 kB / 1.422 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005457/1.004, allocations: 5.643 MB / 1.427 GB, free: 5.738 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.004, allocations: 8 kB / 1.427 GB, free: 5.73 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008431/1.012, allocations: 6.272 MB / 1.433 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.014, allocations: 1.118 MB / 1.434 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005851/1.015, allocations: 63.98 kB / 1.434 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/1.017, allocations: 179 kB / 1.435 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/1.017, allocations: 176.6 kB / 1.435 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/1.017, allocations: 131.9 kB / 1.435 GB, free: 13.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.005037/1.022, allocations: 3.839 MB / 1.439 GB, free: 9.812 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.41e-07/1.022, allocations: 0 / 1.439 GB, free: 9.812 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004261/1.027, allocations: 1.821 MB / 1.44 GB, free: 7.988 MB / 1.123 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.009475/1.036, allocations: 7.216 MB / 1.447 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00595/1.042, allocations: 4.281 MB / 1.452 GB, free: 12.51 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.042, allocations: 7.781 kB / 1.452 GB, free: 12.5 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.045, allocations: 2.03 MB / 1.454 GB, free: 10.5 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01203/1.057, allocations: 3.448 MB / 1.457 GB, free: 7.141 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06016/1.117, allocations: 47.14 MB / 1.503 GB, free: 6.605 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003921/1.121, allocations: 4.303 MB / 1.507 GB, free: 2.27 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004724/1.126, allocations: 1.856 MB / 1.509 GB, free: 440 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003192/1.129, allocations: 2.446 MB / 1.511 GB, free: 13.99 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/1.129, allocations: 0 / 1.511 GB, free: 13.99 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.655/3.784, allocations: 154.1 MB / 1.662 GB, free: 5.238 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.91/31.69, allocations: 26.03 kB / 1.662 GB, free: 5.219 MB / 1.342 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)