Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.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.001883/0.001883, allocations: 88.98 kB / 20.23 MB, free: 4.195 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.001898/0.001898, allocations: 161.3 kB / 23.54 MB, free: 0.8828 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.118/0.118, allocations: 18.14 MB / 278.5 MB, free: 11.34 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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 357.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.994e-05/4.206e-05, allocations: 2.312 kB / 357.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.007325/0.007367, allocations: 4.332 MB / 361.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.01087, allocations: 1.294 MB / 362.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007074/0.01158, allocations: 23.75 kB / 363 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.01208, allocations: 170.6 kB / 363.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.01321, allocations: 468.9 kB / 363.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.01425, allocations: 335.3 kB / 363.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.0173, allocations: 2.239 MB / 366.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.01951, allocations: 1.212 MB / 367.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.02151, allocations: 0.8498 MB / 368.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.02364, allocations: 0.9238 MB / 369.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005281/0.02416, allocations: 228 kB / 369.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.02481, allocations: 232 kB / 369.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008594/0.02567, allocations: 0.7327 MB / 370.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.02696, allocations: 0.694 MB / 371 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.0308, allocations: 2.692 MB / 373.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.03081, allocations: 0 / 373.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.03081, allocations: 0 / 373.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.625e-05/0.03087, allocations: 0 / 373.7 MB, free: 6.91 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.006846/0.03772, allocations: 2.222 MB / 375.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.03777, allocations: 12.92 kB / 376 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000613/0.03838, allocations: 248 kB / 376.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.04043, allocations: 0.8089 MB / 377 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.04059, allocations: 120.6 kB / 377.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.0409, allocations: 136.3 kB / 377.3 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.04349, allocations: 0.9979 MB / 378.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.04353, allocations: 192 / 378.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.04369, allocations: 52.12 kB / 378.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.04372, allocations: 28 kB / 378.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.04582, allocations: 0.7276 MB / 379.1 MB, free: 1.445 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.01268/0.0585, allocations: 4.599 MB / 383.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/0.06327, allocations: 1.332 MB / 385 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.06432, allocations: 406.5 kB / 385.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.482e-05/0.06441, allocations: 21 kB / 385.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.06447, allocations: 46.38 kB / 385.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.166e-06/0.06447, allocations: 0 / 385.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.01013/0.0746, allocations: 3.207 MB / 388.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.07467, allocations: 60.41 kB / 388.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.07609, allocations: 0.8431 MB / 389.6 MB, free: 6.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.07623, allocations: 45.7 kB / 389.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.07689, allocations: 0.6126 MB / 390.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007487/0.07764, allocations: 0.5002 MB / 390.7 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/0.07826, allocations: 309.2 kB / 391 MB, free: 5.242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005609/0.07882, allocations: 0.6875 MB / 391.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.08003, allocations: 0.5333 MB / 392.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.08142, allocations: 0.7514 MB / 393 MB, free: 3.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/0.08489, allocations: 1.589 MB / 394.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.08489, allocations: 4 kB / 394.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004405/0.0893, allocations: 1.671 MB / 396.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.08933, allocations: 4 kB / 396.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.08934, allocations: 8 kB / 396.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/0.09266, allocations: 0.6199 MB / 396.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.095, allocations: 411.5 kB / 397.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1717/0.2667, allocations: 27.25 MB / 424.5 MB, free: 47.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.268, allocations: 71.58 kB / 424.6 MB, free: 47.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.2682, allocations: 48.52 kB / 424.7 MB, free: 47.4 MB / 330.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.0006422/0.2688, allocations: 298.8 kB / 424.9 MB, free: 47.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.2691, allocations: 129.6 kB / 425.1 MB, free: 47.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.2721, allocations: 1.378 MB / 426.5 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.2721, allocations: 11.61 kB / 426.5 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2721, allocations: 4.125 kB / 426.5 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2721, allocations: 5.578 kB / 426.5 MB, free: 46.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.2782, allocations: 2.965 MB / 429.4 MB, free: 45.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.2782, allocations: 3.344 kB / 429.4 MB, free: 45.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/0.2803, allocations: 353 kB / 429.8 MB, free: 45.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/0.2827, allocations: 0.5491 MB / 430.3 MB, free: 45.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.2829, allocations: 61.95 kB / 430.4 MB, free: 45.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.2929, allocations: 26.53 MB / 456.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2929, allocations: 3.5 kB / 456.9 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.2968, allocations: 2.071 MB / 459 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.297, allocations: 111 kB / 459.1 MB, free: 17.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.2972, allocations: 58.23 kB / 459.2 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.298, allocations: 57.09 kB / 459.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.2983, allocations: 106.5 kB / 459.3 MB, free: 17.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/0.2984, allocations: 38.02 kB / 459.4 MB, free: 17.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005497/0.2989, allocations: 0.5277 MB / 459.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2989, allocations: 0 / 459.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001472/0.3004, allocations: 446.6 kB / 460.3 MB, free: 17.48 MB / 330.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.0002445/0.3006, allocations: 175.9 kB / 460.5 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00325/0.3039, allocations: 3.648 MB / 464.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3039, allocations: 5.188 kB / 464.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.306, allocations: 3.041 MB / 467.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3072, allocations: 293.7 kB / 467.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00646/0.3137, allocations: 4.216 MB / 471.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.3142, allocations: 0.6408 MB / 472.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008871/0.3151, allocations: 283.8 kB / 472.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.3154, allocations: 84.48 kB / 472.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3155, allocations: 0 / 472.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of Templates: time 0.04347/0.3589, allocations: 25.04 MB / 497.7 MB, free: 13.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.03387196699623]