Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_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.0009514/0.0009514, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001948/0.001948, allocations: 177 kB / 24.28 MB, free: 280 kB / 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.9637/0.9637, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.06275/0.06275, allocations: 18.13 MB / 279.2 MB, free: 11.38 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_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.064e-05, allocations: 5.547 kB / 357.2 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.00774/0.007771, allocations: 4.336 MB / 361.6 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.009971, allocations: 1.286 MB / 362.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.01331, allocations: 19.81 kB / 362.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.01364, allocations: 170.6 kB / 363.1 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.01428, allocations: 468.9 kB / 363.5 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.01498, allocations: 323.4 kB / 363.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005839/0.02081, allocations: 2.215 MB / 366 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.02198, allocations: 1.212 MB / 367.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.023, allocations: 0.8265 MB / 368.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.02407, allocations: 0.9238 MB / 369 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.02436, allocations: 244 kB / 369.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.02457, allocations: 239.9 kB / 369.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.02497, allocations: 0.7367 MB / 370.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.02555, allocations: 0.7057 MB / 370.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.02666, allocations: 1.527 MB / 372.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.02667, allocations: 0 / 372.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.02667, allocations: 0 / 372.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.02668, allocations: 4 kB / 372.5 MB, free: 8.887 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002392/0.02908, allocations: 2.082 MB / 374.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.02912, allocations: 12.92 kB / 374.5 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.02942, allocations: 244 kB / 374.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.03026, allocations: 0.7815 MB / 375.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/0.03035, allocations: 112.6 kB / 375.7 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.03051, allocations: 132.3 kB / 375.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.03175, allocations: 0.8461 MB / 376.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.03178, allocations: 4.141 kB / 376.7 MB, free: 4.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.03187, allocations: 56.12 kB / 376.7 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.03189, allocations: 28 kB / 376.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.03276, allocations: 0.4939 MB / 377.2 MB, free: 3.977 MB / 298.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.004641/0.0374, allocations: 3.728 MB / 381 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.03958, allocations: 1.145 MB / 382.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.04, allocations: 257.2 kB / 382.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.04006, allocations: 17 kB / 382.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.04009, allocations: 50.38 kB / 382.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.0401, allocations: 3.938 kB / 382.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.004642/0.04474, allocations: 2.586 MB / 385 MB, free: 12.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.04477, allocations: 64.41 kB / 385.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.0453, allocations: 0.6243 MB / 385.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.04537, allocations: 45.7 kB / 385.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.04565, allocations: 0.5619 MB / 386.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.04593, allocations: 456.3 kB / 386.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.04622, allocations: 245.2 kB / 387 MB, free: 9.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.04642, allocations: 0.5976 MB / 387.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.04693, allocations: 330.2 kB / 387.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.04751, allocations: 0.5523 MB / 388.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.04904, allocations: 1.097 MB / 389.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.04905, allocations: 4 kB / 389.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001945/0.05099, allocations: 1.331 MB / 390.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.05102, allocations: 11.28 kB / 390.9 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.05103, allocations: 8 kB / 390.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.05238, allocations: 0.5535 MB / 391.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.05332, allocations: 395.5 kB / 391.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1372/0.1906, allocations: 26.67 MB / 418.5 MB, free: 54.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008895/0.1915, allocations: 75.02 kB / 418.6 MB, free: 54.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.1916, allocations: 49.66 kB / 418.6 MB, free: 54.24 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 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 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 (159): * Single equations (assignments): 144 * 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.0004486/0.192, allocations: 250.3 kB / 418.9 MB, free: 54.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.1922, allocations: 128.3 kB / 419 MB, free: 54.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.1942, allocations: 1.119 MB / 420.1 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1942, allocations: 10.56 kB / 420.1 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1942, allocations: 3.875 kB / 420.1 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.1942, allocations: 6.75 kB / 420.2 MB, free: 53.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.1981, allocations: 2.389 MB / 422.5 MB, free: 53.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.1981, allocations: 2.75 kB / 422.5 MB, free: 53.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.1996, allocations: 339.4 kB / 422.9 MB, free: 53.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.201, allocations: 0.5151 MB / 423.4 MB, free: 52.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.2012, allocations: 63.22 kB / 423.5 MB, free: 52.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00717/0.2083, allocations: 26.12 MB / 449.6 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2084, allocations: 3.656 kB / 449.6 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.2113, allocations: 1.58 MB / 451.2 MB, free: 25.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.2115, allocations: 104.9 kB / 451.3 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.2117, allocations: 51.94 kB / 451.3 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005295/0.2122, allocations: 60.14 kB / 451.4 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.2125, allocations: 99.16 kB / 451.5 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/0.2125, allocations: 34.55 kB / 451.5 MB, free: 25.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004185/0.213, allocations: 412.1 kB / 451.9 MB, free: 25.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.213, allocations: 3.828 kB / 451.9 MB, free: 25.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001359/0.2143, allocations: 448.6 kB / 452.3 MB, free: 25.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 42 (CH.Tfo,CH.Ec,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 (92): * Single equations (assignments): 77 * 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.000222/0.2145, allocations: 193.8 kB / 452.5 MB, free: 25.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.2168, allocations: 3.303 MB / 455.8 MB, free: 22.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2168, allocations: 1.375 kB / 455.8 MB, free: 22.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.2182, allocations: 2.897 MB / 458.7 MB, free: 19.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.2191, allocations: 283.9 kB / 459 MB, free: 19.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.2245, allocations: 4.127 MB / 463.1 MB, free: 17.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.2248, allocations: 333.7 kB / 463.5 MB, free: 16.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007211/0.2255, allocations: 272.6 kB / 463.7 MB, free: 16.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.2258, allocations: 80.48 kB / 463.8 MB, free: 16.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.354e-06/0.2258, allocations: 0 / 463.8 MB, free: 16.6 MB / 330.7 MB Notification: Performance of Templates: time 0.02523/0.251, allocations: 25.1 MB / 488.9 MB, free: 7.879 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.878490802133456]