Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.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.001803/0.001803, allocations: 88.22 kB / 20.23 MB, free: 4.18 MB / 18.57 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.001629/0.001629, allocations: 157.3 kB / 23.53 MB, free: 0.8828 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 1.467/1.467, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 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.1344/0.1344, allocations: 18.14 MB / 278.5 MB, free: 11.34 MB / 266.7 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) Running command: translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 357.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.577e-05, allocations: 2.312 kB / 357.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.006789/0.006825, allocations: 2.931 MB / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.009735, allocations: 0.9194 MB / 361.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.01003, allocations: 7.938 kB / 361.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.01034, allocations: 67.36 kB / 361.2 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006001/0.01094, allocations: 190.4 kB / 361.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.01178, allocations: 199.5 kB / 361.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.01304, allocations: 0.7677 MB / 362.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008084/0.01385, allocations: 382.2 kB / 362.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.01445, allocations: 295.3 kB / 363.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.01511, allocations: 323.2 kB / 363.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.01526, allocations: 76 kB / 363.4 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.01544, allocations: 80 kB / 363.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.01574, allocations: 215.4 kB / 363.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.01613, allocations: 251.4 kB / 364 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.01748, allocations: 0.8452 MB / 364.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01748, allocations: 0 / 364.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01748, allocations: 0 / 364.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.01751, allocations: 0 / 364.8 MB, free: 15.86 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002805/0.02031, allocations: 0.844 MB / 365.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.02036, allocations: 8.922 kB / 365.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.02071, allocations: 108.6 kB / 365.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.02161, allocations: 337.3 kB / 366.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.02184, allocations: 109 kB / 366.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.02202, allocations: 56.33 kB / 366.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.0245, allocations: 0.7364 MB / 367 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.02452, allocations: 4.188 kB / 367 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.02463, allocations: 24.12 kB / 367 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.02465, allocations: 12 kB / 367 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.02696, allocations: 0.5972 MB / 367.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007736/0.03469, allocations: 2.277 MB / 369.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.03661, allocations: 0.5349 MB / 370.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.03805, allocations: 402.1 kB / 370.8 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.03812, allocations: 12.48 kB / 370.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.03817, allocations: 39.06 kB / 370.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 3.947e-06/0.03817, allocations: 0 / 370.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.009876/0.04805, allocations: 2.233 MB / 373.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.04812, allocations: 59.91 kB / 373.2 MB, free: 7.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.04866, allocations: 280.2 kB / 373.5 MB, free: 7.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.04875, allocations: 41.7 kB / 373.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.04903, allocations: 229.9 kB / 373.7 MB, free: 6.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.04935, allocations: 202.2 kB / 373.9 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.04969, allocations: 98.33 kB / 374 MB, free: 6.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.04997, allocations: 346.8 kB / 374.4 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.05141, allocations: 379.2 kB / 374.7 MB, free: 5.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.05289, allocations: 428.8 kB / 375.1 MB, free: 5.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008883/0.06177, allocations: 2.027 MB / 377.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.06177, allocations: 0 / 377.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002369/0.06414, allocations: 0.8719 MB / 378 MB, free: 2.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.06417, allocations: 11.94 kB / 378.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.06418, allocations: 4.188 kB / 378.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.06421, allocations: 4 kB / 378.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/0.07044, allocations: 0.9128 MB / 379 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.07046, allocations: 8 kB / 379 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.07106, allocations: 51.94 kB / 379 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.834e-05/0.07116, allocations: 23.98 kB / 379.1 MB, free: 1.34 MB / 298.7 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: 7 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0004521/0.07161, allocations: 207.4 kB / 379.3 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.07179, allocations: 55.77 kB / 379.3 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.07417, allocations: 0.8448 MB / 380.2 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.07418, allocations: 8 kB / 380.2 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.07418, allocations: 0 / 380.2 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.07419, allocations: 3.984 kB / 380.2 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.07824, allocations: 1.599 MB / 381.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.07825, allocations: 8.031 kB / 381.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006399/0.08465, allocations: 0.9012 MB / 382.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/0.08467, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.817e-05/0.08476, allocations: 19.98 kB / 382.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.08477, allocations: 0 / 382.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.08478, allocations: 4 kB / 382.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.08819, allocations: 1.31 MB / 384 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.08834, allocations: 39.75 kB / 384.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.08844, allocations: 12 kB / 384.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.08904, allocations: 51.92 kB / 384.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.08939, allocations: 76.36 kB / 384.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.08945, allocations: 19.98 kB / 384.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.08972, allocations: 199.1 kB / 384.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08972, allocations: 4 kB / 384.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006206/0.09034, allocations: 148 kB / 384.6 MB, free: 11.74 MB / 314.7 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: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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.0001996/0.09054, allocations: 119.2 kB / 384.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.09268, allocations: 0.7518 MB / 385.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.09269, allocations: 4.312 kB / 385.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.09375, allocations: 422.6 kB / 385.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/0.09439, allocations: 109.2 kB / 386 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.09838, allocations: 1.583 MB / 387.5 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.09894, allocations: 258.6 kB / 387.8 MB, free: 8.438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.09937, allocations: 87.31 kB / 387.9 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.09966, allocations: 48.48 kB / 387.9 MB, free: 8.305 MB / 314.7 MB Notification: Performance of SimCode: time 1.272e-06/0.09966, allocations: 0 / 387.9 MB, free: 8.305 MB / 314.7 MB Notification: Performance of Templates: time 0.0164/0.1161, allocations: 7.864 MB / 395.8 MB, free: 0.5312 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.893517029006034]