Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001742/0.001742, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001871/0.001871, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.495/1.495, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 437.1 MB / 0.7171 GB, free: 4.199 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.88 kB / 1.027 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.123, allocations: 151.6 MB / 1.175 GB, free: 17.47 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06311/1.186, allocations: 56.01 MB / 1.229 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03327/1.219, allocations: 17.96 MB / 1.247 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005262/1.224, allocations: 77.88 kB / 1.247 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004252/1.229, allocations: 0.893 MB / 1.248 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/1.239, allocations: 2.504 MB / 1.25 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005253/1.245, allocations: 1.538 MB / 1.252 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.03129/1.276, allocations: 21.24 MB / 1.273 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.017/1.293, allocations: 10.68 MB / 1.283 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01866/1.312, allocations: 7.164 MB / 1.29 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01421/1.326, allocations: 6.354 MB / 1.296 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004412/1.33, allocations: 0.9375 MB / 1.297 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009454/1.34, allocations: 1.698 MB / 1.299 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005389/1.345, allocations: 2.337 MB / 1.301 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01271/1.358, allocations: 4.711 MB / 1.306 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0224/1.381, allocations: 13.22 MB / 1.319 GB, free: 5.332 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/1.381, allocations: 0 / 1.319 GB, free: 5.332 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/1.381, allocations: 0 / 1.319 GB, free: 5.332 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000514/1.381, allocations: 0 / 1.319 GB, free: 5.332 MB / 1.029 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.02644/1.408, allocations: 8.721 MB / 1.327 GB, free: 12.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.408, allocations: 8.625 kB / 1.327 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003628/1.411, allocations: 0.8461 MB / 1.328 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/1.417, allocations: 0.902 MB / 1.329 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/1.434, allocations: 6.731 MB / 1.335 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005539/1.435, allocations: 464.2 kB / 1.336 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/1.438, allocations: 0.5976 MB / 1.336 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/1.464, allocations: 9.028 MB / 1.345 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003558/1.464, allocations: 19.83 kB / 1.345 GB, free: 9.527 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/1.467, allocations: 260 kB / 1.345 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002455/1.467, allocations: 184 kB / 1.346 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/1.488, allocations: 7.453 MB / 1.353 GB, free: 1.633 MB / 1.061 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.07028/1.558, allocations: 36.07 MB / 1.388 GB, free: 11.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008412/1.566, allocations: 4.276 MB / 1.392 GB, free: 7.215 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006354/1.573, allocations: 3.304 MB / 1.396 GB, free: 3.902 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/1.574, allocations: 0.9505 MB / 1.396 GB, free: 2.766 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005612/1.58, allocations: 2.398 MB / 1.399 GB, free: 340 kB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003153/1.583, allocations: 381.2 kB / 1.399 GB, free: 15.95 MB / 1.123 GB Notification: Performance of pre-optimization done (n=317): time 1.884e-05/1.583, allocations: 0 / 1.399 GB, free: 15.95 MB / 1.123 GB Notification: Performance of matching and sorting (n=317): time 0.01865/1.602, allocations: 7.155 MB / 1.406 GB, free: 8.715 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/1.602, allocations: 89.84 kB / 1.406 GB, free: 8.613 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/1.616, allocations: 5.663 MB / 1.412 GB, free: 2.973 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0008959/1.617, allocations: 85.7 kB / 1.412 GB, free: 2.883 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.004604/1.621, allocations: 3.279 MB / 1.415 GB, free: 15.58 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002237/1.624, allocations: 1.174 MB / 1.416 GB, free: 14.39 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003056/1.627, allocations: 0.8624 MB / 1.417 GB, free: 13.52 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.627, allocations: 305.1 kB / 1.417 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004492/1.631, allocations: 2.16 MB / 1.419 GB, free: 11.05 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006033/1.637, allocations: 3.701 MB / 1.423 GB, free: 6.648 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.649, allocations: 6.323 MB / 1.429 GB, free: 15.61 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-05/1.649, allocations: 16 kB / 1.429 GB, free: 15.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01711/1.666, allocations: 6.794 MB / 1.436 GB, free: 8.75 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.666, allocations: 53.7 kB / 1.436 GB, free: 8.691 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.666, allocations: 56.09 kB / 1.436 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/1.668, allocations: 447.1 kB / 1.436 GB, free: 8.195 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/1.672, allocations: 0.9983 MB / 1.437 GB, free: 7.195 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/1.679, allocations: 5.695 MB / 1.443 GB, free: 1.227 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.686, allocations: 291.7 kB / 1.443 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.688, allocations: 220 kB / 1.443 GB, free: 0.7266 MB / 1.154 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.006749/1.694, allocations: 2.479 MB / 1.446 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002454/1.697, allocations: 0.5551 MB / 1.446 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.71, allocations: 5.27 MB / 1.452 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/1.71, allocations: 36 kB / 1.452 GB, free: 8.312 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/1.71, allocations: 4 kB / 1.452 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00894/1.719, allocations: 4.539 MB / 1.456 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03053/1.75, allocations: 11.97 MB / 1.468 GB, free: 7.547 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.75, allocations: 4 kB / 1.468 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00315/1.753, allocations: 0.6438 MB / 1.468 GB, free: 6.898 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/1.754, allocations: 371.7 kB / 1.469 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005441/1.754, allocations: 83.95 kB / 1.469 GB, free: 6.449 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007735/1.762, allocations: 5.634 MB / 1.474 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/1.762, allocations: 11.94 kB / 1.474 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/1.781, allocations: 7.776 MB / 1.482 GB, free: 8.656 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005209/1.787, allocations: 1.189 MB / 1.483 GB, free: 7.445 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002478/1.789, allocations: 63.98 kB / 1.483 GB, free: 7.383 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005204/1.794, allocations: 203.8 kB / 1.483 GB, free: 7.184 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/1.796, allocations: 202.2 kB / 1.483 GB, free: 6.984 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008917/1.796, allocations: 139.9 kB / 1.484 GB, free: 6.848 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.009787/1.806, allocations: 3.967 MB / 1.488 GB, free: 2.902 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.51e-07/1.806, allocations: 0 / 1.488 GB, free: 2.902 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0102/1.816, allocations: 2.023 MB / 1.489 GB, free: 0.875 MB / 1.201 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.02066/1.837, allocations: 8.732 MB / 1.498 GB, free: 8.043 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01183/1.849, allocations: 5.444 MB / 1.503 GB, free: 2.547 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.849, allocations: 3.781 kB / 1.503 GB, free: 2.543 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005702/1.855, allocations: 2.545 MB / 1.506 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02135/1.876, allocations: 3.386 MB / 1.509 GB, free: 12.68 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1162/1.993, allocations: 52.56 MB / 1.56 GB, free: 5.98 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006943/2, allocations: 4.636 MB / 1.565 GB, free: 1.312 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007662/2.007, allocations: 2.073 MB / 1.567 GB, free: 15.24 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007324/2.015, allocations: 2.678 MB / 1.57 GB, free: 12.56 MB / 1.295 GB Notification: Performance of SimCode: time 2.495e-06/2.015, allocations: 0 / 1.57 GB, free: 12.56 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9862/3.001, allocations: 159.9 MB / 1.726 GB, free: 321.3 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.25/25.25, allocations: 2.406 kB / 1.726 GB, free: 321.3 MB / 1.326 GB " [Timeout remaining time 275] (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 31.719170336145908] Failed to read output from testmodel.py, exit status != 0: 25.423941955901682 25.437093216 24.053969057 Calling exit ...