Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.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.001851/0.001851, 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.002282/0.002282, 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.07762/0.07762, allocations: 18.12 MB / 279.2 MB, free: 11.41 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_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 357.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.485e-05, allocations: 9.344 kB / 357.3 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.004534/0.004569, allocations: 4.351 MB / 361.6 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.006767, allocations: 1.286 MB / 362.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.007143, allocations: 23.81 kB / 362.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.007466, allocations: 166.6 kB / 363.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.008186, allocations: 468.8 kB / 363.5 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.008931, allocations: 323.4 kB / 363.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.01119, allocations: 2.219 MB / 366.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.01245, allocations: 1.212 MB / 367.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.01351, allocations: 0.8226 MB / 368.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.01508, allocations: 0.9315 MB / 369 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.01545, allocations: 236 kB / 369.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.01573, allocations: 236 kB / 369.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.01619, allocations: 0.7367 MB / 370.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006093/0.0168, allocations: 0.7018 MB / 370.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.01815, allocations: 1.535 MB / 372.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01815, allocations: 0 / 372.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01816, allocations: 0 / 372.5 MB, free: 8.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.01817, allocations: 0 / 372.5 MB, free: 8.879 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.002607/0.02078, allocations: 2.078 MB / 374.6 MB, free: 6.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.02083, allocations: 12.92 kB / 374.6 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.02116, allocations: 248 kB / 374.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009449/0.02211, allocations: 0.7815 MB / 375.6 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-05/0.02221, allocations: 116.6 kB / 375.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.02238, allocations: 132.3 kB / 375.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.02391, allocations: 0.85 MB / 376.7 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.02393, allocations: 4.188 kB / 376.7 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.02402, allocations: 48.12 kB / 376.7 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.02404, allocations: 28 kB / 376.8 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.02495, allocations: 0.4978 MB / 377.3 MB, free: 3.961 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.00525/0.0302, allocations: 3.735 MB / 381 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.03249, allocations: 1.133 MB / 382.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.03297, allocations: 269.2 kB / 382.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.614e-05/0.03304, allocations: 17 kB / 382.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.03307, allocations: 46.39 kB / 382.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.456e-06/0.03308, allocations: 4 kB / 382.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.005718/0.03879, allocations: 2.574 MB / 385 MB, free: 12.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.03884, allocations: 68.41 kB / 385.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.03946, allocations: 0.6205 MB / 385.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.03953, allocations: 49.7 kB / 385.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.03985, allocations: 0.5657 MB / 386.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.04014, allocations: 456.3 kB / 386.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.04044, allocations: 245.2 kB / 387 MB, free: 9.973 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002542/0.04069, allocations: 0.6015 MB / 387.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.04123, allocations: 326.2 kB / 387.9 MB, free: 9.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.04186, allocations: 0.5523 MB / 388.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.04344, allocations: 1.105 MB / 389.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.04344, allocations: 0 / 389.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002453/0.0459, allocations: 1.331 MB / 390.9 MB, free: 5.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.04592, allocations: 4 kB / 390.9 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.04593, allocations: 8 kB / 390.9 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.04734, allocations: 0.5535 MB / 391.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009297/0.04827, allocations: 399.5 kB / 391.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1656/0.2139, allocations: 26.67 MB / 418.6 MB, free: 54.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.215, allocations: 68.73 kB / 418.6 MB, free: 54.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.2151, allocations: 49.17 kB / 418.7 MB, free: 54.19 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.0006566/0.2158, allocations: 248.9 kB / 418.9 MB, free: 54.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.216, allocations: 127.2 kB / 419 MB, free: 54.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.2179, allocations: 1.117 MB / 420.1 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2179, allocations: 14.33 kB / 420.2 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.2179, allocations: 7.812 kB / 420.2 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.2179, allocations: 5.625 kB / 420.2 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.2219, allocations: 2.383 MB / 422.6 MB, free: 53.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.2219, allocations: 4.5 kB / 422.6 MB, free: 53.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.2232, allocations: 341.5 kB / 422.9 MB, free: 53.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/0.2249, allocations: 0.5145 MB / 423.4 MB, free: 52.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.2251, allocations: 58.8 kB / 423.5 MB, free: 52.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008074/0.2331, allocations: 26.12 MB / 449.6 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2331, allocations: 7.047 kB / 449.6 MB, free: 26.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.2362, allocations: 1.586 MB / 451.2 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.2364, allocations: 104.4 kB / 451.3 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.2366, allocations: 58.75 kB / 451.3 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.2372, allocations: 49.25 kB / 451.4 MB, free: 25.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/0.2375, allocations: 104.3 kB / 451.5 MB, free: 25.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/0.2376, allocations: 34.22 kB / 451.5 MB, free: 25.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004665/0.238, allocations: 413.5 kB / 451.9 MB, free: 25.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.238, allocations: 0 / 451.9 MB, free: 25.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001498/0.2395, allocations: 455.1 kB / 452.4 MB, free: 25.33 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.0002322/0.2398, allocations: 179.7 kB / 452.5 MB, free: 25.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.2423, allocations: 3.313 MB / 455.9 MB, free: 22.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2423, allocations: 1.75 kB / 455.9 MB, free: 22.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.2438, allocations: 2.891 MB / 458.8 MB, free: 19.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2449, allocations: 288.2 kB / 459 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.2513, allocations: 4.129 MB / 463.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.2516, allocations: 327.7 kB / 463.5 MB, free: 16.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008234/0.2524, allocations: 272.8 kB / 463.8 MB, free: 16.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.2527, allocations: 80.48 kB / 463.8 MB, free: 16.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2527, allocations: 0 / 463.8 MB, free: 16.56 MB / 330.7 MB Notification: Performance of Templates: time 0.03224/0.285, allocations: 25.11 MB / 488.9 MB, free: 7.832 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9810927771031857]