Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.00139/0.00139, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001499/0.001499, allocations: 211.5 kB / 23.01 MB, free: 4.992 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1115/0.1115, allocations: 24.04 MB / 337.2 MB, free: 11.42 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_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [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.002158/0.002158, allocations: 67.89 kB / 474.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4093, allocations: 59.57 MB / 0.5214 GB, free: 10.71 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003): time 0.07505/0.4843, allocations: 23.46 MB / 0.5443 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.4857, allocations: 410 kB / 0.5447 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.4858, allocations: 15.88 kB / 0.5447 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.486, allocations: 50.94 kB / 0.5448 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.4863, allocations: 148.2 kB / 0.5449 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.4866, allocations: 84.77 kB / 0.545 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.4869, allocations: 425.8 kB / 0.5454 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.4873, allocations: 205 kB / 0.5456 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.4875, allocations: 200.5 kB / 0.5458 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.4878, allocations: 168.9 kB / 0.5459 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.4878, allocations: 28 kB / 0.546 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.4879, allocations: 56.58 kB / 0.546 GB, free: 484 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.488, allocations: 80.06 kB / 0.5461 GB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.4881, allocations: 151.9 kB / 0.5462 GB, free: 276 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.4886, allocations: 415.9 kB / 0.5466 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4886, allocations: 0.6094 kB / 0.5466 GB, free: 15.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4886, allocations: 0 / 0.5466 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.4886, allocations: 0 / 0.5466 GB, free: 15.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001089/0.4897, allocations: 0.563 MB / 0.5472 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4897, allocations: 8.922 kB / 0.5472 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/0.4898, allocations: 40.7 kB / 0.5472 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.4903, allocations: 256.3 kB / 0.5475 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.4903, allocations: 16.88 kB / 0.5475 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.4903, allocations: 24.38 kB / 0.5475 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.4909, allocations: 278.7 kB / 0.5478 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4909, allocations: 0.8438 kB / 0.5478 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.4909, allocations: 15.94 kB / 0.5478 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4909, allocations: 4 kB / 0.5478 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.4913, allocations: 207.4 kB / 0.548 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.4927, allocations: 0.7545 MB / 0.5487 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.4931, allocations: 157.4 kB / 0.5489 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.4933, allocations: 92.67 kB / 0.549 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.4933, allocations: 4.562 kB / 0.549 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4933, allocations: 39.17 kB / 0.549 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002668/0.4936, allocations: 42.38 kB / 0.549 GB, free: 13.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.4936, allocations: 0 / 0.549 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001469/0.4951, allocations: 367.3 kB / 0.5494 GB, free: 13.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.4951, allocations: 63.77 kB / 0.5495 GB, free: 13.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.4955, allocations: 265.8 kB / 0.5497 GB, free: 13.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.4955, allocations: 33.64 kB / 0.5497 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4957, allocations: 199.1 kB / 0.5499 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.4957, allocations: 64.23 kB / 0.55 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.4958, allocations: 52.69 kB / 0.55 GB, free: 12.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.496, allocations: 339.4 kB / 0.5504 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4962, allocations: 64.34 kB / 0.5504 GB, free: 12.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.4964, allocations: 84.17 kB / 0.5505 GB, free: 12.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/0.5004, allocations: 0.6984 MB / 0.5512 GB, free: 11.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5004, allocations: 0 / 0.5512 GB, free: 11.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008249/0.5013, allocations: 305.1 kB / 0.5515 GB, free: 11.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.5013, allocations: 8.516 kB / 0.5515 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5013, allocations: 0 / 0.5515 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.502, allocations: 103.1 kB / 0.5516 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.5023, allocations: 45.42 kB / 0.5516 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000544/0.5028, allocations: 0.5809 MB / 0.5522 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.503, allocations: 4.75 kB / 0.5522 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.503, allocations: 6.297 kB / 0.5522 GB, free: 10.7 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.5033, allocations: 148 kB / 0.5524 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.5033, allocations: 28.61 kB / 0.5524 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009697/0.5043, allocations: 353.5 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.5043, allocations: 4 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5043, allocations: 0.8906 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.5043, allocations: 0.7969 kB / 0.5527 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.5057, allocations: 0.6452 MB / 0.5534 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5057, allocations: 4 kB / 0.5534 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.5059, allocations: 38.56 kB / 0.5534 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/0.5065, allocations: 103.8 kB / 0.5535 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.5065, allocations: 9.219 kB / 0.5535 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004719/0.507, allocations: 0.5889 MB / 0.5541 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.507, allocations: 3.984 kB / 0.5541 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009949/0.508, allocations: 0.503 MB / 0.5546 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.5081, allocations: 29.52 kB / 0.5546 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.5081, allocations: 12.83 kB / 0.5546 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.5083, allocations: 4 kB / 0.5546 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.5084, allocations: 21.61 kB / 0.5546 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5084, allocations: 4.562 kB / 0.5546 GB, free: 8.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.5086, allocations: 199.5 kB / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5086, allocations: 0 / 0.5548 GB, free: 8.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.509, allocations: 79.78 kB / 0.5549 GB, free: 8.062 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001896/0.5092, allocations: 104.7 kB / 0.555 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.5097, allocations: 201.6 kB / 0.5552 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5097, allocations: 0 / 0.5552 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.51, allocations: 113.1 kB / 0.5553 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.5105, allocations: 59.83 kB / 0.5554 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5121, allocations: 0.6946 MB / 0.556 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.5124, allocations: 182.8 kB / 0.5562 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.5126, allocations: 42.77 kB / 0.5563 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.83e-05/0.5127, allocations: 26.91 kB / 0.5563 GB, free: 6.719 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5127, allocations: 0 / 0.5563 GB, free: 6.719 MB / 398.1 MB Notification: Performance of Templates: time 0.01104/0.5237, allocations: 4.437 MB / 0.5606 GB, free: 3.039 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.418211983516812] Failed to read output from testmodel.py, exit status != 0: 0.5336641371250153 0.548043123 0.056376362000000006 Calling exit ...