Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.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.001425/0.001425, allocations: 106.6 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001425/0.001425, allocations: 212.9 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.508/1.508, allocations: 230.5 MB / 252.8 MB, free: 9.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1064/0.1064, allocations: 24.11 MB / 332.9 MB, free: 12.63 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 63.91 kB / 469 MB, free: 7.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4447, allocations: 59.57 MB / 0.5162 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.004422/0.4491, allocations: 3.21 MB / 0.5194 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.451, allocations: 0.9472 MB / 0.5203 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.4512, allocations: 8.25 kB / 0.5203 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.4514, allocations: 62.75 kB / 0.5203 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.4518, allocations: 176 kB / 0.5205 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.4524, allocations: 195.3 kB / 0.5207 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.4531, allocations: 0.7484 MB / 0.5214 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.4537, allocations: 384 kB / 0.5218 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.4541, allocations: 309.6 kB / 0.5221 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.4546, allocations: 399.5 kB / 0.5225 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.4547, allocations: 76.03 kB / 0.5225 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4548, allocations: 77.41 kB / 0.5226 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.455, allocations: 200.8 kB / 0.5228 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.4553, allocations: 338.9 kB / 0.5231 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009258/0.4562, allocations: 0.7986 MB / 0.5239 GB, free: 5.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4562, allocations: 0 / 0.5239 GB, free: 5.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4562, allocations: 1.125 kB / 0.5239 GB, free: 5.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.4562, allocations: 7.938 kB / 0.5239 GB, free: 5.668 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002053/0.4583, allocations: 0.9129 MB / 0.5248 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4583, allocations: 9.938 kB / 0.5248 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.4585, allocations: 70.44 kB / 0.5249 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.459, allocations: 388.6 kB / 0.5253 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.4592, allocations: 110.4 kB / 0.5254 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4593, allocations: 50.41 kB / 0.5254 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.4609, allocations: 0.6871 MB / 0.5261 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4609, allocations: 0 / 0.5261 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.461, allocations: 15.88 kB / 0.5261 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.461, allocations: 12.03 kB / 0.5261 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.4626, allocations: 0.6028 MB / 0.5267 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.4683, allocations: 2.586 MB / 0.5292 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.4696, allocations: 0.5247 MB / 0.5297 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009626/0.4706, allocations: 396.2 kB / 0.5301 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.333e-05/0.4706, allocations: 9.031 kB / 0.5301 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4707, allocations: 38.75 kB / 0.5302 GB, free: 2.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.976e-06/0.4707, allocations: 0 / 0.5302 GB, free: 2.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006357/0.477, allocations: 2.268 MB / 0.5324 GB, free: 1.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4771, allocations: 58.16 kB / 0.5324 GB, free: 1.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.4775, allocations: 359.1 kB / 0.5328 GB, free: 1.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.4775, allocations: 35.89 kB / 0.5328 GB, free: 1.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.4777, allocations: 234.4 kB / 0.533 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.4778, allocations: 196.9 kB / 0.5332 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.478, allocations: 101.8 kB / 0.5333 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.4781, allocations: 356.6 kB / 0.5337 GB, free: 372 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008764/0.479, allocations: 369.4 kB / 0.534 GB, free: 240 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.4799, allocations: 426.4 kB / 0.5344 GB, free: 40 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007394/0.4873, allocations: 2.084 MB / 0.5365 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4873, allocations: 0.9688 kB / 0.5365 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002149/0.4894, allocations: 0.8563 MB / 0.5373 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4894, allocations: 6.438 kB / 0.5373 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4895, allocations: 6.172 kB / 0.5373 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4895, allocations: 4.5 kB / 0.5373 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/0.4956, allocations: 0.8988 MB / 0.5382 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.4956, allocations: 5 kB / 0.5382 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006557/0.4963, allocations: 56.83 kB / 0.5382 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.4963, allocations: 20.97 kB / 0.5383 GB, free: 14.57 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004533/0.4968, allocations: 220.3 kB / 0.5385 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.4969, allocations: 45.16 kB / 0.5385 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.499, allocations: 0.8317 MB / 0.5393 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.499, allocations: 4.125 kB / 0.5393 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.499, allocations: 1.375 kB / 0.5393 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4991, allocations: 0 / 0.5393 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.5029, allocations: 1.793 MB / 0.5411 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5029, allocations: 1.156 kB / 0.5411 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00596/0.5089, allocations: 0.8901 MB / 0.542 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.5089, allocations: 2.594 kB / 0.542 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/0.509, allocations: 18.58 kB / 0.542 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.509, allocations: 7.125 kB / 0.542 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.509, allocations: 5.344 kB / 0.542 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.512, allocations: 1.275 MB / 0.5432 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.5122, allocations: 125.2 kB / 0.5434 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.5123, allocations: 16.5 kB / 0.5434 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.5129, allocations: 52.19 kB / 0.5434 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.5131, allocations: 73.61 kB / 0.5435 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/0.5132, allocations: 23.94 kB / 0.5435 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000388/0.5136, allocations: 255.8 kB / 0.5438 GB, free: 11.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5136, allocations: 4 kB / 0.5438 GB, free: 11.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006451/0.5142, allocations: 146.2 kB / 0.5439 GB, free: 11.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.5144, allocations: 119.3 kB / 0.544 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.5166, allocations: 0.7422 MB / 0.5447 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5166, allocations: 1.625 kB / 0.5447 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009962/0.5176, allocations: 407.8 kB / 0.5451 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.5182, allocations: 102.7 kB / 0.5452 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.5229, allocations: 1.893 MB / 0.5471 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.5236, allocations: 0.8585 MB / 0.5479 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004092/0.524, allocations: 90.16 kB / 0.548 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.5243, allocations: 54.59 kB / 0.548 GB, free: 8.426 MB / 398.1 MB Notification: Performance of SimCode: time 1.713e-06/0.5243, allocations: 0 / 0.548 GB, free: 8.426 MB / 398.1 MB Notification: Performance of Templates: time 0.01749/0.5418, allocations: 8.536 MB / 0.5564 GB, free: 2.766 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5447096871212125] Failed to read output from testmodel.py, exit status != 0: 0.5524372640065849 0.565184644 0.10608083 Calling exit ...