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.000746/0.000746, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0008856/0.0008856, allocations: 177.3 kB / 24.16 MB, free: 336 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.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.06284/0.06284, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.663e-06/1.663e-06, allocations: 0 / 304.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.684e-05, allocations: 4.703 kB / 304.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.00446/0.004487, allocations: 4.312 MB / 308.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.007062, allocations: 1.314 MB / 310.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.007324, allocations: 19.81 kB / 310.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.007651, allocations: 176.6 kB / 310.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.008291, allocations: 466.7 kB / 310.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.009013, allocations: 319.5 kB / 311.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.01087, allocations: 2.214 MB / 313.3 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.01221, allocations: 1.24 MB / 314.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.01336, allocations: 0.8226 MB / 315.4 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.01454, allocations: 0.912 MB / 316.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.01491, allocations: 236 kB / 316.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.01518, allocations: 240 kB / 316.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.01572, allocations: 0.7366 MB / 317.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008393/0.01656, allocations: 0.698 MB / 318.2 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.018, allocations: 1.527 MB / 319.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.018, allocations: 0 / 319.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.018, allocations: 4 kB / 319.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.844e-05/0.01805, allocations: 0 / 319.7 MB, free: 2.668 MB / 282.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.002303/0.02035, allocations: 1.75 MB / 321.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.02039, allocations: 12.91 kB / 321.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.02064, allocations: 200.8 kB / 321.7 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.02132, allocations: 0.5983 MB / 322.3 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.02142, allocations: 116.6 kB / 322.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.02158, allocations: 132.3 kB / 322.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.0225, allocations: 0.7757 MB / 323.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.02252, allocations: 192 / 323.3 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.02261, allocations: 48.12 kB / 323.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.02263, allocations: 28 kB / 323.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.02319, allocations: 345.7 kB / 323.7 MB, free: 14.56 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.004105/0.02729, allocations: 3.033 MB / 326.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.02906, allocations: 0.9078 MB / 327.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.02934, allocations: 187.7 kB / 327.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.02941, allocations: 17 kB / 327.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.02945, allocations: 43.56 kB / 327.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.325e-06/0.02945, allocations: 0 / 327.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=105): time 0.00339/0.03284, allocations: 2.011 MB / 329.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.03288, allocations: 60.41 kB / 330 MB, free: 8.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.03329, allocations: 0.5311 MB / 330.5 MB, free: 7.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.03336, allocations: 41.7 kB / 330.5 MB, free: 7.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.03361, allocations: 457.8 kB / 331 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.03387, allocations: 440.2 kB / 331.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.03415, allocations: 223.4 kB / 331.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.0343, allocations: 414.5 kB / 332 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.03461, allocations: 223.3 kB / 332.3 MB, free: 5.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.03501, allocations: 389.7 kB / 332.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.03605, allocations: 0.8492 MB / 333.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.03606, allocations: 0 / 333.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001347/0.0374, allocations: 0.9919 MB / 334.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.03742, allocations: 8 kB / 334.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.03742, allocations: 8.031 kB / 334.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.03853, allocations: 0.5418 MB / 335 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.03935, allocations: 363.6 kB / 335.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/0.04794, allocations: 18.41 MB / 353.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.04842, allocations: 43.91 kB / 353.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.04849, allocations: 40.17 kB / 353.9 MB, free: 14.35 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.0003782/0.04887, allocations: 201.5 kB / 354.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.04901, allocations: 87.92 kB / 354.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.05017, allocations: 0.8975 MB / 355.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.05018, allocations: 12 kB / 355.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.05019, allocations: 4 kB / 355.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.0502, allocations: 11.97 kB / 355.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.05263, allocations: 1.743 MB / 356.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.05264, allocations: 4 kB / 356.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009067/0.05355, allocations: 307.6 kB / 357.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009534/0.0545, allocations: 0.4992 MB / 357.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.0546, allocations: 63.97 kB / 357.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009004/0.0636, allocations: 17.93 MB / 375.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.06361, allocations: 12.12 kB / 375.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.06522, allocations: 1.243 MB / 376.9 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.06536, allocations: 79.42 kB / 377 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.06549, allocations: 59.97 kB / 377 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.06577, allocations: 19.94 kB / 377 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.06597, allocations: 100.8 kB / 377.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.06601, allocations: 19.98 kB / 377.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002062/0.06622, allocations: 256.6 kB / 377.4 MB, free: 4.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06622, allocations: 0 / 377.4 MB, free: 4.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00118/0.0674, allocations: 448 kB / 377.9 MB, free: 4.52 MB / 346.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.0002515/0.06765, allocations: 173.4 kB / 378 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.06991, allocations: 2.346 MB / 380.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.06993, allocations: 8 kB / 380.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.07116, allocations: 2.005 MB / 382.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.07188, allocations: 310.8 kB / 382.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.07637, allocations: 3.116 MB / 385.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.07667, allocations: 333 kB / 386.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.07704, allocations: 115.9 kB / 386.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.0776, allocations: 297.1 kB / 386.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.0776, allocations: 0 / 386.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.03055/0.1082, allocations: 26.87 MB / 413.4 MB, free: 0.9258 MB / 378.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.9637505039572716]