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.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001741/0.001741, allocations: 190.3 kB / 16.25 MB, free: 6.645 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.449 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.212/2.212, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.5682, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05093/0.6192, allocations: 55.52 MB / 1.003 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.6425, allocations: 17.8 MB / 1.021 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.6457, allocations: 67.62 kB / 1.021 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.6486, allocations: 0.7654 MB / 1.022 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006978/0.6556, allocations: 2.321 MB / 1.024 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.6595, allocations: 1.403 MB / 1.025 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02288/0.6824, allocations: 21.33 MB / 1.046 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01338/0.6958, allocations: 10.59 MB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.7105, allocations: 7.213 MB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009893/0.7205, allocations: 6.553 MB / 1.07 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002571/0.7231, allocations: 0.9258 MB / 1.071 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005794/0.7289, allocations: 1.705 MB / 1.072 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002723/0.7316, allocations: 2.322 MB / 1.075 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008287/0.7399, allocations: 4.692 MB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.7537, allocations: 13 MB / 1.092 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7538, allocations: 0 / 1.092 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7538, allocations: 0 / 1.092 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003365/0.7541, allocations: 0 / 1.092 GB, free: 15.35 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.01805/0.7722, allocations: 8.514 MB / 1.1 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.7722, allocations: 8.031 kB / 1.1 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00138/0.7736, allocations: 0.8422 MB / 1.101 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.7761, allocations: 0.8509 MB / 1.102 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.7879, allocations: 6.618 MB / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.7883, allocations: 464.2 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/0.7902, allocations: 0.5897 MB / 1.109 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.8103, allocations: 9.021 MB / 1.118 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002393/0.8106, allocations: 23.77 kB / 1.118 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/0.8122, allocations: 264 kB / 1.119 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.8124, allocations: 183.9 kB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.8282, allocations: 7.449 MB / 1.126 GB, free: 12.03 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.05144/0.8797, allocations: 35.91 MB / 1.161 GB, free: 6.055 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006359/0.8861, allocations: 4.286 MB / 1.165 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00478/0.8909, allocations: 3.308 MB / 1.168 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.8922, allocations: 0.9582 MB / 1.169 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004102/0.8964, allocations: 2.39 MB / 1.172 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002898/0.8993, allocations: 411.9 kB / 1.172 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=317): time 9.077e-06/0.8993, allocations: 0 / 1.172 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=317): time 0.0128/0.9121, allocations: 7.14 MB / 1.179 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.9122, allocations: 81.91 kB / 1.179 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00934/0.9216, allocations: 5.459 MB / 1.185 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005186/0.9221, allocations: 93.7 kB / 1.185 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/0.9252, allocations: 3.188 MB / 1.188 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.9267, allocations: 1.125 MB / 1.189 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/0.9285, allocations: 0.854 MB / 1.19 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9287, allocations: 313 kB / 1.19 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003636/0.9323, allocations: 2.163 MB / 1.192 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/0.9368, allocations: 3.697 MB / 1.196 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00787/0.9447, allocations: 6.319 MB / 1.202 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/0.9447, allocations: 12 kB / 1.202 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01107/0.9558, allocations: 6.779 MB / 1.208 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.9559, allocations: 49.7 kB / 1.209 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.276e-05/0.956, allocations: 48.88 kB / 1.209 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.957, allocations: 441.3 kB / 1.209 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/0.9606, allocations: 1.01 MB / 1.21 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.9663, allocations: 5.7 MB / 1.216 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/0.9712, allocations: 466.8 kB / 1.216 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005952/0.9719, allocations: 220 kB / 1.216 GB, free: 11.42 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.004425/0.9763, allocations: 2.479 MB / 1.219 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/0.978, allocations: 0.5248 MB / 1.219 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009655/0.9876, allocations: 5.263 MB / 1.224 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.9877, allocations: 35.98 kB / 1.224 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.9877, allocations: 8 kB / 1.224 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006646/0.9944, allocations: 4.531 MB / 1.229 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/1.017, allocations: 11.96 MB / 1.24 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.017, allocations: 0 / 1.24 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.02, allocations: 0.644 MB / 1.241 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008935/1.021, allocations: 373.3 kB / 1.241 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000293/1.021, allocations: 87.89 kB / 1.242 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005531/1.026, allocations: 5.621 MB / 1.247 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.026, allocations: 0 / 1.247 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/1.038, allocations: 7.761 MB / 1.255 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/1.041, allocations: 1.139 MB / 1.256 GB, free: 2.234 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/1.043, allocations: 71.92 kB / 1.256 GB, free: 2.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004756/1.048, allocations: 451.2 kB / 1.256 GB, free: 1.723 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/1.048, allocations: 202.2 kB / 1.256 GB, free: 1.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003946/1.049, allocations: 139.9 kB / 1.257 GB, free: 1.387 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.7802/1.829, allocations: 3.803 MB / 1.26 GB, free: 277.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.51e-07/1.829, allocations: 0 / 1.26 GB, free: 277.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006958/1.836, allocations: 1.989 MB / 1.262 GB, free: 277.8 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.01319/1.849, allocations: 8.698 MB / 1.271 GB, free: 274.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02046/1.869, allocations: 11.63 MB / 1.282 GB, free: 272.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.87, allocations: 3.562 kB / 1.282 GB, free: 272.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.872, allocations: 2.546 MB / 1.285 GB, free: 271.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01259/1.885, allocations: 3.405 MB / 1.288 GB, free: 270.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1221/2.007, allocations: 65.63 MB / 1.352 GB, free: 206.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/2.01, allocations: 4.638 MB / 1.356 GB, free: 201.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005408/2.016, allocations: 2.033 MB / 1.358 GB, free: 199.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/2.019, allocations: 2.663 MB / 1.361 GB, free: 196.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/2.019, allocations: 0 / 1.361 GB, free: 196.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/2.212, allocations: 163.1 MB / 1.52 GB, free: 34.86 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/2.212, allocations: 278.7 kB / 1.521 GB, free: 34.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.66/7.872, allocations: 4 kB / 1.521 GB, free: 34.48 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)