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.0007811/0.0007811, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.000795/0.000795, allocations: 165.2 kB / 23.98 MB, free: 0.582 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.8362/0.8362, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.05966/0.05966, allocations: 18.13 MB / 278.8 MB, free: 11.53 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_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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 1.375 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.389e-05, allocations: 3.125 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.00238/0.002404, allocations: 2.919 MB / 420 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003521, allocations: 0.9116 MB / 420.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.003646, allocations: 7.25 kB / 420.9 MB, free: 9.492 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.003804, allocations: 66.89 kB / 421 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.004036, allocations: 184.1 kB / 421.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.004445, allocations: 193.1 kB / 421.4 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.004937, allocations: 0.7708 MB / 422.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.005322, allocations: 357.2 kB / 422.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.005641, allocations: 297.2 kB / 422.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.005988, allocations: 323.6 kB / 423.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.006073, allocations: 76.03 kB / 423.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.006152, allocations: 78.06 kB / 423.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.006279, allocations: 215.8 kB / 423.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.006457, allocations: 253.8 kB / 423.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.007116, allocations: 0.8466 MB / 424.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007118, allocations: 0 / 424.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007119, allocations: 1 kB / 424.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.007129, allocations: 0 / 424.6 MB, free: 7.867 MB / 330.7 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.001156/0.008284, allocations: 0.8383 MB / 425.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.008317, allocations: 9.828 kB / 425.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.008408, allocations: 65.44 kB / 425.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.008775, allocations: 338.5 kB / 425.8 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.008861, allocations: 105 kB / 425.9 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.00894, allocations: 51.5 kB / 426 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.009917, allocations: 0.7345 MB / 426.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.009932, allocations: 192 / 426.7 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.009972, allocations: 25.31 kB / 426.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.009982, allocations: 12.12 kB / 426.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.01087, allocations: 0.6001 MB / 427.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.01373, allocations: 2.284 MB / 429.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.0144, allocations: 0.5204 MB / 430.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.01489, allocations: 397.2 kB / 430.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.01493, allocations: 5.5 kB / 430.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.01494, allocations: 38.36 kB / 430.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.483e-06/0.01494, allocations: 1.125 kB / 430.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.00333/0.01828, allocations: 2.173 MB / 432.7 MB, free: 3.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.0183, allocations: 65.91 kB / 432.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.01849, allocations: 280.1 kB / 433.1 MB, free: 3.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.01852, allocations: 31.98 kB / 433.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.0186, allocations: 241.8 kB / 433.3 MB, free: 3.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.894e-05/0.01869, allocations: 200 kB / 433.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.01881, allocations: 96.88 kB / 433.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.01886, allocations: 349.1 kB / 434 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.01937, allocations: 373.1 kB / 434.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.01987, allocations: 430.8 kB / 434.8 MB, free: 2.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.02316, allocations: 2 MB / 436.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.02316, allocations: 0 / 436.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001054/0.02422, allocations: 0.8475 MB / 437.6 MB, free: 1.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.02423, allocations: 10.34 kB / 437.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.02424, allocations: 2.031 kB / 437.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.02426, allocations: 4.75 kB / 437.6 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.0269, allocations: 0.9022 MB / 438.5 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.02691, allocations: 8.891 kB / 438.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.02713, allocations: 57.31 kB / 438.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.02716, allocations: 21.64 kB / 438.6 MB, free: 0.8047 MB / 330.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: 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.0002047/0.02736, allocations: 214.1 kB / 438.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.02741, allocations: 41.64 kB / 438.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009995/0.02841, allocations: 0.8212 MB / 439.7 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.02842, allocations: 5.5 kB / 439.7 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02842, allocations: 0 / 439.7 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.02843, allocations: 1.375 kB / 439.7 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.03043, allocations: 1.608 MB / 441.3 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.03043, allocations: 0 / 441.3 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/0.03335, allocations: 0.8934 MB / 442.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.03336, allocations: 0 / 442.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.03339, allocations: 19.98 kB / 442.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.0334, allocations: 4 kB / 442.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0334, allocations: 0 / 442.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.03492, allocations: 1.275 MB / 443.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.03496, allocations: 31.77 kB / 443.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.03501, allocations: 19.98 kB / 443.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.03523, allocations: 55.94 kB / 443.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.03535, allocations: 72.36 kB / 443.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.03537, allocations: 15.98 kB / 443.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.03549, allocations: 203.1 kB / 443.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03549, allocations: 0 / 443.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.03579, allocations: 148.1 kB / 444 MB, free: 12.25 MB / 346.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: 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.0001022/0.03589, allocations: 119 kB / 444.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009948/0.03689, allocations: 0.7558 MB / 444.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03689, allocations: 0 / 444.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.03738, allocations: 407 kB / 445.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.0377, allocations: 77.11 kB / 445.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.03981, allocations: 1.698 MB / 447.1 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.03996, allocations: 254 kB / 447.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.04016, allocations: 52.47 kB / 447.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04016, allocations: 0 / 447.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of Templates: time 0.006021/0.04618, allocations: 7.24 MB / 454.6 MB, free: 1.613 MB / 346.7 MB " [Timeout remaining time 660] 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 -variableFilter=.* -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: 4.305887495167553] Failed to read output from testmodel.py, exit status != 0: 0.05135098285973072 0.059062817000000004 0.050343194 Calling exit ...