Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.001363/0.001363, allocations: 109.5 kB / 17.14 MB, free: 5.93 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.001437/0.001437, allocations: 204 kB / 20.11 MB, free: 2.977 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1026/0.1026, allocations: 24.03 MB / 333.6 MB, free: 1.555 MB / 254.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") [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.002398/0.002398, allocations: 65.95 kB / 468.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1495, allocations: 59.55 MB / 0.5161 GB, free: 11.8 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.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/Interfaces/flowOnePort_pwh.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_001): time 0.04237/0.1919, allocations: 23.19 MB / 0.5387 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.1928, allocations: 219.2 kB / 0.5389 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1929, allocations: 11.94 kB / 0.5389 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.193, allocations: 35.64 kB / 0.539 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.1933, allocations: 115.2 kB / 0.5391 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.1934, allocations: 39.95 kB / 0.5391 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.1938, allocations: 290.5 kB / 0.5394 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.194, allocations: 125.4 kB / 0.5395 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1943, allocations: 143.4 kB / 0.5396 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1944, allocations: 95.5 kB / 0.5397 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1944, allocations: 16 kB / 0.5397 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.1945, allocations: 16 kB / 0.5398 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.1945, allocations: 39.8 kB / 0.5398 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1947, allocations: 111.4 kB / 0.5399 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.1951, allocations: 227 kB / 0.5401 GB, free: 3.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1951, allocations: 3.984 kB / 0.5401 GB, free: 3.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1951, allocations: 0 / 0.5401 GB, free: 3.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1951, allocations: 4 kB / 0.5401 GB, free: 3.254 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009306/0.196, allocations: 0.5218 MB / 0.5406 GB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1961, allocations: 8.625 kB / 0.5406 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.1961, allocations: 24.8 kB / 0.5407 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.1965, allocations: 283.4 kB / 0.5409 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1965, allocations: 12.7 kB / 0.541 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.1966, allocations: 12.38 kB / 0.541 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.197, allocations: 192.8 kB / 0.5411 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.197, allocations: 192 / 0.5411 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.197, allocations: 15.94 kB / 0.5412 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.197, allocations: 7.938 kB / 0.5412 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1973, allocations: 119.8 kB / 0.5413 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1984, allocations: 0.8445 MB / 0.5421 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1987, allocations: 74.53 kB / 0.5422 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.1988, allocations: 60.83 kB / 0.5422 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1988, allocations: 7.938 kB / 0.5422 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1989, allocations: 30.56 kB / 0.5423 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.1989, allocations: 0 / 0.5423 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005968/0.1995, allocations: 181.7 kB / 0.5425 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.1995, allocations: 55.41 kB / 0.5425 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.1998, allocations: 229 kB / 0.5427 GB, free: 380 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1998, allocations: 25.7 kB / 0.5427 GB, free: 348 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2, allocations: 156.3 kB / 0.5429 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2, allocations: 47.53 kB / 0.5429 GB, free: 136 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.2001, allocations: 37.7 kB / 0.543 GB, free: 92 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.2003, allocations: 334.8 kB / 0.5433 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2004, allocations: 35.98 kB / 0.5433 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.2005, allocations: 74.89 kB / 0.5434 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.2014, allocations: 218.6 kB / 0.5436 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2014, allocations: 0 / 0.5436 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003434/0.2017, allocations: 167.6 kB / 0.5438 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2017, allocations: 8 kB / 0.5438 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2017, allocations: 4 kB / 0.5438 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2017, allocations: 0 / 0.5438 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.202, allocations: 43.97 kB / 0.5438 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.202, allocations: 4 kB / 0.5438 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2021, allocations: 15.89 kB / 0.5438 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.2021, allocations: 4 kB / 0.5438 GB, free: 15.17 MB / 414.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: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001862/0.2023, allocations: 138.3 kB / 0.544 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.2023, allocations: 23.86 kB / 0.544 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.2024, allocations: 21.84 kB / 0.544 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2024, allocations: 4 kB / 0.544 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2024, allocations: 0 / 0.544 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2024, allocations: 3.984 kB / 0.544 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.2027, allocations: 261.5 kB / 0.5443 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2027, allocations: 3.938 kB / 0.5443 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.2029, allocations: 35.97 kB / 0.5443 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2029, allocations: 0 / 0.5443 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2029, allocations: 4 kB / 0.5443 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2029, allocations: 0 / 0.5443 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2029, allocations: 0 / 0.5443 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.2035, allocations: 303.8 kB / 0.5446 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.2035, allocations: 100.9 kB / 0.5447 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.2036, allocations: 4 kB / 0.5447 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2037, allocations: 8.047 kB / 0.5447 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.2038, allocations: 19.92 kB / 0.5447 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.2038, allocations: 0 / 0.5447 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.2039, allocations: 172.5 kB / 0.5449 GB, free: 14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2039, allocations: 0 / 0.5449 GB, free: 14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.2042, allocations: 43.95 kB / 0.5449 GB, free: 13.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.0001256/0.2043, allocations: 103.1 kB / 0.545 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.2047, allocations: 103.9 kB / 0.5451 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2047, allocations: 0 / 0.5451 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.2048, allocations: 59.91 kB / 0.5452 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2052, allocations: 54.19 kB / 0.5452 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2063, allocations: 0.5576 MB / 0.5458 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.2067, allocations: 0.7323 MB / 0.5465 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.2068, allocations: 30.28 kB / 0.5465 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.2069, allocations: 19.44 kB / 0.5466 GB, free: 12.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2069, allocations: 0 / 0.5466 GB, free: 12.24 MB / 414.1 MB Notification: Performance of Templates: time 0.007042/0.2139, allocations: 2.419 MB / 0.5489 GB, free: 9.848 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.232237700372934] Failed to read output from testmodel.py, exit status != 0: 0.22345073707401752 0.23734068700000002 0.039372248000000006 Calling exit ...