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.001872/0.001872, allocations: 111 kB / 16.46 MB, free: 6.453 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.002239/0.002239, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.6/1.6, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1033/0.1033, allocations: 24.12 MB / 333 MB, free: 12.7 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.002068/0.002068, allocations: 64.17 kB / 468.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4637, allocations: 59.57 MB / 0.5155 GB, free: 9.961 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.03664/0.5004, allocations: 23.42 MB / 0.5384 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.5016, allocations: 425.7 kB / 0.5388 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.5017, allocations: 17.5 kB / 0.5388 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.5018, allocations: 43.95 kB / 0.5389 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.5022, allocations: 145.7 kB / 0.539 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.5024, allocations: 90.08 kB / 0.5391 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.5027, allocations: 420.5 kB / 0.5395 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.503, allocations: 213.9 kB / 0.5397 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.5033, allocations: 204.3 kB / 0.5399 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.5035, allocations: 181.5 kB / 0.5401 GB, free: 460 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.5036, allocations: 29.06 kB / 0.5401 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.5038, allocations: 65.69 kB / 0.5402 GB, free: 448 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.5038, allocations: 74.33 kB / 0.5402 GB, free: 396 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.504, allocations: 181.9 kB / 0.5404 GB, free: 288 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.5044, allocations: 404.2 kB / 0.5408 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5045, allocations: 1.156 kB / 0.5408 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.5045, allocations: 0 / 0.5408 GB, free: 124 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.5045, allocations: 0 / 0.5408 GB, free: 124 kB / 382.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.001176/0.5056, allocations: 0.6375 MB / 0.5414 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5057, allocations: 10.25 kB / 0.5414 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.5058, allocations: 41.58 kB / 0.5415 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.5062, allocations: 331.9 kB / 0.5418 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5063, allocations: 18.56 kB / 0.5418 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.5063, allocations: 24.3 kB / 0.5418 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.5068, allocations: 278.5 kB / 0.5421 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5068, allocations: 4.125 kB / 0.5421 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.5069, allocations: 14.38 kB / 0.5421 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5069, allocations: 5.312 kB / 0.5421 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.5073, allocations: 202.5 kB / 0.5423 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.5089, allocations: 0.9134 MB / 0.5432 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.5093, allocations: 142.5 kB / 0.5433 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.5096, allocations: 101.3 kB / 0.5434 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.5096, allocations: 7.906 kB / 0.5434 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5096, allocations: 35.48 kB / 0.5435 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003087/0.5099, allocations: 50.36 kB / 0.5435 GB, free: 14.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.5099, allocations: 4 kB / 0.5435 GB, free: 14.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001519/0.5115, allocations: 446.7 kB / 0.5439 GB, free: 13.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5115, allocations: 51.41 kB / 0.544 GB, free: 13.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.5119, allocations: 300 kB / 0.5443 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.5119, allocations: 25.7 kB / 0.5443 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.5121, allocations: 188.5 kB / 0.5445 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.5122, allocations: 69.16 kB / 0.5445 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.5122, allocations: 49.36 kB / 0.5446 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.5124, allocations: 345.1 kB / 0.5449 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5126, allocations: 59.36 kB / 0.545 GB, free: 12.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.5128, allocations: 92.81 kB / 0.5451 GB, free: 12.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.517, allocations: 0.7031 MB / 0.5458 GB, free: 11.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.517, allocations: 0 / 0.5458 GB, free: 11.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009215/0.5179, allocations: 308.3 kB / 0.546 GB, free: 11.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.518, allocations: 4 kB / 0.5461 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.518, allocations: 0 / 0.5461 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000793/0.5188, allocations: 107.3 kB / 0.5462 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.519, allocations: 49.41 kB / 0.5462 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005441/0.5196, allocations: 0.5732 MB / 0.5468 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.5198, allocations: 8.062 kB / 0.5468 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.5198, allocations: 10.48 kB / 0.5468 GB, free: 10.97 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.0002323/0.52, allocations: 140.2 kB / 0.5469 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.5201, allocations: 27.81 kB / 0.5469 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009644/0.521, allocations: 366.9 kB / 0.5473 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5211, allocations: 0.6562 kB / 0.5473 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5211, allocations: 0 / 0.5473 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5211, allocations: 5.359 kB / 0.5473 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.5225, allocations: 0.7235 MB / 0.548 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5225, allocations: 0 / 0.548 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.5228, allocations: 50.75 kB / 0.548 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/0.5234, allocations: 104.2 kB / 0.5481 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.5234, allocations: 4.656 kB / 0.5482 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005654/0.5239, allocations: 0.5927 MB / 0.5487 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.524, allocations: 4.031 kB / 0.5487 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.525, allocations: 0.5066 MB / 0.5492 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5251, allocations: 107.3 kB / 0.5493 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.5252, allocations: 8.672 kB / 0.5493 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.5254, allocations: 8.75 kB / 0.5493 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.5254, allocations: 18.61 kB / 0.5494 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.5255, allocations: 12.48 kB / 0.5494 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.5257, allocations: 218.9 kB / 0.5496 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5257, allocations: 0 / 0.5496 GB, free: 8.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.5261, allocations: 71.89 kB / 0.5497 GB, free: 8.137 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.0002032/0.5263, allocations: 116.3 kB / 0.5498 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.5269, allocations: 186.9 kB / 0.5499 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5269, allocations: 0 / 0.5499 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.5272, allocations: 108.3 kB / 0.55 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5276, allocations: 72.5 kB / 0.5501 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.529, allocations: 0.7007 MB / 0.5508 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.5295, allocations: 0.7769 MB / 0.5516 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.5296, allocations: 40.14 kB / 0.5516 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.5297, allocations: 31.09 kB / 0.5516 GB, free: 6.176 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5297, allocations: 0 / 0.5516 GB, free: 6.176 MB / 398.1 MB Notification: Performance of Templates: time 0.01059/0.5403, allocations: 4.19 MB / 0.5557 GB, free: 2.945 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.5105902520008385] Failed to read output from testmodel.py, exit status != 0: 0.5498488249722868 0.562653226 0.055423645 Calling exit ...