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.001853/0.001853, allocations: 75.75 kB / 20.23 MB, free: 4.047 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.001959/0.001959, allocations: 157.4 kB / 23.54 MB, free: 0.7344 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.116/0.116, 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_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.703e-06/1.703e-06, allocations: 0 / 356.5 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.281e-05, allocations: 2.312 kB / 356.5 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.006939/0.006971, allocations: 4.321 MB / 360.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.01014, allocations: 1.282 MB / 362.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.01045, allocations: 27.75 kB / 362.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.01086, allocations: 166.6 kB / 362.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.01171, allocations: 461 kB / 362.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.01261, allocations: 327.4 kB / 363.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.01582, allocations: 2.215 MB / 365.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.01758, allocations: 1.212 MB / 366.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.01894, allocations: 0.8264 MB / 367.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.02054, allocations: 0.9355 MB / 368.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.02091, allocations: 236 kB / 368.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.02133, allocations: 240 kB / 368.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007967/0.02213, allocations: 0.7328 MB / 369.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009707/0.0231, allocations: 0.7018 MB / 370.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.02618, allocations: 2.719 MB / 372.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.02618, allocations: 0 / 372.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.02618, allocations: 0 / 372.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.02621, allocations: 4 kB / 372.9 MB, free: 7.699 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.00524/0.03145, allocations: 2.211 MB / 375.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.03149, allocations: 12.92 kB / 375.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.03197, allocations: 252 kB / 375.4 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.03366, allocations: 0.805 MB / 376.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.0338, allocations: 116.6 kB / 376.3 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.03406, allocations: 132.3 kB / 376.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.03629, allocations: 0.9939 MB / 377.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.03632, allocations: 4.172 kB / 377.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.03649, allocations: 56.12 kB / 377.5 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.03652, allocations: 28 kB / 377.5 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.03839, allocations: 0.7315 MB / 378.2 MB, free: 2.246 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.01061/0.049, allocations: 4.615 MB / 382.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.05354, allocations: 1.348 MB / 384.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.05443, allocations: 399.5 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.05453, allocations: 25 kB / 384.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.05457, allocations: 46.39 kB / 384.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/0.05458, allocations: 4 kB / 384.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.009117/0.06369, allocations: 3.211 MB / 387.9 MB, free: 8.426 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.06376, allocations: 68.39 kB / 387.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.06521, allocations: 0.847 MB / 388.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.06532, allocations: 45.7 kB / 388.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.06587, allocations: 0.6127 MB / 389.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006067/0.06647, allocations: 0.4886 MB / 389.9 MB, free: 6.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005876/0.06706, allocations: 313.1 kB / 390.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005386/0.0676, allocations: 0.6914 MB / 390.9 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.06876, allocations: 0.5256 MB / 391.4 MB, free: 4.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.0701, allocations: 0.7553 MB / 392.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.07335, allocations: 1.597 MB / 393.8 MB, free: 2.215 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.07336, allocations: 4 kB / 393.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004352/0.07771, allocations: 1.663 MB / 395.5 MB, free: 488 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.07774, allocations: 11.12 kB / 395.5 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.07775, allocations: 12.03 kB / 395.5 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.08086, allocations: 0.62 MB / 396.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/0.08283, allocations: 403.5 kB / 396.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.158/0.2408, allocations: 27.24 MB / 423.7 MB, free: 48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.2421, allocations: 72.12 kB / 423.8 MB, free: 48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.2422, allocations: 50.72 kB / 423.9 MB, free: 48 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.000607/0.2428, allocations: 300.2 kB / 424.2 MB, free: 47.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.2431, allocations: 128.2 kB / 424.3 MB, free: 47.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.2461, allocations: 1.373 MB / 425.7 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2461, allocations: 9.625 kB / 425.7 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2461, allocations: 4.125 kB / 425.7 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.2461, allocations: 10.8 kB / 425.7 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/0.252, allocations: 2.975 MB / 428.7 MB, free: 46.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.252, allocations: 6.875 kB / 428.7 MB, free: 46.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.254, allocations: 337.8 kB / 429 MB, free: 46.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/0.2563, allocations: 0.549 MB / 429.5 MB, free: 46.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/0.2565, allocations: 62.89 kB / 429.6 MB, free: 46.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.2666, allocations: 26.52 MB / 456.1 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.2666, allocations: 9.328 kB / 456.1 MB, free: 19.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.2712, allocations: 2.08 MB / 458.2 MB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/0.2717, allocations: 102.8 kB / 458.3 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.2719, allocations: 63.73 kB / 458.4 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.2727, allocations: 54.23 kB / 458.4 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.2731, allocations: 103.8 kB / 458.5 MB, free: 18.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/0.2732, allocations: 31.44 kB / 458.6 MB, free: 18.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005772/0.2738, allocations: 0.5251 MB / 459.1 MB, free: 18.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2738, allocations: 0 / 459.1 MB, free: 18.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001484/0.2752, allocations: 453.6 kB / 459.5 MB, free: 18.14 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.0002382/0.2755, allocations: 184.5 kB / 459.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.2786, allocations: 3.654 MB / 463.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2787, allocations: 0 / 463.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.2806, allocations: 3.048 MB / 466.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2818, allocations: 284.8 kB / 466.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006222/0.288, allocations: 4.185 MB / 470.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.2886, allocations: 0.6347 MB / 471.5 MB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008892/0.2895, allocations: 267.6 kB / 471.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.2898, allocations: 80.48 kB / 471.8 MB, free: 7.148 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2898, allocations: 0 / 471.8 MB, free: 7.148 MB / 330.7 MB Notification: Performance of Templates: time 0.04383/0.3336, allocations: 25.1 MB / 496.9 MB, free: 14.43 MB / 362.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: 5.975582042010501]