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.001552/0.001552, allocations: 85.97 kB / 19.96 MB, free: 1.754 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.002171/0.002171, allocations: 167.7 kB / 23.23 MB, free: 4.879 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.51/1.51, allocations: 177.1 MB / 203.5 MB, free: 9.188 MB / 190.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.104/0.104, allocations: 18.13 MB / 278.1 MB, free: 15.08 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) 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 2.235e-06/2.235e-06, allocations: 0 / 416.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.456e-05, allocations: 2.281 kB / 416.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.006485/0.006519, allocations: 2.922 MB / 419.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.009353, allocations: 0.9117 MB / 420.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.009782, allocations: 11.94 kB / 420.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.01017, allocations: 63.34 kB / 420.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.01095, allocations: 178.5 kB / 420.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.01188, allocations: 203.5 kB / 420.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.01329, allocations: 0.7599 MB / 421.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009121/0.0142, allocations: 370 kB / 421.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.01499, allocations: 299.2 kB / 422 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009043/0.01589, allocations: 319.2 kB / 422.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.01619, allocations: 79.94 kB / 422.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.01649, allocations: 76 kB / 422.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.01683, allocations: 215.4 kB / 422.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.01742, allocations: 255.4 kB / 423 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.01886, allocations: 0.8375 MB / 423.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01886, allocations: 0 / 423.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01886, allocations: 4 kB / 423.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.691e-05/0.0189, allocations: 4 kB / 423.8 MB, free: 10.3 MB / 350.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.003079/0.02198, allocations: 0.8284 MB / 424.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.02203, allocations: 16.92 kB / 424.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.02233, allocations: 68.55 kB / 424.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.02343, allocations: 337.2 kB / 425.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.02367, allocations: 109 kB / 425.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.02386, allocations: 48.38 kB / 425.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.02628, allocations: 0.7364 MB / 425.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.0263, allocations: 192 / 425.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.02641, allocations: 24.12 kB / 426 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.02644, allocations: 12 kB / 426 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.02912, allocations: 0.5972 MB / 426.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009337/0.03846, allocations: 2.281 MB / 428.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.04056, allocations: 0.5229 MB / 429.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.04186, allocations: 391.4 kB / 429.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.04192, allocations: 8.375 kB / 429.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.04196, allocations: 42.97 kB / 429.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.076e-06/0.04196, allocations: 0 / 429.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.01058/0.05255, allocations: 2.17 MB / 432 MB, free: 1.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.0526, allocations: 55.91 kB / 432 MB, free: 1.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.05318, allocations: 288.2 kB / 432.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.05329, allocations: 37.7 kB / 432.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.05356, allocations: 237.2 kB / 432.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.05386, allocations: 190.9 kB / 432.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.05421, allocations: 102.3 kB / 432.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.05445, allocations: 346.8 kB / 433.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.05612, allocations: 375.2 kB / 433.6 MB, free: 308 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.05764, allocations: 425.7 kB / 434 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/0.07001, allocations: 2.008 MB / 436 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.07001, allocations: 0 / 436 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003798/0.07381, allocations: 0.8446 MB / 436.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.07384, allocations: 11.88 kB / 436.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.07385, allocations: 4.219 kB / 436.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.592e-05/0.07389, allocations: 12 kB / 436.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/0.08487, allocations: 0.8972 MB / 437.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.0849, allocations: 7.938 kB / 437.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.08592, allocations: 59.94 kB / 437.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.08604, allocations: 19.98 kB / 437.9 MB, free: 11.96 MB / 366.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.0006668/0.08671, allocations: 209.2 kB / 438.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.08693, allocations: 43.7 kB / 438.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.09052, allocations: 0.8215 MB / 438.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.09053, allocations: 4.141 kB / 438.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.09054, allocations: 0 / 438.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.09056, allocations: 11.97 kB / 438.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.0967, allocations: 1.592 MB / 440.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.09671, allocations: 0 / 440.5 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006762/0.1035, allocations: 0.8857 MB / 441.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.1035, allocations: 7.938 kB / 441.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/0.1036, allocations: 15.98 kB / 441.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.1036, allocations: 4 kB / 441.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1036, allocations: 3.938 kB / 441.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00325/0.1068, allocations: 1.271 MB / 442.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.107, allocations: 39.75 kB / 442.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.1071, allocations: 8 kB / 442.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.1076, allocations: 55.94 kB / 442.8 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.1079, allocations: 84.38 kB / 442.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.1079, allocations: 16 kB / 442.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002398/0.1082, allocations: 199.1 kB / 443.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1082, allocations: 0 / 443.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.1088, allocations: 143.9 kB / 443.3 MB, free: 6.477 MB / 366.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.0002118/0.109, allocations: 123.1 kB / 443.4 MB, free: 6.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.1112, allocations: 0.7481 MB / 444.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1112, allocations: 0 / 444.1 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.1124, allocations: 411 kB / 444.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.113, allocations: 89.05 kB / 444.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.1179, allocations: 1.657 MB / 446.3 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.1183, allocations: 254 kB / 446.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.1187, allocations: 91.25 kB / 446.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.119, allocations: 48.47 kB / 446.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.119, allocations: 0 / 446.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of Templates: time 0.1923/0.3113, allocations: 7.75 MB / 454.4 MB, free: 47.13 MB / 366.1 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: 5.133039984852076] Failed to read output from testmodel.py, exit status != 0: 0.32217155396938324 0.330528965 0.309215899 Calling exit ...