Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 109.3 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.969/2.969, allocations: 469.8 MB / 0.749 GB, free: 2.996 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 1.073 GB, free: 100 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 159.1 MB / 1.229 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07021/1.087, allocations: 56.01 MB / 1.283 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02995/1.118, allocations: 17.95 MB / 1.301 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/1.122, allocations: 75.56 kB / 1.301 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003505/1.125, allocations: 0.8963 MB / 1.302 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009314/1.135, allocations: 2.501 MB / 1.304 GB, free: 7.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004988/1.14, allocations: 1.545 MB / 1.306 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02569/1.165, allocations: 21.25 MB / 1.327 GB, free: 264 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01694/1.182, allocations: 10.67 MB / 1.337 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01837/1.201, allocations: 7.16 MB / 1.344 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/1.214, allocations: 6.354 MB / 1.35 GB, free: 7.945 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.004019/1.218, allocations: 0.9375 MB / 1.351 GB, free: 7.008 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008944/1.227, allocations: 1.694 MB / 1.353 GB, free: 5.312 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00558/1.233, allocations: 2.349 MB / 1.355 GB, free: 2.957 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.01358/1.246, allocations: 4.703 MB / 1.36 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02553/1.272, allocations: 13.22 MB / 1.372 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/1.272, allocations: 0 / 1.372 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.535e-06/1.272, allocations: 0 / 1.372 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005325/1.273, allocations: 0 / 1.372 GB, free: 0.9727 MB / 1.076 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.03468/1.307, allocations: 8.725 MB / 1.381 GB, free: 8.141 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.307, allocations: 8.031 kB / 1.381 GB, free: 8.133 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003691/1.311, allocations: 0.846 MB / 1.382 GB, free: 7.277 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/1.316, allocations: 0.8903 MB / 1.383 GB, free: 6.383 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.333, allocations: 6.744 MB / 1.389 GB, free: 15.58 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005552/1.334, allocations: 460.2 kB / 1.39 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/1.337, allocations: 0.6015 MB / 1.39 GB, free: 14.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/1.364, allocations: 9.028 MB / 1.399 GB, free: 5.176 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002335/1.364, allocations: 19.86 kB / 1.399 GB, free: 5.156 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002159/1.366, allocations: 260 kB / 1.399 GB, free: 4.902 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/1.366, allocations: 175.9 kB / 1.4 GB, free: 4.73 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/1.386, allocations: 7.453 MB / 1.407 GB, free: 13.27 MB / 1.123 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.06573/1.452, allocations: 36.08 MB / 1.442 GB, free: 7.137 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007937/1.46, allocations: 4.292 MB / 1.446 GB, free: 2.836 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006026/1.466, allocations: 3.294 MB / 1.45 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/1.468, allocations: 0.9544 MB / 1.45 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005103/1.473, allocations: 2.386 MB / 1.453 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003137/1.476, allocations: 385 kB / 1.453 GB, free: 11.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=317): time 1.291e-05/1.476, allocations: 0 / 1.453 GB, free: 11.59 MB / 1.17 GB Notification: Performance of matching and sorting (n=317): time 0.01611/1.492, allocations: 7.162 MB / 1.46 GB, free: 4.344 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/1.492, allocations: 81.91 kB / 1.46 GB, free: 4.25 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/1.504, allocations: 5.671 MB / 1.466 GB, free: 14.6 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009507/1.505, allocations: 85.7 kB / 1.466 GB, free: 14.51 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00418/1.509, allocations: 3.271 MB / 1.469 GB, free: 11.21 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/1.511, allocations: 1.166 MB / 1.47 GB, free: 10.04 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/1.513, allocations: 0.8624 MB / 1.471 GB, free: 9.164 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.513, allocations: 313.1 kB / 1.471 GB, free: 8.855 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004116/1.517, allocations: 2.163 MB / 1.473 GB, free: 6.684 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00583/1.523, allocations: 3.697 MB / 1.477 GB, free: 2.289 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.534, allocations: 6.315 MB / 1.483 GB, free: 11.26 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.737e-05/1.534, allocations: 19.94 kB / 1.483 GB, free: 11.24 MB / 1.201 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01578/1.55, allocations: 6.802 MB / 1.49 GB, free: 4.387 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.55, allocations: 57.69 kB / 1.49 GB, free: 4.324 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.751e-05/1.55, allocations: 51.94 kB / 1.49 GB, free: 4.273 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.552, allocations: 428.2 kB / 1.49 GB, free: 3.852 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/1.556, allocations: 1.018 MB / 1.491 GB, free: 2.832 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/1.563, allocations: 5.704 MB / 1.497 GB, free: 12.85 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.569, allocations: 287.7 kB / 1.497 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.57, allocations: 216 kB / 1.497 GB, free: 12.36 MB / 1.217 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.00584/1.576, allocations: 2.489 MB / 1.5 GB, free: 9.859 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002078/1.578, allocations: 0.5473 MB / 1.5 GB, free: 9.309 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.589, allocations: 5.274 MB / 1.506 GB, free: 3.977 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/1.589, allocations: 32 kB / 1.506 GB, free: 3.945 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.589, allocations: 4 kB / 1.506 GB, free: 3.941 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008056/1.597, allocations: 4.527 MB / 1.51 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02781/1.625, allocations: 11.98 MB / 1.522 GB, free: 3.188 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.625, allocations: 3.938 kB / 1.522 GB, free: 3.184 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/1.628, allocations: 0.6438 MB / 1.522 GB, free: 2.539 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/1.629, allocations: 380.3 kB / 1.523 GB, free: 2.164 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004935/1.63, allocations: 83.95 kB / 1.523 GB, free: 2.082 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006691/1.636, allocations: 5.626 MB / 1.528 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.636, allocations: 4 kB / 1.528 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/1.652, allocations: 7.791 MB / 1.536 GB, free: 4.293 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004206/1.656, allocations: 1.181 MB / 1.537 GB, free: 3.09 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001684/1.658, allocations: 71.92 kB / 1.537 GB, free: 3.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/1.662, allocations: 200 kB / 1.537 GB, free: 2.824 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005305/1.663, allocations: 202.2 kB / 1.537 GB, free: 2.625 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003766/1.663, allocations: 143.9 kB / 1.538 GB, free: 2.484 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00721/1.67, allocations: 3.959 MB / 1.541 GB, free: 14.54 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.71e-07/1.67, allocations: 0 / 1.541 GB, free: 14.54 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007443/1.678, allocations: 2.023 MB / 1.543 GB, free: 12.52 MB / 1.264 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.01613/1.694, allocations: 8.742 MB / 1.552 GB, free: 3.68 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.705, allocations: 5.443 MB / 1.557 GB, free: 14.18 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.705, allocations: 4 kB / 1.557 GB, free: 14.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005066/1.71, allocations: 2.554 MB / 1.56 GB, free: 11.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01914/1.729, allocations: 3.374 MB / 1.563 GB, free: 8.312 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.57/3.299, allocations: 52.55 MB / 1.614 GB, free: 341.6 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00514/3.304, allocations: 4.627 MB / 1.619 GB, free: 340 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.006469/3.311, allocations: 2.082 MB / 1.621 GB, free: 339.9 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005193/3.316, allocations: 2.671 MB / 1.624 GB, free: 337.8 MB / 1.311 GB Notification: Performance of SimCode: time 1.313e-06/3.316, allocations: 0 / 1.624 GB, free: 337.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/3.524, allocations: 159.9 MB / 1.78 GB, free: 189.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.72/26.25, allocations: 6.516 kB / 1.78 GB, free: 189.6 MB / 1.311 GB " [Timeout remaining time 274] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 33.04627991793677] Failed to read output from testmodel.py, exit status != 0: 26.423744109924883 26.438657587 25.163657785 Calling exit ...