Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.501/1.501, allocations: 287.4 MB / 302.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 181.5 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009641/0.0009642, allocations: 103.6 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004005, allocations: 12 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1795, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03906/0.2186, allocations: 51.55 MB / 1.029 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02058/0.2392, allocations: 16.75 MB / 1.045 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.2416, allocations: 63.62 kB / 1.045 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.2439, allocations: 0.6287 MB / 1.046 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.2497, allocations: 1.974 MB / 1.048 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/0.2531, allocations: 1.082 MB / 1.049 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.4194/0.6725, allocations: 23.57 MB / 1.072 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.6863, allocations: 8.385 MB / 1.08 GB, free: 26.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.6978, allocations: 5.299 MB / 1.085 GB, free: 26.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.711, allocations: 5.483 MB / 1.091 GB, free: 26.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.7125, allocations: 347.1 kB / 1.091 GB, free: 26.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.718, allocations: 0.7845 MB / 1.092 GB, free: 26.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002287/0.7204, allocations: 1.519 MB / 1.093 GB, free: 26.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003801/0.7242, allocations: 1.597 MB / 1.095 GB, free: 26.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.7346, allocations: 10.28 MB / 1.105 GB, free: 26.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7346, allocations: 0 / 1.105 GB, free: 26.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7346, allocations: 0.9688 kB / 1.105 GB, free: 26.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003037/0.7349, allocations: 0 / 1.105 GB, free: 26.12 MB / 0.698 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.01343/0.7483, allocations: 6.844 MB / 1.112 GB, free: 23.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7484, allocations: 9.219 kB / 1.112 GB, free: 23.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002282/0.7507, allocations: 0.8428 MB / 1.113 GB, free: 23.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.7537, allocations: 0.8478 MB / 1.113 GB, free: 22.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.7675, allocations: 6.49 MB / 1.12 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004748/0.7681, allocations: 462.8 kB / 1.12 GB, free: 21.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/0.7703, allocations: 0.5968 MB / 1.121 GB, free: 21.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.7924, allocations: 8.985 MB / 1.129 GB, free: 19.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003178/0.7927, allocations: 13.84 kB / 1.129 GB, free: 19.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001879/0.7946, allocations: 266.6 kB / 1.13 GB, free: 19.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.7948, allocations: 177.8 kB / 1.13 GB, free: 19.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.8098, allocations: 7.417 MB / 1.137 GB, free: 17.81 MB / 0.698 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.04945/0.8593, allocations: 35.96 MB / 1.172 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/0.8653, allocations: 4.272 MB / 1.176 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004339/0.8696, allocations: 3.384 MB / 1.18 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.8708, allocations: 0.9837 MB / 1.181 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003723/0.8746, allocations: 2.377 MB / 1.183 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003186/0.8778, allocations: 447.8 kB / 1.183 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 1.028e-05/0.8778, allocations: 0 / 1.183 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01281/0.8906, allocations: 7.098 MB / 1.19 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.8907, allocations: 89.89 kB / 1.19 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009001/0.8997, allocations: 5.341 MB / 1.196 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000846/0.9006, allocations: 85.7 kB / 1.196 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/0.9035, allocations: 3.175 MB / 1.199 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/0.905, allocations: 1.112 MB / 1.2 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.9052, allocations: 88 kB / 1.2 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.9055, allocations: 499.5 kB / 1.201 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/0.9087, allocations: 2.136 MB / 1.203 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.9126, allocations: 3.677 MB / 1.206 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007297/0.9199, allocations: 6.289 MB / 1.212 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.9199, allocations: 20 kB / 1.212 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01047/0.9304, allocations: 6.71 MB / 1.219 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.9305, allocations: 60.2 kB / 1.219 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.809e-05/0.9306, allocations: 52.16 kB / 1.219 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/0.9315, allocations: 431.2 kB / 1.219 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.935, allocations: 1.013 MB / 1.22 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.9402, allocations: 5.257 MB / 1.226 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005978/0.9463, allocations: 478.7 kB / 1.226 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008557/0.9471, allocations: 216 kB / 1.226 GB, free: 13.99 MB / 0.7761 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005477/0.9526, allocations: 2.455 MB / 1.229 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/0.9542, allocations: 0.5211 MB / 1.229 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008574/0.9628, allocations: 5.23 MB / 1.234 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/0.9629, allocations: 35.98 kB / 1.234 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.9629, allocations: 4 kB / 1.234 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006179/0.9691, allocations: 4.517 MB / 1.239 GB, free: 1.051 MB / 0.7761 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 postOpt removeSimpleEquations (simulation): time 0.02094/0.99, allocations: 11.95 MB / 1.25 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.9901, allocations: 7.984 kB / 1.25 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/0.9927, allocations: 0.6513 MB / 1.251 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007848/0.9935, allocations: 372.5 kB / 1.251 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/0.9937, allocations: 83.95 kB / 1.251 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004784/0.9985, allocations: 5.183 MB / 1.256 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.9985, allocations: 0 / 1.256 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.01, allocations: 7.581 MB / 1.264 GB, free: 6.777 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003275/1.013, allocations: 1.217 MB / 1.265 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008275/1.014, allocations: 67.98 kB / 1.265 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003329/1.017, allocations: 466.8 kB / 1.266 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/1.017, allocations: 206.2 kB / 1.266 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/1.018, allocations: 139.9 kB / 1.266 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005757/1.023, allocations: 3.703 MB / 1.27 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-07/1.023, allocations: 0 / 1.27 GB, free: 0.9922 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006394/1.03, allocations: 1.976 MB / 1.271 GB, free: 15.01 MB / 0.823 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01194/1.042, allocations: 8.525 MB / 1.28 GB, free: 6.418 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007758/1.05, allocations: 5.357 MB / 1.285 GB, free: 1.012 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.05, allocations: 4.438 kB / 1.285 GB, free: 1.008 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.053, allocations: 2.501 MB / 1.287 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01476/1.068, allocations: 3.181 MB / 1.291 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1383/1.206, allocations: 50.52 MB / 1.34 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005413/1.211, allocations: 4.595 MB / 1.344 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007095/1.219, allocations: 2.003 MB / 1.346 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004572/1.223, allocations: 2.639 MB / 1.349 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of SimCode: time 6.61e-07/1.223, allocations: 0 / 1.349 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.202/2.425, allocations: 168.3 MB / 1.513 GB, free: 286.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/2.425, allocations: 261.2 kB / 1.514 GB, free: 286.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/8.913, allocations: 3.938 kB / 1.514 GB, free: 286.6 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)