Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007413/0.0007413, 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.0007414/0.0007414, allocations: 169.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.862/0.862, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.68/1.68, allocations: 377.8 MB / 0.6221 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.513e-05, allocations: 5.234 kB / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03885/0.03887, allocations: 51.25 MB / 1.031 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5248/0.5637, allocations: 16.77 MB / 1.047 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.566, allocations: 100.1 kB / 1.047 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.5677, allocations: 0.9036 MB / 1.048 GB, free: 44.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.5723, allocations: 2.738 MB / 1.051 GB, free: 43.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.5747, allocations: 1.669 MB / 1.053 GB, free: 43.82 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.586, allocations: 22.13 MB / 1.074 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007983/0.594, allocations: 7.103 MB / 1.081 GB, free: 36.38 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/0.611, allocations: 10.34 MB / 1.091 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.6228, allocations: 6.314 MB / 1.097 GB, free: 30.46 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.625, allocations: 0.9426 MB / 1.098 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005063/0.6301, allocations: 1.596 MB / 1.1 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.6322, allocations: 2.49 MB / 1.102 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.007323/0.6395, allocations: 3.354 MB / 1.106 GB, free: 27.52 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.6567, allocations: 13.51 MB / 1.119 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.6567, allocations: 0 / 1.119 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6567, allocations: 1.031 kB / 1.119 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000604/0.6573, allocations: 0 / 1.119 GB, free: 23.29 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.022/0.6793, allocations: 8.562 MB / 1.127 GB, free: 18.84 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/0.6794, allocations: 9.812 kB / 1.127 GB, free: 18.84 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/0.6809, allocations: 0.8418 MB / 1.128 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.6843, allocations: 0.9574 MB / 1.129 GB, free: 17.94 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009657/0.6939, allocations: 6.791 MB / 1.136 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.6942, allocations: 459.1 kB / 1.136 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007163/0.6949, allocations: 0.5983 MB / 1.137 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.707, allocations: 10.1 MB / 1.146 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.782e-05/0.7071, allocations: 27.78 kB / 1.147 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.7075, allocations: 262.3 kB / 1.147 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.7077, allocations: 183.3 kB / 1.147 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008276/0.7159, allocations: 7.444 MB / 1.154 GB, free: 6.727 MB / 0.9948 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.02884/0.7448, allocations: 27.23 MB / 1.181 GB, free: 2.434 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.7486, allocations: 3.975 MB / 1.185 GB, free: 14.51 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.7515, allocations: 3.036 MB / 1.188 GB, free: 11.48 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005795/0.7521, allocations: 204.9 kB / 1.188 GB, free: 11.28 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003059/0.7552, allocations: 3.452 MB / 1.191 GB, free: 7.531 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002221/0.7574, allocations: 399.2 kB / 1.192 GB, free: 7.141 MB / 1.026 GB Notification: Performance of pre-optimization done (n=317): time 7.684e-06/0.7574, allocations: 3.281 kB / 1.192 GB, free: 7.141 MB / 1.026 GB Notification: Performance of matching and sorting (n=317): time 0.008122/0.7655, allocations: 7.01 MB / 1.198 GB, free: 100 kB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.7656, allocations: 81.91 kB / 1.199 GB, free: 4 kB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005998/0.7716, allocations: 5.763 MB / 1.204 GB, free: 10.26 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.7718, allocations: 85.7 kB / 1.204 GB, free: 10.17 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002702/0.7745, allocations: 3.262 MB / 1.207 GB, free: 6.902 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009212/0.7754, allocations: 1.157 MB / 1.209 GB, free: 5.762 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009007/0.7763, allocations: 0.8546 MB / 1.209 GB, free: 4.895 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.7764, allocations: 305.1 kB / 1.21 GB, free: 4.594 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.7786, allocations: 2.2 MB / 1.212 GB, free: 2.383 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/0.7815, allocations: 3.819 MB / 1.216 GB, free: 13.86 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005558/0.7871, allocations: 6.329 MB / 1.222 GB, free: 7.012 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.7871, allocations: 16 kB / 1.222 GB, free: 6.996 MB / 1.057 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007203/0.7943, allocations: 6.816 MB / 1.228 GB, free: 436 kB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.7943, allocations: 57.69 kB / 1.228 GB, free: 372 kB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/0.7944, allocations: 48 kB / 1.229 GB, free: 324 kB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.795, allocations: 433.7 kB / 1.229 GB, free: 15.89 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.7969, allocations: 1.007 MB / 1.23 GB, free: 14.95 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.8008, allocations: 5.414 MB / 1.235 GB, free: 9.375 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/0.8039, allocations: 295.6 kB / 1.235 GB, free: 9.086 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.8041, allocations: 216 kB / 1.236 GB, free: 8.875 MB / 1.073 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.00366/0.8078, allocations: 2.487 MB / 1.238 GB, free: 6.445 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006581/0.8084, allocations: 0.5512 MB / 1.239 GB, free: 5.891 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/0.814, allocations: 5.258 MB / 1.244 GB, free: 0.5898 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.814, allocations: 36 kB / 1.244 GB, free: 0.5547 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.814, allocations: 4 kB / 1.244 GB, free: 0.5508 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004124/0.8181, allocations: 4.532 MB / 1.248 GB, free: 11.93 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.8305, allocations: 11.07 MB / 1.259 GB, free: 0.8555 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.8305, allocations: 0 / 1.259 GB, free: 0.8555 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.8318, allocations: 0.6417 MB / 1.26 GB, free: 248 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.8323, allocations: 375.5 kB / 1.26 GB, free: 15.87 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.8324, allocations: 87.95 kB / 1.26 GB, free: 15.79 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.8361, allocations: 5.326 MB / 1.265 GB, free: 10.28 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8361, allocations: 0 / 1.265 GB, free: 10.28 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007335/0.8434, allocations: 7.751 MB / 1.273 GB, free: 2.449 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/0.8453, allocations: 1.136 MB / 1.274 GB, free: 1.312 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/0.8457, allocations: 67.98 kB / 1.274 GB, free: 1.246 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.8471, allocations: 198 kB / 1.274 GB, free: 1.055 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.8474, allocations: 217.7 kB / 1.274 GB, free: 0.8438 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.8476, allocations: 135.9 kB / 1.275 GB, free: 0.7109 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.004127/0.8517, allocations: 3.974 MB / 1.278 GB, free: 12.76 MB / 1.12 GB Notification: Performance of sort global known variables: time 4e-08/0.8517, allocations: 0 / 1.278 GB, free: 12.76 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.00452/0.8563, allocations: 2.027 MB / 1.28 GB, free: 10.73 MB / 1.12 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.008162/0.8644, allocations: 8.686 MB / 1.289 GB, free: 2 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.005449/0.8699, allocations: 5.265 MB / 1.294 GB, free: 12.85 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8699, allocations: 4 kB / 1.294 GB, free: 12.85 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.872, allocations: 2.366 MB / 1.296 GB, free: 10.51 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007485/0.8795, allocations: 3.385 MB / 1.3 GB, free: 7.227 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05901/0.9385, allocations: 52.59 MB / 1.351 GB, free: 0.7734 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/0.9417, allocations: 4.152 MB / 1.355 GB, free: 12.58 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004579/0.9463, allocations: 2.073 MB / 1.357 GB, free: 10.51 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/0.9489, allocations: 2.678 MB / 1.36 GB, free: 7.836 MB / 1.198 GB Notification: Performance of SimCode: time 1.052e-06/0.9489, allocations: 0 / 1.36 GB, free: 7.836 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/1.12, allocations: 170.5 MB / 1.526 GB, free: 15.82 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.5, allocations: 4.062 kB / 1.526 GB, free: 15.82 MB / 1.37 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.62235769443214] Failed to read output from testmodel.py, exit status != 0: 13.645486638881266 13.652435072 12.993903412 Calling exit ...