Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.2 MB / 303.2 MB, free: 8.094 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.001304/0.001304, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.694/1.694, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.001065/0.001065, allocations: 94.86 kB / 0.7439 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004065, allocations: 11.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04928/0.3283, allocations: 46.84 MB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02667/0.355, allocations: 15.47 MB / 1.04 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.3592, allocations: 67.5 kB / 1.04 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.3632, allocations: 0.8123 MB / 1.041 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.3737, allocations: 2.127 MB / 1.043 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006299/0.38, allocations: 1.562 MB / 1.045 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.02132/0.4013, allocations: 11.36 MB / 1.056 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01676/0.4182, allocations: 7.154 MB / 1.063 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.431, allocations: 4.481 MB / 1.067 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.699/1.13, allocations: 3.838 MB / 1.071 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003389/1.134, allocations: 348.9 kB / 1.071 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008041/1.142, allocations: 0.8351 MB / 1.072 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00493/1.147, allocations: 1.463 MB / 1.074 GB, free: 17.55 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007448/1.154, allocations: 1.601 MB / 1.075 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02282/1.177, allocations: 10.23 MB / 1.085 GB, free: 16.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.177, allocations: 1.125 kB / 1.085 GB, free: 16.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.897e-06/1.177, allocations: 2.906 kB / 1.085 GB, free: 16.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007426/1.178, allocations: 0 / 1.085 GB, free: 16.94 MB / 0.6823 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.03044/1.208, allocations: 6.908 MB / 1.092 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.208, allocations: 10.47 kB / 1.092 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006161/1.214, allocations: 0.8418 MB / 1.093 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009028/1.224, allocations: 0.8507 MB / 1.094 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/1.244, allocations: 5.913 MB / 1.099 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008354/1.245, allocations: 464 kB / 1.1 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/1.25, allocations: 0.5965 MB / 1.1 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/1.287, allocations: 8.933 MB / 1.109 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005144/1.288, allocations: 23.67 kB / 1.109 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004611/1.292, allocations: 261.3 kB / 1.109 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003904/1.293, allocations: 182 kB / 1.109 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/1.318, allocations: 7.41 MB / 1.117 GB, free: 10.27 MB / 0.6823 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.07822/1.397, allocations: 36.2 MB / 1.152 GB, free: 3.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008258/1.405, allocations: 4.324 MB / 1.156 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/1.407, allocations: 0.9764 MB / 1.157 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005151/1.412, allocations: 2.395 MB / 1.16 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004946/1.417, allocations: 468 kB / 1.16 GB, free: 0.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 1.707e-05/1.417, allocations: 4 kB / 1.16 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01827/1.435, allocations: 7.147 MB / 1.167 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.435, allocations: 84.19 kB / 1.167 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.449, allocations: 5.755 MB / 1.173 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/1.45, allocations: 89.7 kB / 1.173 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004321/1.454, allocations: 3.162 MB / 1.176 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002604/1.457, allocations: 1.118 MB / 1.177 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004309/1.457, allocations: 92 kB / 1.177 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004189/1.458, allocations: 487.6 kB / 1.178 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003971/1.462, allocations: 2.163 MB / 1.18 GB, free: 100 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005166/1.467, allocations: 3.682 MB / 1.183 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005846/1.473, allocations: 2.923 MB / 1.186 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.013e-05/1.473, allocations: 12 kB / 1.186 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01546/1.488, allocations: 6.764 MB / 1.193 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/1.489, allocations: 53.7 kB / 1.193 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.626e-05/1.489, allocations: 55.98 kB / 1.193 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.49, allocations: 440.6 kB / 1.193 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/1.495, allocations: 1.061 MB / 1.194 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/1.501, allocations: 5.318 MB / 1.199 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008843/1.51, allocations: 486.8 kB / 1.2 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.512, allocations: 216 kB / 1.2 GB, free: 10.56 MB / 0.7448 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.009683/1.521, allocations: 2.462 MB / 1.203 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002499/1.524, allocations: 0.5172 MB / 1.203 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.535, allocations: 5.288 MB / 1.208 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-05/1.535, allocations: 32 kB / 1.208 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.535, allocations: 4 kB / 1.208 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007215/1.542, allocations: 4.552 MB / 1.213 GB, free: 13.64 MB / 0.7605 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.03439/1.576, allocations: 12.14 MB / 1.225 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.576, allocations: 0 / 1.225 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/1.579, allocations: 0.6241 MB / 1.225 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/1.58, allocations: 369.3 kB / 1.226 GB, free: 444 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004119/1.581, allocations: 83.95 kB / 1.226 GB, free: 360 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/1.587, allocations: 5.249 MB / 1.231 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.587, allocations: 5.203 kB / 1.231 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.602, allocations: 7.759 MB / 1.238 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006702/1.609, allocations: 1.303 MB / 1.24 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002935/1.612, allocations: 66.39 kB / 1.24 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006929/1.619, allocations: 445 kB / 1.24 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007717/1.62, allocations: 198.2 kB / 1.24 GB, free: 1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005668/1.62, allocations: 143.9 kB / 1.24 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.009167/1.629, allocations: 4.031 MB / 1.244 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.81e-07/1.629, allocations: 0 / 1.244 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01218/1.642, allocations: 2.011 MB / 1.246 GB, free: 10.83 MB / 0.7917 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.01757/1.659, allocations: 8.893 MB / 1.255 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009757/1.669, allocations: 5.389 MB / 1.26 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/1.669, allocations: 8.188 kB / 1.26 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.673, allocations: 2.52 MB / 1.263 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01911/1.693, allocations: 3.17 MB / 1.266 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2193/1.912, allocations: 84.09 MB / 1.348 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006857/1.919, allocations: 4.715 MB / 1.353 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.009479/1.928, allocations: 2.056 MB / 1.355 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007199/1.936, allocations: 2.642 MB / 1.357 GB, free: 6.121 MB / 0.9011 GB Notification: Performance of SimCode: time 9.02e-07/1.936, allocations: 6.562 kB / 1.357 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7891/2.725, allocations: 169.8 MB / 1.523 GB, free: 280.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/2.725, allocations: 262.5 kB / 1.523 GB, free: 280.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/9.81, allocations: 0 / 1.523 GB, free: 280.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)