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.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.001209/0.001209, 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.001434/0.001434, 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.9592/0.9592, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.725/1.725, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.564e-06/2.564e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.504e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0383/0.03832, allocations: 51.18 MB / 1 GB, free: 156 kB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.05778, allocations: 16.77 MB / 1.017 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.06052, allocations: 99.19 kB / 1.017 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.06279, allocations: 0.9116 MB / 1.018 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.06908, allocations: 2.738 MB / 1.02 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.07263, allocations: 1.674 MB / 1.022 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.01653/0.08916, allocations: 22.1 MB / 1.044 GB, free: 3.727 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5763/0.6655, allocations: 7.095 MB / 1.051 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02451/0.69, allocations: 10.09 MB / 1.06 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01406/0.7041, allocations: 6.398 MB / 1.067 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003926/0.708, allocations: 0.9391 MB / 1.068 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007547/0.7155, allocations: 1.593 MB / 1.069 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.004972/0.7205, allocations: 2.499 MB / 1.072 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.7312, allocations: 3.334 MB / 1.075 GB, free: 49.05 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02743/0.7586, allocations: 13.47 MB / 1.088 GB, free: 48.5 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.689e-06/0.7586, allocations: 1.328 kB / 1.088 GB, free: 48.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7586, allocations: 1.906 kB / 1.088 GB, free: 48.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006733/0.7593, allocations: 0 / 1.088 GB, free: 48.5 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.03597/0.7953, allocations: 8.561 MB / 1.096 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.7953, allocations: 13.8 kB / 1.096 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004639/0.8, allocations: 0.8379 MB / 1.097 GB, free: 45.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006722/0.8067, allocations: 0.9572 MB / 1.098 GB, free: 44.94 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/0.8263, allocations: 6.764 MB / 1.105 GB, free: 42.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006959/0.827, allocations: 466.4 kB / 1.105 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004015/0.831, allocations: 0.6031 MB / 1.106 GB, free: 42.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.8661, allocations: 10.1 MB / 1.116 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003054/0.8664, allocations: 15.42 kB / 1.116 GB, free: 37.14 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002682/0.8691, allocations: 261.8 kB / 1.116 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002762/0.8694, allocations: 185.1 kB / 1.116 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0207/0.8901, allocations: 7.45 MB / 1.123 GB, free: 34.5 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.06273/0.9528, allocations: 27.21 MB / 1.15 GB, free: 19.39 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006455/0.9592, allocations: 3.976 MB / 1.154 GB, free: 18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/0.9632, allocations: 3.033 MB / 1.157 GB, free: 17.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.9639, allocations: 207 kB / 1.157 GB, free: 17 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003596/0.9675, allocations: 3.449 MB / 1.16 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002954/0.9704, allocations: 408.6 kB / 1.161 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 1.316e-05/0.9705, allocations: 0 / 1.161 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.01003/0.9805, allocations: 6.996 MB / 1.168 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.9806, allocations: 84.12 kB / 1.168 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008453/0.989, allocations: 5.767 MB / 1.173 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/0.9903, allocations: 86.55 kB / 1.173 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002696/0.993, allocations: 3.261 MB / 1.177 GB, free: 5.32 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/0.9948, allocations: 1.162 MB / 1.178 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.9959, allocations: 0.8513 MB / 1.179 GB, free: 3.848 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.9959, allocations: 301.1 kB / 1.179 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/0.9987, allocations: 2.198 MB / 1.181 GB, free: 2.391 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/1.002, allocations: 3.822 MB / 1.185 GB, free: 15.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008002/1.01, allocations: 6.325 MB / 1.191 GB, free: 9.691 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.994e-05/1.01, allocations: 12 kB / 1.191 GB, free: 9.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01232/1.022, allocations: 6.829 MB / 1.198 GB, free: 3.102 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.795e-05/1.022, allocations: 49.7 kB / 1.198 GB, free: 3.047 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.127e-05/1.022, allocations: 54.58 kB / 1.198 GB, free: 2.996 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008923/1.023, allocations: 443.6 kB / 1.198 GB, free: 2.562 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/1.026, allocations: 1.002 MB / 1.199 GB, free: 1.629 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005067/1.031, allocations: 5.41 MB / 1.204 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007337/1.039, allocations: 295.6 kB / 1.205 GB, free: 11.77 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.04, allocations: 220 kB / 1.205 GB, free: 11.55 MB / 1.026 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.006546/1.046, allocations: 2.48 MB / 1.207 GB, free: 9.129 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002264/1.049, allocations: 0.5562 MB / 1.208 GB, free: 8.57 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007888/1.057, allocations: 5.263 MB / 1.213 GB, free: 3.273 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.057, allocations: 32 kB / 1.213 GB, free: 3.242 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.057, allocations: 4 kB / 1.213 GB, free: 3.238 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00529/1.062, allocations: 4.524 MB / 1.217 GB, free: 14.62 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.085, allocations: 11.09 MB / 1.228 GB, free: 3.535 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.085, allocations: 0 / 1.228 GB, free: 3.535 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.087, allocations: 0.64 MB / 1.229 GB, free: 2.922 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006691/1.087, allocations: 369.4 kB / 1.229 GB, free: 2.555 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/1.087, allocations: 87.95 kB / 1.229 GB, free: 2.469 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/1.092, allocations: 5.322 MB / 1.235 GB, free: 12.97 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.092, allocations: 4 kB / 1.235 GB, free: 12.96 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.103, allocations: 7.739 MB / 1.242 GB, free: 5.148 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004418/1.107, allocations: 1.146 MB / 1.243 GB, free: 4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/1.109, allocations: 70.17 kB / 1.243 GB, free: 3.934 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00367/1.113, allocations: 202.3 kB / 1.243 GB, free: 3.738 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004522/1.113, allocations: 213.5 kB / 1.244 GB, free: 3.531 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004196/1.114, allocations: 139.9 kB / 1.244 GB, free: 3.395 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.007105/1.121, allocations: 3.967 MB / 1.248 GB, free: 15.45 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.91e-07/1.121, allocations: 0 / 1.248 GB, free: 15.45 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.009975/1.131, allocations: 2.027 MB / 1.25 GB, free: 13.42 MB / 1.073 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.01251/1.143, allocations: 8.683 MB / 1.258 GB, free: 4.699 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008135/1.151, allocations: 5.262 MB / 1.263 GB, free: 15.56 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.151, allocations: 4 kB / 1.263 GB, free: 15.56 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003554/1.155, allocations: 2.376 MB / 1.266 GB, free: 13.21 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01368/1.169, allocations: 3.383 MB / 1.269 GB, free: 9.93 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09748/1.266, allocations: 52.58 MB / 1.32 GB, free: 3.512 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004832/1.271, allocations: 4.152 MB / 1.324 GB, free: 15.32 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00721/1.278, allocations: 2.061 MB / 1.326 GB, free: 13.26 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006094/1.284, allocations: 2.675 MB / 1.329 GB, free: 10.59 MB / 1.151 GB Notification: Performance of SimCode: time 1.723e-06/1.284, allocations: 0 / 1.329 GB, free: 10.59 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/1.484, allocations: 170.5 MB / 1.495 GB, free: 2.777 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.51, allocations: 9.609 kB / 1.495 GB, free: 2.773 MB / 1.307 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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: 18.968081747181714] Failed to read output from testmodel.py, exit status != 0: 14.664947964251041 14.680846978 13.919084586 Calling exit ...