Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007736/0.0007736, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007886/0.0007886, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8882/0.8882, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.12e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5485/0.5485, allocations: 51.21 MB / 1.05 GB, free: 43.91 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.5649, allocations: 16.76 MB / 1.066 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002807/0.5677, allocations: 98.72 kB / 1.066 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.5702, allocations: 0.9149 MB / 1.067 GB, free: 43.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.5768, allocations: 2.72 MB / 1.07 GB, free: 42.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/0.5806, allocations: 1.66 MB / 1.071 GB, free: 41.58 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01535/0.5959, allocations: 22.09 MB / 1.093 GB, free: 31.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/0.6066, allocations: 6.746 MB / 1.099 GB, free: 28.42 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02532/0.6319, allocations: 10.33 MB / 1.11 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01571/0.6476, allocations: 6.312 MB / 1.116 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004281/0.6519, allocations: 0.9386 MB / 1.117 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008588/0.6605, allocations: 1.594 MB / 1.118 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005535/0.666, allocations: 2.493 MB / 1.121 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01241/0.6784, allocations: 3.363 MB / 1.124 GB, free: 19.03 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02239/0.7008, allocations: 13.5 MB / 1.137 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7008, allocations: 1.406 kB / 1.137 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7008, allocations: 0 / 1.137 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000539/0.7013, allocations: 0 / 1.137 GB, free: 14.32 MB / 0.9948 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.02724/0.7286, allocations: 8.544 MB / 1.145 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.7286, allocations: 10.84 kB / 1.145 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003718/0.7323, allocations: 0.8405 MB / 1.146 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/0.7377, allocations: 0.9592 MB / 1.147 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/0.7519, allocations: 6.774 MB / 1.154 GB, free: 5.621 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.7523, allocations: 456.5 kB / 1.154 GB, free: 5.414 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.755, allocations: 0.6025 MB / 1.155 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.7759, allocations: 10.1 MB / 1.165 GB, free: 14.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.776, allocations: 20.02 kB / 1.165 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/0.7777, allocations: 266.2 kB / 1.165 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.7778, allocations: 181.3 kB / 1.165 GB, free: 14.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.7939, allocations: 7.452 MB / 1.172 GB, free: 10.49 MB / 1.01 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.0458/0.8397, allocations: 27.23 MB / 1.199 GB, free: 388 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/0.845, allocations: 3.973 MB / 1.203 GB, free: 12.41 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003601/0.8486, allocations: 3.035 MB / 1.206 GB, free: 9.371 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.8492, allocations: 198.3 kB / 1.206 GB, free: 9.176 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003683/0.8529, allocations: 3.46 MB / 1.209 GB, free: 5.422 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002656/0.8555, allocations: 389.1 kB / 1.21 GB, free: 5.039 MB / 1.042 GB Notification: Performance of pre-optimization done (n=317): time 1.079e-05/0.8555, allocations: 4 kB / 1.21 GB, free: 5.035 MB / 1.042 GB Notification: Performance of matching and sorting (n=317): time 0.01077/0.8663, allocations: 7.008 MB / 1.217 GB, free: 13.98 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.8664, allocations: 85.91 kB / 1.217 GB, free: 13.88 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009354/0.8757, allocations: 5.755 MB / 1.222 GB, free: 8.145 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.000968/0.8767, allocations: 89.7 kB / 1.222 GB, free: 8.051 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003025/0.8797, allocations: 3.263 MB / 1.226 GB, free: 4.762 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/0.8815, allocations: 1.158 MB / 1.227 GB, free: 3.594 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/0.8829, allocations: 0.8546 MB / 1.228 GB, free: 2.727 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003378/0.8833, allocations: 301.1 kB / 1.228 GB, free: 2.43 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/0.886, allocations: 2.189 MB / 1.23 GB, free: 232 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/0.8896, allocations: 3.822 MB / 1.234 GB, free: 11.67 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007457/0.8971, allocations: 6.327 MB / 1.24 GB, free: 4.625 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.327e-05/0.8971, allocations: 20 kB / 1.24 GB, free: 4.605 MB / 1.073 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0117/0.9088, allocations: 6.812 MB / 1.247 GB, free: 13.74 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/0.9089, allocations: 64.14 kB / 1.247 GB, free: 13.67 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-05/0.909, allocations: 48 kB / 1.247 GB, free: 13.62 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/0.9098, allocations: 442.4 kB / 1.247 GB, free: 13.19 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.9127, allocations: 0.9983 MB / 1.248 GB, free: 12.19 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.9171, allocations: 5.432 MB / 1.253 GB, free: 6.531 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/0.9219, allocations: 287.6 kB / 1.254 GB, free: 6.25 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.9229, allocations: 216 kB / 1.254 GB, free: 6.039 MB / 1.089 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.00552/0.9284, allocations: 2.483 MB / 1.256 GB, free: 3.543 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001935/0.9304, allocations: 0.5512 MB / 1.257 GB, free: 2.988 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008255/0.9386, allocations: 5.259 MB / 1.262 GB, free: 13.67 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.9387, allocations: 32 kB / 1.262 GB, free: 13.64 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.9387, allocations: 4 kB / 1.262 GB, free: 13.64 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00541/0.9441, allocations: 4.524 MB / 1.266 GB, free: 9.012 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/0.9674, allocations: 11.08 MB / 1.277 GB, free: 13.81 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.9674, allocations: 0 / 1.277 GB, free: 13.81 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.9692, allocations: 0.6516 MB / 1.278 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007849/0.97, allocations: 369.3 kB / 1.278 GB, free: 12.79 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/0.9703, allocations: 83.95 kB / 1.278 GB, free: 12.71 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.9751, allocations: 5.325 MB / 1.284 GB, free: 7.164 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9751, allocations: 7.938 kB / 1.284 GB, free: 7.156 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.987, allocations: 7.737 MB / 1.291 GB, free: 15.32 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003926/0.9909, allocations: 1.143 MB / 1.292 GB, free: 14.18 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001863/0.9927, allocations: 67.98 kB / 1.292 GB, free: 14.11 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003873/0.9966, allocations: 203.6 kB / 1.292 GB, free: 13.91 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/0.9972, allocations: 210 kB / 1.293 GB, free: 13.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/0.9976, allocations: 139.9 kB / 1.293 GB, free: 13.57 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.006906/1.005, allocations: 3.962 MB / 1.297 GB, free: 9.625 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.81e-07/1.005, allocations: 0 / 1.297 GB, free: 9.625 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.009281/1.014, allocations: 2.031 MB / 1.299 GB, free: 7.59 MB / 1.135 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.01294/1.027, allocations: 8.684 MB / 1.307 GB, free: 14.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007634/1.034, allocations: 5.266 MB / 1.312 GB, free: 9.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.034, allocations: 4 kB / 1.312 GB, free: 9.477 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003448/1.038, allocations: 2.361 MB / 1.315 GB, free: 7.086 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/1.052, allocations: 3.375 MB / 1.318 GB, free: 3.801 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09717/1.149, allocations: 52.57 MB / 1.369 GB, free: 13.07 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002889/1.152, allocations: 4.142 MB / 1.373 GB, free: 8.887 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005217/1.157, allocations: 2.049 MB / 1.375 GB, free: 6.84 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002763/1.16, allocations: 2.671 MB / 1.378 GB, free: 4.168 MB / 1.214 GB Notification: Performance of SimCode: time 7.81e-07/1.16, allocations: 0 / 1.378 GB, free: 4.168 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/1.33, allocations: 170.1 MB / 1.544 GB, free: 11.88 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.54, allocations: 4 kB / 1.544 GB, free: 11.88 MB / 1.385 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.82533818297088] Failed to read output from testmodel.py, exit status != 0: 12.685157215222716 12.693065435 11.990346874 Calling exit ...