Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.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.0008594/0.0008594, allocations: 84.44 kB / 20.71 MB, free: 3.855 MB / 18.57 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.0009618/0.0009618, allocations: 165.2 kB / 23.98 MB, free: 0.582 MB / 18.57 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 0.8743/0.8743, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.06/0.06, allocations: 18.13 MB / 278.8 MB, free: 11.52 MB / 266.7 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.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.34e-05, allocations: 3.703 kB / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.003125/0.003148, allocations: 3.963 MB / 420.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004541, allocations: 1.282 MB / 421.6 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.004734, allocations: 29.66 kB / 421.6 MB, free: 8.906 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.004989, allocations: 175.6 kB / 421.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.005439, allocations: 461 kB / 422.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.005929, allocations: 323.5 kB / 422.5 MB, free: 8.316 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.00719, allocations: 2.236 MB / 424.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009392/0.008129, allocations: 1.165 MB / 425.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.008839, allocations: 0.8415 MB / 426.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009329/0.009772, allocations: 0.8662 MB / 427.6 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.00999, allocations: 230.2 kB / 427.9 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.01024, allocations: 231.6 kB / 428.1 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.01067, allocations: 0.7306 MB / 428.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.01119, allocations: 0.687 MB / 429.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.01293, allocations: 2.683 MB / 432.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01293, allocations: 0 / 432.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01293, allocations: 1.25 kB / 432.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.01295, allocations: 0 / 432.2 MB, free: 4.062 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002351/0.0153, allocations: 1.957 MB / 434.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.01534, allocations: 9.922 kB / 434.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.01553, allocations: 157.6 kB / 434.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.01648, allocations: 0.7976 MB / 435.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.933e-05/0.01657, allocations: 123.5 kB / 435.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.01675, allocations: 134.3 kB / 435.4 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.01853, allocations: 1.614 MB / 437 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.01855, allocations: 4.141 kB / 437 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.01865, allocations: 53.75 kB / 437 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.01867, allocations: 29.56 kB / 437.1 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.02039, allocations: 1.407 MB / 438.5 MB, free: 236 kB / 330.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(delivery.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005935/0.02632, allocations: 4.7 MB / 443.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.02898, allocations: 1.855 MB / 445 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.0298, allocations: 0.7339 MB / 445.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.02986, allocations: 9 kB / 445.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.02988, allocations: 49.06 kB / 445.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 2.174e-06/0.02989, allocations: 0 / 445.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.006037/0.03592, allocations: 4.641 MB / 450.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.03596, allocations: 64.41 kB / 450.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.03658, allocations: 0.6642 MB / 451.2 MB, free: 5.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.03665, allocations: 41.7 kB / 451.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.0369, allocations: 0.5279 MB / 451.8 MB, free: 4.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.03722, allocations: 444.3 kB / 452.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.03751, allocations: 243.5 kB / 452.4 MB, free: 3.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.03766, allocations: 418.7 kB / 452.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/0.03861, allocations: 0.8508 MB / 453.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.03963, allocations: 1.021 MB / 454.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007386/0.04701, allocations: 4.514 MB / 459.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.04702, allocations: 0 / 459.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002892/0.04991, allocations: 2.481 MB / 461.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.04993, allocations: 12.03 kB / 461.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.04994, allocations: 4 kB / 461.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009613/0.0509, allocations: 0.5316 MB / 462.2 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.05181, allocations: 415.5 kB / 462.7 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.06207, allocations: 21.06 MB / 483.7 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.06255, allocations: 88.09 kB / 483.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.06263, allocations: 48 kB / 483.8 MB, free: 2.551 MB / 378.7 MB Warning: Assuming fixed start value for the following 3 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.pipeline.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005413/0.06317, allocations: 432.3 kB / 484.3 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.06328, allocations: 95.42 kB / 484.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.06579, allocations: 2.002 MB / 486.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.0658, allocations: 12 kB / 486.4 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.0658, allocations: 4 kB / 486.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.06581, allocations: 3.984 kB / 486.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.06988, allocations: 3.517 MB / 489.9 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.06989, allocations: 4 kB / 489.9 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.07093, allocations: 355.5 kB / 490.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006897/0.07162, allocations: 488.8 kB / 490.7 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.07172, allocations: 67.97 kB / 490.8 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/0.08127, allocations: 20.2 MB / 0.499 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.08128, allocations: 7.938 kB / 0.499 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.08442, allocations: 2.789 MB / 0.5018 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.08455, allocations: 99.41 kB / 0.5018 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.08468, allocations: 59.98 kB / 0.5019 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.08505, allocations: 55.92 kB / 0.502 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.08522, allocations: 104.7 kB / 0.5021 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.08528, allocations: 35.98 kB / 0.5021 GB, free: 2.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003949/0.08567, allocations: 459 kB / 0.5025 GB, free: 1.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08567, allocations: 0 / 0.5025 GB, free: 1.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001032/0.08671, allocations: 448 kB / 0.503 GB, free: 1.512 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.wall.wall.T[5,3]) * 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 (95): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.08692, allocations: 188.2 kB / 0.5031 GB, free: 1.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.08956, allocations: 3.37 MB / 0.5064 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.08957, allocations: 3.938 kB / 0.5064 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.0911, allocations: 2.452 MB / 0.5088 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.09184, allocations: 318.5 kB / 0.5091 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.09735, allocations: 4.92 MB / 0.5139 GB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.09794, allocations: 0.6779 MB / 0.5146 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.09825, allocations: 88.48 kB / 0.5147 GB, free: 5.008 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.09825, allocations: 0 / 0.5147 GB, free: 5.008 MB / 426.7 MB Notification: Performance of Templates: time 0.1807/0.2789, allocations: 83.75 MB / 0.5965 GB, free: 153.6 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.082138553261757] Failed to read output from testmodel.py, exit status != 0: 0.2846801308915019 0.291339159 0.277114197 Calling exit ...