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.001466/0.001466, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001562/0.001562, allocations: 218.8 kB / 23.01 MB, free: 4.605 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1086/0.1086, allocations: 24.13 MB / 337.3 MB, free: 11.43 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.00218/0.00218, allocations: 63.89 kB / 474.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3377, allocations: 59.6 MB / 0.5216 GB, free: 10.44 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.03709/0.3748, allocations: 23.48 MB / 0.5446 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3761, allocations: 431 kB / 0.545 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.3763, allocations: 17.41 kB / 0.545 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.3764, allocations: 42.8 kB / 0.545 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.3768, allocations: 145 kB / 0.5452 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.377, allocations: 84.92 kB / 0.5453 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.3773, allocations: 427.5 kB / 0.5457 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.3776, allocations: 217.5 kB / 0.5459 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.3778, allocations: 200.1 kB / 0.5461 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.3781, allocations: 185 kB / 0.5462 GB, free: 464 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.3781, allocations: 28 kB / 0.5463 GB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3782, allocations: 64.3 kB / 0.5463 GB, free: 380 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.3783, allocations: 76.81 kB / 0.5464 GB, free: 316 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.3784, allocations: 183.7 kB / 0.5466 GB, free: 144 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.379, allocations: 403.5 kB / 0.547 GB, free: 15.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.379, allocations: 0.6562 kB / 0.547 GB, free: 15.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.379, allocations: 0 / 0.547 GB, free: 15.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.379, allocations: 0 / 0.547 GB, free: 15.87 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.001107/0.3801, allocations: 0.563 MB / 0.5475 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3801, allocations: 8.922 kB / 0.5475 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.3802, allocations: 40.7 kB / 0.5476 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.3807, allocations: 263.7 kB / 0.5478 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.445e-05/0.3807, allocations: 17.53 kB / 0.5478 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.3807, allocations: 24.38 kB / 0.5479 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.3812, allocations: 279.1 kB / 0.5481 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3813, allocations: 192 / 0.5481 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.3813, allocations: 15.94 kB / 0.5481 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3813, allocations: 4 kB / 0.5481 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.3817, allocations: 203.8 kB / 0.5483 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3832, allocations: 0.868 MB / 0.5492 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.3836, allocations: 145.3 kB / 0.5493 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.3838, allocations: 101.4 kB / 0.5494 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3838, allocations: 4.266 kB / 0.5494 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3839, allocations: 43.09 kB / 0.5495 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003025/0.3842, allocations: 54.5 kB / 0.5495 GB, free: 13.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.3842, allocations: 4 kB / 0.5495 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001452/0.3856, allocations: 369.1 kB / 0.5499 GB, free: 13.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3857, allocations: 59.31 kB / 0.5499 GB, free: 13.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.386, allocations: 294.9 kB / 0.5502 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.386, allocations: 29.64 kB / 0.5502 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3862, allocations: 188.9 kB / 0.5504 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.3862, allocations: 65.22 kB / 0.5505 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3864, allocations: 49.03 kB / 0.5505 GB, free: 12.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3865, allocations: 348.5 kB / 0.5509 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3867, allocations: 64.16 kB / 0.5509 GB, free: 12.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.3868, allocations: 87.27 kB / 0.551 GB, free: 11.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.3911, allocations: 0.698 MB / 0.5517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3911, allocations: 0 / 0.5517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008617/0.3919, allocations: 304.8 kB / 0.552 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3919, allocations: 8.656 kB / 0.552 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3919, allocations: 0 / 0.552 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008262/0.3928, allocations: 107.1 kB / 0.5521 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.393, allocations: 45.31 kB / 0.5521 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005012/0.3935, allocations: 0.5731 MB / 0.5527 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3937, allocations: 12.61 kB / 0.5527 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.3937, allocations: 10.72 kB / 0.5527 GB, free: 10.46 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.0002657/0.394, allocations: 159.5 kB / 0.5529 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.3941, allocations: 27.81 kB / 0.5529 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009908/0.3951, allocations: 354.1 kB / 0.5532 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3951, allocations: 4 kB / 0.5532 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3951, allocations: 0 / 0.5532 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3951, allocations: 1.594 kB / 0.5532 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.3965, allocations: 0.7113 MB / 0.5539 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3965, allocations: 0 / 0.5539 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3967, allocations: 42.66 kB / 0.554 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/0.3973, allocations: 108 kB / 0.5541 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3973, allocations: 9.359 kB / 0.5541 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004517/0.3978, allocations: 0.5882 MB / 0.5547 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3978, allocations: 4.906 kB / 0.5547 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3988, allocations: 0.5021 MB / 0.5551 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.3989, allocations: 33.61 kB / 0.5552 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.3989, allocations: 12.59 kB / 0.5552 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3991, allocations: 8.516 kB / 0.5552 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.3991, allocations: 21.42 kB / 0.5552 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3992, allocations: 8.547 kB / 0.5552 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3994, allocations: 219 kB / 0.5554 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 0.5554 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3997, allocations: 75.89 kB / 0.5555 GB, free: 7.734 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.0001563/0.3999, allocations: 112.8 kB / 0.5556 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.4004, allocations: 194.7 kB / 0.5558 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4004, allocations: 0 / 0.5558 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.4007, allocations: 104.5 kB / 0.5559 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.4011, allocations: 69.78 kB / 0.556 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4024, allocations: 0.7388 MB / 0.5567 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.4029, allocations: 0.7735 MB / 0.5574 GB, free: 5.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.94e-05/0.403, allocations: 31 kB / 0.5575 GB, free: 5.77 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.403, allocations: 0 / 0.5575 GB, free: 5.77 MB / 398.1 MB Notification: Performance of Templates: time 0.008274/0.4112, allocations: 5.093 MB / 0.5624 GB, free: 1.348 MB / 398.1 MB " [Timeout remaining time 660] 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: 8.020750934956595] Failed to read output from testmodel.py, exit status != 0: 0.42126938002184033 0.435756904 0.053619962 Calling exit ...