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 2.758/2.758, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001533/0.001533, allocations: 174.3 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001184/0.001184, allocations: 95.81 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004946, allocations: 11.78 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2281, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06997/0.2981, allocations: 46.84 MB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.3315, allocations: 15.48 MB / 1.039 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.3343, allocations: 67.62 kB / 1.039 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004036/0.3384, allocations: 0.8122 MB / 1.04 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00998/0.3484, allocations: 2.123 MB / 1.042 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007428/0.3559, allocations: 1.569 MB / 1.044 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.02478/0.3807, allocations: 11.34 MB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01674/0.3975, allocations: 7.166 MB / 1.062 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.4104, allocations: 4.473 MB / 1.066 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6775/1.088, allocations: 3.847 MB / 1.07 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003502/1.092, allocations: 348.5 kB / 1.07 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008331/1.1, allocations: 0.8362 MB / 1.071 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005177/1.105, allocations: 1.467 MB / 1.072 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005648/1.111, allocations: 1.598 MB / 1.074 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0217/1.133, allocations: 10.23 MB / 1.084 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.133, allocations: 0.8438 kB / 1.084 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/1.133, allocations: 0 / 1.084 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005911/1.133, allocations: 0 / 1.084 GB, free: 16.31 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.03287/1.166, allocations: 6.907 MB / 1.091 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.166, allocations: 9.812 kB / 1.091 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005826/1.172, allocations: 0.8445 MB / 1.092 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/1.18, allocations: 0.8465 MB / 1.092 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02374/1.203, allocations: 5.912 MB / 1.098 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008354/1.204, allocations: 459.9 kB / 1.099 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003906/1.208, allocations: 0.5973 MB / 1.099 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/1.246, allocations: 8.936 MB / 1.108 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005347/1.246, allocations: 24.11 kB / 1.108 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003706/1.25, allocations: 259.9 kB / 1.108 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003518/1.25, allocations: 183.4 kB / 1.108 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/1.279, allocations: 7.415 MB / 1.116 GB, free: 10.43 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.09164/1.371, allocations: 36.19 MB / 1.151 GB, free: 4.113 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/1.384, allocations: 4.328 MB / 1.155 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/1.387, allocations: 0.9919 MB / 1.156 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01172/1.398, allocations: 2.393 MB / 1.158 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008506/1.407, allocations: 469.6 kB / 1.159 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 3.255e-05/1.407, allocations: 4 kB / 1.159 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.04623/1.453, allocations: 7.138 MB / 1.166 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.453, allocations: 90.72 kB / 1.166 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02992/1.483, allocations: 5.755 MB / 1.172 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002092/1.486, allocations: 89.17 kB / 1.172 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.01044/1.496, allocations: 3.157 MB / 1.175 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004688/1.501, allocations: 1.122 MB / 1.176 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001966/1.503, allocations: 88 kB / 1.176 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0009474/1.504, allocations: 491.6 kB / 1.176 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00894/1.513, allocations: 2.16 MB / 1.178 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009645/1.523, allocations: 3.679 MB / 1.182 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00987/1.533, allocations: 2.924 MB / 1.185 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-05/1.533, allocations: 16 kB / 1.185 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0253/1.558, allocations: 6.759 MB / 1.192 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.558, allocations: 62.58 kB / 1.192 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.558, allocations: 48 kB / 1.192 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/1.56, allocations: 441 kB / 1.192 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008968/1.569, allocations: 1.052 MB / 1.193 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/1.58, allocations: 5.329 MB / 1.198 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.591, allocations: 486.8 kB / 1.199 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.592, allocations: 216 kB / 1.199 GB, free: 11.21 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.009807/1.602, allocations: 2.457 MB / 1.201 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003964/1.606, allocations: 0.5284 MB / 1.202 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03203/1.638, allocations: 5.277 MB / 1.207 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000117/1.638, allocations: 39.98 kB / 1.207 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-05/1.638, allocations: 4 kB / 1.207 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02559/1.664, allocations: 4.547 MB / 1.212 GB, free: 14.3 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.06923/1.733, allocations: 12.14 MB / 1.223 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.182e-05/1.733, allocations: 0 / 1.223 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01015/1.744, allocations: 0.6259 MB / 1.224 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/1.746, allocations: 369.3 kB / 1.224 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/1.748, allocations: 83.95 kB / 1.224 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.758, allocations: 5.252 MB / 1.23 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/1.758, allocations: 3.953 kB / 1.23 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02699/1.785, allocations: 7.757 MB / 1.237 GB, free: 3.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006886/1.792, allocations: 1.295 MB / 1.238 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003193/1.795, allocations: 68 kB / 1.238 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00968/1.805, allocations: 447.2 kB / 1.239 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001291/1.806, allocations: 197.6 kB / 1.239 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001278/1.808, allocations: 143.8 kB / 1.239 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01331/1.821, allocations: 4.033 MB / 1.243 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.42e-07/1.821, allocations: 1.219 kB / 1.243 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0131/1.834, allocations: 2.007 MB / 1.245 GB, free: 11.5 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.0299/1.864, allocations: 8.895 MB / 1.254 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01764/1.882, allocations: 5.389 MB / 1.259 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.882, allocations: 8.25 kB / 1.259 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008314/1.89, allocations: 2.52 MB / 1.262 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02858/1.919, allocations: 3.176 MB / 1.265 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2756/2.195, allocations: 84.09 MB / 1.347 GB, free: 204 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01097/2.206, allocations: 4.711 MB / 1.351 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0135/2.219, allocations: 2.056 MB / 1.353 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00877/2.228, allocations: 2.647 MB / 1.356 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of SimCode: time 1.212e-06/2.228, allocations: 0 / 1.356 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.074/3.302, allocations: 169.7 MB / 1.522 GB, free: 282.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/3.302, allocations: 258 kB / 1.522 GB, free: 282 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/12.02, allocations: 0 / 1.522 GB, free: 282 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)