Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.004284/0.004284, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001067/0.001067, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.205/2.205, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 62.62 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2112, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04878/0.26, allocations: 55.99 MB / 1.142 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.2805, allocations: 17.94 MB / 1.16 GB, free: 7.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.2829, allocations: 79.56 kB / 1.16 GB, free: 7.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.2849, allocations: 0.8924 MB / 1.161 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.2904, allocations: 2.512 MB / 1.163 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.2935, allocations: 1.524 MB / 1.165 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01706/0.3106, allocations: 21.26 MB / 1.185 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01063/0.3212, allocations: 10.68 MB / 1.196 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.3323, allocations: 7.154 MB / 1.203 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008659/0.341, allocations: 6.366 MB / 1.209 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.3427, allocations: 0.9375 MB / 1.21 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.3469, allocations: 1.698 MB / 1.212 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001993/0.3489, allocations: 2.341 MB / 1.214 GB, free: 172 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00544/0.3543, allocations: 4.7 MB / 1.218 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.3653, allocations: 13.19 MB / 1.231 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3653, allocations: 0 / 1.231 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3654, allocations: 0 / 1.231 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002174/0.3656, allocations: 0 / 1.231 GB, free: 14.22 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01438/0.38, allocations: 8.508 MB / 1.24 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.38, allocations: 8.031 kB / 1.24 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.3811, allocations: 0.8422 MB / 1.24 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.3834, allocations: 0.8586 MB / 1.241 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.3949, allocations: 6.707 MB / 1.248 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.3952, allocations: 468.1 kB / 1.248 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.3962, allocations: 0.5898 MB / 1.249 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.4096, allocations: 9.028 MB / 1.258 GB, free: 2.727 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.4098, allocations: 19.86 kB / 1.258 GB, free: 2.707 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000623/0.4104, allocations: 260 kB / 1.258 GB, free: 2.453 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.4106, allocations: 183.9 kB / 1.258 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8223/1.233, allocations: 7.447 MB / 1.265 GB, free: 155.2 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.03323/1.266, allocations: 36 MB / 1.301 GB, free: 131.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/1.271, allocations: 4.271 MB / 1.305 GB, free: 129.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003484/1.274, allocations: 3.303 MB / 1.308 GB, free: 127.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008809/1.275, allocations: 0.9537 MB / 1.309 GB, free: 126.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003343/1.278, allocations: 2.386 MB / 1.311 GB, free: 125.5 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001572/1.28, allocations: 377.5 kB / 1.312 GB, free: 125.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=317): time 4.529e-06/1.28, allocations: 1.344 kB / 1.312 GB, free: 125.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=317): time 0.009755/1.29, allocations: 7.137 MB / 1.319 GB, free: 121.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/1.29, allocations: 89.36 kB / 1.319 GB, free: 121.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/1.295, allocations: 5.668 MB / 1.324 GB, free: 118.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/1.295, allocations: 91.95 kB / 1.324 GB, free: 118.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001631/1.297, allocations: 3.186 MB / 1.327 GB, free: 115.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/1.298, allocations: 1.116 MB / 1.328 GB, free: 114.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008567/1.298, allocations: 0.855 MB / 1.329 GB, free: 114.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 2.818e-05/1.299, allocations: 303.2 kB / 1.33 GB, free: 114 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.301, allocations: 2.167 MB / 1.332 GB, free: 112.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/1.304, allocations: 3.693 MB / 1.335 GB, free: 109.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/1.309, allocations: 6.323 MB / 1.341 GB, free: 102.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.309, allocations: 12 kB / 1.341 GB, free: 102.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007467/1.316, allocations: 6.788 MB / 1.348 GB, free: 95.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/1.316, allocations: 57.7 kB / 1.348 GB, free: 95.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/1.317, allocations: 48.55 kB / 1.348 GB, free: 95.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/1.317, allocations: 431.8 kB / 1.349 GB, free: 95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/1.32, allocations: 1.006 MB / 1.35 GB, free: 93.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/1.324, allocations: 5.701 MB / 1.355 GB, free: 88.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.327, allocations: 287.4 kB / 1.355 GB, free: 87.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/1.328, allocations: 216 kB / 1.356 GB, free: 87.54 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.002582/1.33, allocations: 2.483 MB / 1.358 GB, free: 85.04 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006785/1.331, allocations: 0.5249 MB / 1.359 GB, free: 84.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006153/1.337, allocations: 5.267 MB / 1.364 GB, free: 79.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.337, allocations: 35.94 kB / 1.364 GB, free: 79.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.337, allocations: 8 kB / 1.364 GB, free: 79.15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004752/1.342, allocations: 4.528 MB / 1.368 GB, free: 74.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/1.355, allocations: 11.97 MB / 1.38 GB, free: 62.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.356, allocations: 3.938 kB / 1.38 GB, free: 62.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.358, allocations: 0.6437 MB / 1.38 GB, free: 61.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006146/1.358, allocations: 380.4 kB / 1.381 GB, free: 61.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.359, allocations: 83.95 kB / 1.381 GB, free: 61.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/1.362, allocations: 5.613 MB / 1.386 GB, free: 55.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.362, allocations: 0 / 1.386 GB, free: 55.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007771/1.37, allocations: 7.769 MB / 1.394 GB, free: 47.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/1.372, allocations: 1.151 MB / 1.395 GB, free: 46.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.373, allocations: 67.97 kB / 1.395 GB, free: 46.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.375, allocations: 195.8 kB / 1.395 GB, free: 46.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/1.375, allocations: 206.2 kB / 1.396 GB, free: 46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.376, allocations: 139.9 kB / 1.396 GB, free: 45.87 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003635/1.379, allocations: 3.959 MB / 1.4 GB, free: 41.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.379, allocations: 0 / 1.4 GB, free: 41.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00367/1.383, allocations: 2.006 MB / 1.402 GB, free: 39.94 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.008505/1.391, allocations: 8.721 MB / 1.41 GB, free: 31.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005469/1.397, allocations: 5.436 MB / 1.415 GB, free: 25.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/1.397, allocations: 4 kB / 1.415 GB, free: 25.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/1.399, allocations: 2.542 MB / 1.418 GB, free: 23.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01017/1.41, allocations: 3.392 MB / 1.421 GB, free: 19.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06041/1.47, allocations: 52.34 MB / 1.472 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/1.474, allocations: 4.639 MB / 1.477 GB, free: 8.711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.005033/1.479, allocations: 2.076 MB / 1.479 GB, free: 6.641 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003155/1.482, allocations: 2.674 MB / 1.481 GB, free: 3.969 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/1.482, allocations: 4 kB / 1.481 GB, free: 3.965 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.977/3.459, allocations: 159.9 MB / 1.638 GB, free: 5.172 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.69/25.15, allocations: 12.06 kB / 1.638 GB, free: 5.16 MB / 1.217 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)