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.001002/0.001002, allocations: 77.97 kB / 21.46 MB, free: 3.035 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.00102/0.00102, allocations: 158.2 kB / 24.85 MB, free: 9.297 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.07961/0.07961, allocations: 18.14 MB / 280 MB, free: 11.17 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 2.054e-06/2.054e-06, allocations: 0 / 358.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.521e-05, allocations: 2.312 kB / 358.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005407/0.005432, allocations: 4.324 MB / 362.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.007979, allocations: 1.282 MB / 364.2 MB, free: 2.914 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.008342, allocations: 27.75 kB / 364.2 MB, free: 2.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.008695, allocations: 170.5 kB / 364.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007551/0.00945, allocations: 468.9 kB / 364.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.01018, allocations: 335.3 kB / 365.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.01319, allocations: 2.227 MB / 367.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.01452, allocations: 1.22 MB / 368.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.01563, allocations: 0.8499 MB / 369.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.01684, allocations: 0.9315 MB / 370.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.01719, allocations: 228 kB / 370.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.0175, allocations: 236 kB / 370.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005873/0.01809, allocations: 0.7211 MB / 371.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009173/0.01901, allocations: 0.694 MB / 372.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.02065, allocations: 1.519 MB / 373.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.02065, allocations: 0 / 373.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02066, allocations: 0 / 373.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.02068, allocations: 0 / 373.8 MB, free: 9.258 MB / 346.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.003335/0.02402, allocations: 1.918 MB / 375.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.02406, allocations: 8.922 kB / 375.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.02448, allocations: 248 kB / 375.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.02553, allocations: 0.7245 MB / 376.7 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.02564, allocations: 120.6 kB / 376.8 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.02588, allocations: 132.3 kB / 376.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.02734, allocations: 0.7604 MB / 377.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.02736, allocations: 4.141 kB / 377.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.02749, allocations: 48.12 kB / 377.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.02752, allocations: 28 kB / 377.8 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.02849, allocations: 409.8 kB / 378.2 MB, free: 4.742 MB / 346.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.0054/0.03389, allocations: 3.559 MB / 381.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.03575, allocations: 0.9929 MB / 382.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.03621, allocations: 230.5 kB / 382.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.03626, allocations: 21 kB / 383 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.03629, allocations: 46.38 kB / 383 MB, free: 15.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 3.577e-06/0.03629, allocations: 3.984 kB / 383 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.003664/0.03996, allocations: 2.263 MB / 385.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.03999, allocations: 68.34 kB / 385.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.04039, allocations: 0.6045 MB / 385.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.04045, allocations: 45.7 kB / 386 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.04099, allocations: 0.5696 MB / 386.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.04127, allocations: 472.1 kB / 387 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.04155, allocations: 253.1 kB / 387.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.04175, allocations: 0.6053 MB / 387.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.04211, allocations: 286 kB / 388.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004481/0.04256, allocations: 0.5092 MB / 388.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.04375, allocations: 0.9678 MB / 389.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.04375, allocations: 0 / 389.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001981/0.04573, allocations: 1.226 MB / 390.8 MB, free: 7.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.04575, allocations: 12.03 kB / 390.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.04576, allocations: 4 kB / 390.9 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.04702, allocations: 0.5418 MB / 391.4 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.04791, allocations: 379.5 kB / 391.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.05919, allocations: 26.33 MB / 418.1 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.05979, allocations: 40.12 kB / 418.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.05986, allocations: 44 kB / 418.2 MB, free: 10.34 MB / 394.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.0004662/0.06033, allocations: 236.2 kB / 418.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.06051, allocations: 135.3 kB / 418.6 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.06231, allocations: 1.052 MB / 419.6 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.06232, allocations: 15.98 kB / 419.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.06232, allocations: 4 kB / 419.6 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.06233, allocations: 7.922 kB / 419.6 MB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.06573, allocations: 2.132 MB / 421.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.06574, allocations: 0 / 421.8 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.06704, allocations: 320 kB / 422.1 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.06836, allocations: 0.5027 MB / 422.6 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.06847, allocations: 63.97 kB / 422.6 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1552/0.2237, allocations: 25.79 MB / 448.4 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2237, allocations: 6.219 kB / 448.4 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.226, allocations: 1.491 MB / 449.9 MB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.2262, allocations: 106.8 kB / 450 MB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.2263, allocations: 59.06 kB / 450.1 MB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.2267, allocations: 24.94 kB / 450.1 MB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/0.227, allocations: 102.6 kB / 450.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-05/0.2271, allocations: 29.48 kB / 450.2 MB, free: 105.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.2274, allocations: 385 kB / 450.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2274, allocations: 0 / 450.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001557/0.2289, allocations: 447 kB / 451.1 MB, free: 105.4 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.0003/0.2292, allocations: 182 kB / 451.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.2312, allocations: 3.244 MB / 454.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2312, allocations: 0 / 454.5 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.2325, allocations: 2.862 MB / 457.3 MB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.2333, allocations: 293.5 kB / 457.6 MB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.2381, allocations: 4.034 MB / 461.7 MB, free: 98.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.2384, allocations: 336.5 kB / 462 MB, free: 98.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000575/0.239, allocations: 134.7 kB / 462.1 MB, free: 98.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.2395, allocations: 348.5 kB / 462.5 MB, free: 98.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2395, allocations: 0 / 462.5 MB, free: 98.04 MB / 410.7 MB Notification: Performance of Templates: time 0.03171/0.2712, allocations: 27.42 MB / 489.9 MB, free: 93.37 MB / 410.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.936882361769676]