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.0012/0.0012, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001628/0.001628, allocations: 165 kB / 23.81 MB, free: 0.7617 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.9906/0.9906, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.06722/0.06722, allocations: 18.14 MB / 278.9 MB, free: 11.3 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 2.534e-06/2.534e-06, allocations: 3.938 kB / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.148e-05/4.401e-05, allocations: 5.547 kB / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.006581/0.006625, allocations: 4.362 MB / 361.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.009777, allocations: 1.29 MB / 363 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004916/0.01027, allocations: 23.81 kB / 363 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.01067, allocations: 166.6 kB / 363.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008899/0.01156, allocations: 464.9 kB / 363.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.01248, allocations: 335.3 kB / 363.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.01485, allocations: 2.215 MB / 366.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.01654, allocations: 1.208 MB / 367.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.01796, allocations: 0.8226 MB / 368.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.01951, allocations: 0.9355 MB / 369.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005633/0.02008, allocations: 236 kB / 369.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.02051, allocations: 236 kB / 369.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.02116, allocations: 0.7328 MB / 370.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.02217, allocations: 0.7057 MB / 371 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.02399, allocations: 1.539 MB / 372.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.02399, allocations: 0 / 372.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.024, allocations: 0 / 372.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-05/0.02405, allocations: 0 / 372.6 MB, free: 8.477 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.003878/0.02792, allocations: 2.074 MB / 374.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.02797, allocations: 12.92 kB / 374.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.0284, allocations: 244 kB / 374.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.02966, allocations: 0.7854 MB / 375.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.02978, allocations: 112.6 kB / 375.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.03002, allocations: 128.3 kB / 375.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.03186, allocations: 0.8539 MB / 376.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.03189, allocations: 4.141 kB / 376.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.03201, allocations: 48.12 kB / 376.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.03204, allocations: 28 kB / 376.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.03335, allocations: 0.4978 MB / 377.3 MB, free: 3.57 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.007344/0.04069, allocations: 3.727 MB / 381.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.0441, allocations: 1.145 MB / 382.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.04475, allocations: 257 kB / 382.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.073e-05/0.04483, allocations: 17 kB / 382.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.04487, allocations: 46.39 kB / 382.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 4.077e-06/0.04487, allocations: 4 kB / 382.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.00608/0.05095, allocations: 2.578 MB / 385.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.05099, allocations: 64.41 kB / 385.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.05166, allocations: 0.6244 MB / 385.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.05173, allocations: 45.7 kB / 385.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.05206, allocations: 0.5696 MB / 386.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.0524, allocations: 460.3 kB / 386.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.05279, allocations: 245.2 kB / 387.1 MB, free: 9.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.05303, allocations: 0.5976 MB / 387.7 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.05372, allocations: 330.2 kB / 388 MB, free: 8.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/0.05461, allocations: 0.5484 MB / 388.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.05666, allocations: 1.105 MB / 389.7 MB, free: 6.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.05667, allocations: 0 / 389.7 MB, free: 6.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00256/0.05923, allocations: 1.331 MB / 391 MB, free: 5.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.05925, allocations: 4 kB / 391 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.05927, allocations: 8 kB / 391 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.06099, allocations: 0.5574 MB / 391.6 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.06229, allocations: 399.5 kB / 391.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1762/0.2385, allocations: 26.67 MB / 418.6 MB, free: 47.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.2396, allocations: 73.17 kB / 418.7 MB, free: 47.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.2398, allocations: 53.61 kB / 418.7 MB, free: 47.95 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.00051/0.2403, allocations: 239.5 kB / 419 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.2405, allocations: 130.4 kB / 419.1 MB, free: 47.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.2427, allocations: 1.123 MB / 420.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2427, allocations: 10.88 kB / 420.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.2427, allocations: 6.094 kB / 420.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.2427, allocations: 5.391 kB / 420.2 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/0.247, allocations: 2.388 MB / 422.6 MB, free: 46.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.247, allocations: 3.938 kB / 422.6 MB, free: 46.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.2484, allocations: 340.3 kB / 423 MB, free: 46.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.2498, allocations: 0.508 MB / 423.5 MB, free: 46.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.25, allocations: 59.72 kB / 423.5 MB, free: 46.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007413/0.2574, allocations: 26.13 MB / 449.7 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2574, allocations: 7.609 kB / 449.7 MB, free: 20.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.2601, allocations: 1.582 MB / 451.3 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.2603, allocations: 100 kB / 451.3 MB, free: 20.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.2604, allocations: 58.58 kB / 451.4 MB, free: 20.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/0.2609, allocations: 56.64 kB / 451.5 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.2612, allocations: 101.2 kB / 451.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003097/0.2642, allocations: 30.48 kB / 451.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000458/0.2647, allocations: 414.1 kB / 452 MB, free: 20.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2647, allocations: 0 / 452 MB, free: 20.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001388/0.2661, allocations: 452.5 kB / 452.4 MB, free: 20.1 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.0002133/0.2663, allocations: 191.5 kB / 452.6 MB, free: 19.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005397/0.2717, allocations: 3.313 MB / 455.9 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.2717, allocations: 0 / 455.9 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.2731, allocations: 2.89 MB / 458.8 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.277, allocations: 286.1 kB / 459.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.2893, allocations: 4.119 MB / 463.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.2896, allocations: 326.5 kB / 463.5 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006821/0.2903, allocations: 273 kB / 463.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.2906, allocations: 80.44 kB / 463.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2906, allocations: 0 / 463.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of Templates: time 0.04426/0.3349, allocations: 25.12 MB / 489 MB, free: 3.969 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.9504274702630937]