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.001136/0.001136, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001153/0.001153, allocations: 169 kB / 23.82 MB, free: 0.7461 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/1, allocations: 177.1 MB / 204.2 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.0744/0.0744, allocations: 18.14 MB / 278.9 MB, free: 11.33 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.324e-06/2.324e-06, allocations: 0 / 357.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.448e-05, allocations: 5.406 kB / 357.3 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.004502/0.004537, allocations: 4.363 MB / 361.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.007126, allocations: 1.282 MB / 363 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.007504, allocations: 23.75 kB / 363 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.007802, allocations: 170.6 kB / 363.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.008713, allocations: 472.8 kB / 363.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.00966, allocations: 319.4 kB / 363.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002598/0.01226, allocations: 2.215 MB / 366.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.01386, allocations: 1.216 MB / 367.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.015, allocations: 0.8303 MB / 368.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.0164, allocations: 0.9315 MB / 369.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.01674, allocations: 240 kB / 369.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.01702, allocations: 236 kB / 369.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.01763, allocations: 0.7289 MB / 370.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007851/0.01842, allocations: 0.6979 MB / 371 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.01999, allocations: 1.527 MB / 372.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01999, allocations: 0 / 372.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.02, allocations: 4 kB / 372.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.02001, allocations: 0 / 372.5 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.003602/0.02362, allocations: 2.082 MB / 374.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.02367, allocations: 12.92 kB / 374.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.02408, allocations: 248 kB / 374.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.02522, allocations: 0.7597 MB / 375.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.02533, allocations: 116.6 kB / 375.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.02556, allocations: 132.3 kB / 375.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.02715, allocations: 0.854 MB / 376.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.02719, allocations: 4.141 kB / 376.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.02732, allocations: 48.12 kB / 376.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.02735, allocations: 28 kB / 376.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.02871, allocations: 0.4978 MB / 377.3 MB, free: 3.578 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.004572/0.03328, allocations: 3.732 MB / 381 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.03575, allocations: 1.137 MB / 382.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.03617, allocations: 261.2 kB / 382.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.418e-05/0.03622, allocations: 24.94 kB / 382.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.03625, allocations: 50.39 kB / 382.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.475e-06/0.03626, allocations: 0 / 382.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.004699/0.04095, allocations: 2.57 MB / 385.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.041, allocations: 68.34 kB / 385.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.04176, allocations: 0.6283 MB / 385.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.04185, allocations: 45.7 kB / 385.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.04217, allocations: 0.5618 MB / 386.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.04245, allocations: 452.3 kB / 386.8 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.04292, allocations: 249.2 kB / 387.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003104/0.04323, allocations: 0.6015 MB / 387.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/0.04399, allocations: 326.2 kB / 388 MB, free: 8.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.04493, allocations: 0.5484 MB / 388.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.04723, allocations: 1.105 MB / 389.6 MB, free: 6.797 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.04724, allocations: 4 kB / 389.6 MB, free: 6.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002979/0.05022, allocations: 1.331 MB / 391 MB, free: 5.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.05024, allocations: 8 kB / 391 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.05025, allocations: 4 kB / 391 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.05224, allocations: 0.5535 MB / 391.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.0537, allocations: 399.5 kB / 391.9 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1403/0.194, allocations: 26.67 MB / 418.6 MB, free: 51.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.1948, allocations: 72.81 kB / 418.7 MB, free: 51.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.1949, allocations: 49.58 kB / 418.7 MB, free: 51.24 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.0004204/0.1953, allocations: 242.7 kB / 419 MB, free: 51.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.1955, allocations: 129.1 kB / 419.1 MB, free: 51.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.1971, allocations: 1.12 MB / 420.2 MB, free: 50.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1971, allocations: 9.938 kB / 420.2 MB, free: 50.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.1971, allocations: 4.781 kB / 420.2 MB, free: 50.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1971, allocations: 8.438 kB / 420.2 MB, free: 50.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.2002, allocations: 2.38 MB / 422.6 MB, free: 50.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2002, allocations: 4.906 kB / 422.6 MB, free: 50.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.2013, allocations: 341.4 kB / 422.9 MB, free: 50.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.2024, allocations: 0.5038 MB / 423.4 MB, free: 50.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.2025, allocations: 65.45 kB / 423.5 MB, free: 50.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005478/0.208, allocations: 26.12 MB / 449.6 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.208, allocations: 6.781 kB / 449.6 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.2099, allocations: 1.573 MB / 451.2 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.21, allocations: 104.5 kB / 451.3 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.2101, allocations: 64.02 kB / 451.4 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.2105, allocations: 52.05 kB / 451.4 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.2107, allocations: 103.1 kB / 451.5 MB, free: 23.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.2107, allocations: 33.38 kB / 451.6 MB, free: 23.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.2111, allocations: 418.8 kB / 452 MB, free: 23.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2111, allocations: 0.5 kB / 452 MB, free: 23.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009545/0.212, allocations: 449.7 kB / 452.4 MB, free: 22.99 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.0001744/0.2122, allocations: 189 kB / 452.6 MB, free: 22.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2139, allocations: 3.32 MB / 455.9 MB, free: 20.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2139, allocations: 0 / 455.9 MB, free: 20.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.2149, allocations: 2.889 MB / 458.8 MB, free: 17.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.2156, allocations: 290.7 kB / 459.1 MB, free: 17.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.2199, allocations: 4.125 MB / 463.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2201, allocations: 328.3 kB / 463.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.2206, allocations: 275.5 kB / 463.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.2208, allocations: 80.91 kB / 463.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2208, allocations: 0 / 463.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Templates: time 0.02436/0.2452, allocations: 25.9 MB / 489.8 MB, free: 5.242 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.8129977071657777]