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.001599/0.001599, allocations: 108 kB / 15.6 MB, free: 132 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.001824/0.001824, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.23/2.23, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.89 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5252, allocations: 140.3 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04808/0.5733, allocations: 56 MB / 1.004 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.5967, allocations: 17.95 MB / 1.022 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.5991, allocations: 79.56 kB / 1.022 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.6014, allocations: 0.8924 MB / 1.023 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.6078, allocations: 2.503 MB / 1.025 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.6112, allocations: 1.524 MB / 1.027 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01917/0.6304, allocations: 21.23 MB / 1.048 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.643, allocations: 10.69 MB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.6551, allocations: 7.134 MB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009311/0.6645, allocations: 6.354 MB / 1.071 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002523/0.667, allocations: 0.9375 MB / 1.072 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/0.6726, allocations: 1.698 MB / 1.074 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003525/0.6762, allocations: 2.341 MB / 1.076 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007856/0.6841, allocations: 4.703 MB / 1.081 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.6975, allocations: 13.03 MB / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.6975, allocations: 0 / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6976, allocations: 0 / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002716/0.6978, allocations: 0 / 1.093 GB, free: 14.29 MB / 0.8575 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.01845/0.7163, allocations: 8.53 MB / 1.102 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7163, allocations: 8.031 kB / 1.102 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002083/0.7184, allocations: 0.8422 MB / 1.102 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.7218, allocations: 0.8509 MB / 1.103 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.733, allocations: 6.419 MB / 1.11 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.7334, allocations: 468.1 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.7349, allocations: 0.5975 MB / 1.111 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/0.7513, allocations: 9.032 MB / 1.119 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.7515, allocations: 19.78 kB / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000992/0.7525, allocations: 264 kB / 1.12 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.7527, allocations: 183.9 kB / 1.12 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.7655, allocations: 7.445 MB / 1.127 GB, free: 11.14 MB / 0.8887 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.044/0.8095, allocations: 36.26 MB / 1.163 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006121/0.8156, allocations: 4.286 MB / 1.167 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004537/0.8202, allocations: 3.308 MB / 1.17 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.8214, allocations: 0.9583 MB / 1.171 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003711/0.8252, allocations: 2.394 MB / 1.173 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001953/0.8271, allocations: 367.8 kB / 1.174 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=317): time 8.166e-06/0.8272, allocations: 0 / 1.174 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=317): time 0.01236/0.8395, allocations: 7.132 MB / 1.181 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.8396, allocations: 85.91 kB / 1.181 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/0.8484, allocations: 5.666 MB / 1.186 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004312/0.8488, allocations: 89.7 kB / 1.186 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002858/0.8517, allocations: 3.196 MB / 1.189 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.8529, allocations: 1.113 MB / 1.19 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.8544, allocations: 0.858 MB / 1.191 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.8545, allocations: 305.1 kB / 1.192 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/0.8578, allocations: 2.163 MB / 1.194 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/0.862, allocations: 3.705 MB / 1.197 GB, free: 104 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/0.8698, allocations: 6.319 MB / 1.203 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-05/0.8698, allocations: 12 kB / 1.204 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01125/0.8811, allocations: 6.772 MB / 1.21 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.8812, allocations: 51.73 kB / 1.21 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-05/0.8812, allocations: 52 kB / 1.21 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/0.8822, allocations: 441.3 kB / 1.211 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/0.8858, allocations: 1.014 MB / 1.212 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/0.8914, allocations: 5.68 MB / 1.217 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004244/0.8957, allocations: 291.3 kB / 1.217 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/0.8962, allocations: 220 kB / 1.218 GB, free: 10.21 MB / 0.9825 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.003964/0.9002, allocations: 2.476 MB / 1.22 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/0.9017, allocations: 0.5288 MB / 1.221 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/0.9107, allocations: 5.274 MB / 1.226 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.9107, allocations: 28 kB / 1.226 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.9108, allocations: 8 kB / 1.226 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00645/0.9172, allocations: 4.535 MB / 1.23 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02129/0.9385, allocations: 12.05 MB / 1.242 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.9386, allocations: 0 / 1.242 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/0.9414, allocations: 0.6438 MB / 1.243 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008497/0.9423, allocations: 375.3 kB / 1.243 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.9426, allocations: 87.95 kB / 1.243 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005476/0.9481, allocations: 5.618 MB / 1.249 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9481, allocations: 0 / 1.249 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/0.9597, allocations: 7.761 MB / 1.256 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/0.9625, allocations: 1.155 MB / 1.257 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/0.9637, allocations: 71.92 kB / 1.257 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/0.9672, allocations: 199.7 kB / 1.258 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/0.9676, allocations: 202.2 kB / 1.258 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000356/0.968, allocations: 143.9 kB / 1.258 GB, free: 324 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.7154/1.683, allocations: 3.954 MB / 1.262 GB, free: 278.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.042e-06/1.683, allocations: 0 / 1.262 GB, free: 278.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006318/1.69, allocations: 2.005 MB / 1.264 GB, free: 278.1 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.012/1.702, allocations: 8.715 MB / 1.272 GB, free: 274.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01888/1.721, allocations: 11.63 MB / 1.284 GB, free: 272.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.721, allocations: 3.562 kB / 1.284 GB, free: 272.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/1.723, allocations: 2.556 MB / 1.286 GB, free: 271.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/1.735, allocations: 3.409 MB / 1.289 GB, free: 270.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05443/1.79, allocations: 64.73 MB / 1.353 GB, free: 205.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/1.793, allocations: 4.631 MB / 1.357 GB, free: 201 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005052/1.798, allocations: 2.081 MB / 1.359 GB, free: 198.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002675/1.8, allocations: 2.678 MB / 1.362 GB, free: 196.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.363e-06/1.8, allocations: 0 / 1.362 GB, free: 196.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8079/2.608, allocations: 165.6 MB / 1.523 GB, free: 31.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/15.94, allocations: 10.11 kB / 1.524 GB, free: 31.67 MB / 1.014 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)