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.001447/0.001447, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.001658/0.001658, allocations: 223.1 kB / 23.77 MB, free: 4.422 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1093/0.1093, allocations: 24.05 MB / 338 MB, free: 11.32 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.002233/0.002233, allocations: 71.89 kB / 475.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3191, allocations: 59.57 MB / 0.5221 GB, free: 10.38 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.07115/0.3903, allocations: 23.48 MB / 0.545 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3916, allocations: 399.1 kB / 0.5454 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.3918, allocations: 19.88 kB / 0.5454 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.3919, allocations: 46.02 kB / 0.5455 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3923, allocations: 149.2 kB / 0.5456 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3925, allocations: 86.69 kB / 0.5457 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.3928, allocations: 423.2 kB / 0.5461 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.3931, allocations: 207.2 kB / 0.5463 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3933, allocations: 207 kB / 0.5465 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.3935, allocations: 160.9 kB / 0.5467 GB, free: 444 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.3935, allocations: 28 kB / 0.5467 GB, free: 416 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3937, allocations: 61 kB / 0.5468 GB, free: 364 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.3937, allocations: 76.48 kB / 0.5468 GB, free: 300 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3939, allocations: 143.9 kB / 0.547 GB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.3944, allocations: 415.7 kB / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3944, allocations: 0 / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3944, allocations: 4 kB / 0.5474 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3944, allocations: 0 / 0.5474 GB, free: 15.88 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.001116/0.3955, allocations: 0.5591 MB / 0.5479 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3955, allocations: 12.92 kB / 0.5479 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.3956, allocations: 38.02 kB / 0.548 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.3961, allocations: 262.9 kB / 0.5482 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3961, allocations: 16.88 kB / 0.5482 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.3962, allocations: 25.08 kB / 0.5483 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.3967, allocations: 274.9 kB / 0.5485 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3967, allocations: 192 / 0.5485 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3967, allocations: 15.94 kB / 0.5485 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3967, allocations: 4 kB / 0.5485 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.3971, allocations: 203.9 kB / 0.5487 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.3985, allocations: 0.7615 MB / 0.5495 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.3989, allocations: 161.4 kB / 0.5496 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3991, allocations: 96.89 kB / 0.5497 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3992, allocations: 0.5625 kB / 0.5497 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3992, allocations: 35.17 kB / 0.5497 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002829/0.3995, allocations: 50.12 kB / 0.5498 GB, free: 13.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.3995, allocations: 0 / 0.5498 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001441/0.4009, allocations: 371 kB / 0.5502 GB, free: 13.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.401, allocations: 51.41 kB / 0.5502 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.4013, allocations: 268.3 kB / 0.5505 GB, free: 12.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4013, allocations: 25.7 kB / 0.5505 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4014, allocations: 192.9 kB / 0.5507 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.4015, allocations: 69.91 kB / 0.5507 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.99e-05/0.4016, allocations: 54.16 kB / 0.5508 GB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4018, allocations: 336.5 kB / 0.5511 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.4019, allocations: 66.17 kB / 0.5512 GB, free: 12.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.4021, allocations: 83.19 kB / 0.5512 GB, free: 12.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/0.4063, allocations: 0.6984 MB / 0.5519 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4063, allocations: 4 kB / 0.5519 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009042/0.4072, allocations: 304.9 kB / 0.5522 GB, free: 11.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4072, allocations: 8.031 kB / 0.5522 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4072, allocations: 4.562 kB / 0.5522 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008145/0.408, allocations: 103.1 kB / 0.5523 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.4083, allocations: 49.41 kB / 0.5524 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004979/0.4088, allocations: 0.5732 MB / 0.5529 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.409, allocations: 8.031 kB / 0.5529 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.409, allocations: 6.812 kB / 0.553 GB, free: 10.59 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.0002629/0.4093, allocations: 148.5 kB / 0.5531 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.4093, allocations: 27.81 kB / 0.5531 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009753/0.4103, allocations: 346.2 kB / 0.5535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.4103, allocations: 8.797 kB / 0.5535 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4103, allocations: 0 / 0.5535 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4103, allocations: 5.391 kB / 0.5535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.4117, allocations: 0.6365 MB / 0.5541 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4117, allocations: 8.062 kB / 0.5541 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4119, allocations: 42.69 kB / 0.5541 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005827/0.4125, allocations: 100.2 kB / 0.5542 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4125, allocations: 4.656 kB / 0.5542 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000469/0.413, allocations: 0.585 MB / 0.5548 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.413, allocations: 0 / 0.5548 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.414, allocations: 0.5072 MB / 0.5553 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.4141, allocations: 33.75 kB / 0.5553 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.4141, allocations: 4.516 kB / 0.5553 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4143, allocations: 8.062 kB / 0.5553 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.4144, allocations: 25.45 kB / 0.5554 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.4144, allocations: 5.266 kB / 0.5554 GB, free: 8.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.4146, allocations: 190.8 kB / 0.5556 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4146, allocations: 0 / 0.5556 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.415, allocations: 91.84 kB / 0.5556 GB, free: 7.949 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.0001636/0.4151, allocations: 112.4 kB / 0.5558 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005302/0.4157, allocations: 194.6 kB / 0.5559 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4157, allocations: 0 / 0.5559 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.416, allocations: 104.5 kB / 0.556 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.4164, allocations: 63.67 kB / 0.5561 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4177, allocations: 0.7272 MB / 0.5568 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.4179, allocations: 175.1 kB / 0.557 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.418, allocations: 31.09 kB / 0.557 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.418, allocations: 0 / 0.557 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.008832/0.4268, allocations: 5.125 MB / 0.562 GB, free: 2.223 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.058458488900214] Failed to read output from testmodel.py, exit status != 0: 0.4361427309922874 0.450664684 0.05312117500000001 Calling exit ...