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.0009695/0.0009695, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.002/0.002, allocations: 181 kB / 24.28 MB, free: 280 kB / 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.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.08332/0.08332, allocations: 18.13 MB / 279.2 MB, free: 11.38 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.322e-06/1.322e-06, allocations: 0 / 358 MB, free: 7.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.576e-05, allocations: 4.703 kB / 358 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.003164/0.00319, allocations: 3.183 MB / 361.2 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004484, allocations: 0.9272 MB / 362.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004614, allocations: 4 kB / 362.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.004786, allocations: 71.28 kB / 362.2 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.005044, allocations: 178.5 kB / 362.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.005491, allocations: 203.5 kB / 362.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.006016, allocations: 0.7677 MB / 363.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.006432, allocations: 378.2 kB / 363.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.006745, allocations: 307.3 kB / 364 MB, free: 1.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.007068, allocations: 327.2 kB / 364.4 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.007144, allocations: 76 kB / 364.4 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.007219, allocations: 76 kB / 364.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.00735, allocations: 223.4 kB / 364.7 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.007518, allocations: 247.5 kB / 365 MB, free: 420 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.007941, allocations: 0.5491 MB / 365.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.007943, allocations: 0 / 365.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007944, allocations: 0 / 365.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.007953, allocations: 7.984 kB / 365.5 MB, free: 15.85 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.001524/0.009477, allocations: 0.9322 MB / 366.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.009518, allocations: 8.922 kB / 366.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.009666, allocations: 116.6 kB / 366.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.01007, allocations: 324.1 kB / 366.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.01017, allocations: 112.9 kB / 367 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.01025, allocations: 48.38 kB / 367.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.01092, allocations: 0.495 MB / 367.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.01094, allocations: 12.17 kB / 367.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.01099, allocations: 28.11 kB / 367.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.011, allocations: 12 kB / 367.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.01149, allocations: 281.8 kB / 367.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.0142, allocations: 1.968 MB / 369.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.01473, allocations: 333.5 kB / 370.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.01503, allocations: 197.1 kB / 370.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.01507, allocations: 8.5 kB / 370.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.0151, allocations: 53.81 kB / 370.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.614e-06/0.01511, allocations: 0 / 370.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.00227/0.01738, allocations: 1.345 MB / 371.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.01741, allocations: 55.91 kB / 371.8 MB, free: 9.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.01762, allocations: 310.3 kB / 372.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.01766, allocations: 37.7 kB / 372.2 MB, free: 8.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.01779, allocations: 287.9 kB / 372.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.01791, allocations: 202.3 kB / 372.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.01805, allocations: 104 kB / 372.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.01823, allocations: 0.5196 MB / 373.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.0185, allocations: 190.2 kB / 373.4 MB, free: 7.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.01878, allocations: 248.8 kB / 373.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.01954, allocations: 0.5332 MB / 374.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01954, allocations: 0 / 374.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006697/0.02021, allocations: 0.509 MB / 374.7 MB, free: 6.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.02023, allocations: 19 kB / 374.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.02024, allocations: 0 / 374.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.02025, allocations: 4 kB / 374.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.02252, allocations: 0.6361 MB / 375.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.02253, allocations: 11.88 kB / 375.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.02274, allocations: 39.95 kB / 375.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.02277, allocations: 23.98 kB / 375.5 MB, free: 5.578 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.0002513/0.02302, allocations: 209.4 kB / 375.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.0231, allocations: 59.7 kB / 375.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007047/0.02381, allocations: 0.5053 MB / 376.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.02381, allocations: 4 kB / 376.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.02381, allocations: 0 / 376.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.02382, allocations: 3.984 kB / 376.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.02537, allocations: 1.24 MB / 377.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.02538, allocations: 4 kB / 377.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/0.02875, allocations: 0.6283 MB / 378.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/0.02876, allocations: 4 kB / 378.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.02884, allocations: 19.98 kB / 378.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.02885, allocations: 0 / 378.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.02885, allocations: 7.938 kB / 378.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.03021, allocations: 0.8116 MB / 379 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.03029, allocations: 31.77 kB / 379 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.03036, allocations: 19.98 kB / 379 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.03067, allocations: 35.97 kB / 379 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.03085, allocations: 80.28 kB / 379.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.0309, allocations: 19.98 kB / 379.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.03109, allocations: 219 kB / 379.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03109, allocations: 0 / 379.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006204/0.03171, allocations: 144 kB / 379.5 MB, free: 1.445 MB / 298.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.0001893/0.0319, allocations: 123.1 kB / 379.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009028/0.0328, allocations: 455.3 kB / 380.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.03281, allocations: 4 kB / 380.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.03323, allocations: 239.4 kB / 380.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.03382, allocations: 101.3 kB / 380.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/0.03699, allocations: 1.429 MB / 381.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.03711, allocations: 134.3 kB / 382 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.03748, allocations: 71.31 kB / 382 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.03772, allocations: 48.47 kB / 382.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.03772, allocations: 0 / 382.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Templates: time 0.01008/0.0478, allocations: 7.895 MB / 390 MB, free: 6.969 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.094448389019817]