Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.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.00144/0.00144, allocations: 73.89 kB / 20.67 MB, free: 3.828 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.0011/0.0011, allocations: 177 kB / 24.08 MB, free: 432 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.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.1111/0.1111, allocations: 18.14 MB / 279.2 MB, free: 11.17 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 357.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.022e-05, allocations: 2.312 kB / 357.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.005034/0.005064, allocations: 3.308 MB / 361.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.007249, allocations: 0.9506 MB / 362 MB, free: 4.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.007547, allocations: 11.88 kB / 362.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.007829, allocations: 103.1 kB / 362.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.008368, allocations: 278.1 kB / 362.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.009016, allocations: 199.5 kB / 362.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.01047, allocations: 1.267 MB / 363.9 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.01152, allocations: 0.6801 MB / 364.6 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006747/0.0122, allocations: 487 kB / 365 MB, free: 1.246 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006412/0.01284, allocations: 0.5222 MB / 365.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.013, allocations: 132 kB / 365.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.01315, allocations: 136 kB / 365.8 MB, free: 472 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.01344, allocations: 419.1 kB / 366.2 MB, free: 52 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.01388, allocations: 415.3 kB / 366.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.01472, allocations: 0.8648 MB / 367.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01472, allocations: 0 / 367.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01472, allocations: 3.938 kB / 367.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.01474, allocations: 0 / 367.5 MB, free: 14.77 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.001599/0.01634, allocations: 1.252 MB / 368.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.01638, allocations: 8.922 kB / 368.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.0166, allocations: 156.3 kB / 368.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.01718, allocations: 458.1 kB / 369.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.01726, allocations: 84.27 kB / 369.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.01755, allocations: 80.31 kB / 369.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.01813, allocations: 490.2 kB / 370 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.01815, allocations: 192 / 370 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.01819, allocations: 36.12 kB / 370 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.01821, allocations: 16 kB / 370.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.01856, allocations: 249.7 kB / 370.3 MB, free: 11.89 MB / 346.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.02118, allocations: 2.008 MB / 372.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.02224, allocations: 0.5529 MB / 372.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.02242, allocations: 129.1 kB / 373 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.02245, allocations: 12.5 kB / 373 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.02248, allocations: 41.89 kB / 373 MB, free: 9.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 1.744e-06/0.02248, allocations: 0 / 373 MB, free: 9.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.001789/0.02427, allocations: 0.85 MB / 373.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.0243, allocations: 59.84 kB / 374 MB, free: 8.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.02456, allocations: 394.4 kB / 374.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.0246, allocations: 37.7 kB / 374.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.02477, allocations: 383.2 kB / 374.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.02492, allocations: 254 kB / 375 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.02507, allocations: 132.2 kB / 375.1 MB, free: 6.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.02525, allocations: 0.5468 MB / 375.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.02546, allocations: 151.5 kB / 375.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.02568, allocations: 224.3 kB / 376 MB, free: 5.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.0262, allocations: 465.4 kB / 376.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02621, allocations: 4 kB / 376.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008609/0.02707, allocations: 0.6733 MB / 377.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.02708, allocations: 4 kB / 377.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.02709, allocations: 0 / 377.2 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/0.02789, allocations: 360.7 kB / 377.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.02831, allocations: 167.8 kB / 377.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007389/0.0357, allocations: 17.47 MB / 395.2 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.03593, allocations: 55.56 kB / 395.2 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.03595, allocations: 16 kB / 395.2 MB, free: 1.461 MB / 362.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (79): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.03618, allocations: 204.4 kB / 395.4 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.03627, allocations: 67.67 kB / 395.5 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.03698, allocations: 0.6063 MB / 396.1 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.03699, allocations: 11.94 kB / 396.1 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.03699, allocations: 0 / 396.1 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.037, allocations: 3.984 kB / 396.1 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.03832, allocations: 1.159 MB / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.03832, allocations: 0 / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.03878, allocations: 156 kB / 397.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000665/0.03945, allocations: 336.5 kB / 397.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.03951, allocations: 31.98 kB / 397.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007541/0.04705, allocations: 17.22 MB / 415 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.04706, allocations: 0 / 415 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.04811, allocations: 0.8909 MB / 415.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/0.04854, allocations: 63.53 kB / 416 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.04861, allocations: 35.98 kB / 416 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.04877, allocations: 12 kB / 416 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.04891, allocations: 60.28 kB / 416.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.04894, allocations: 15.98 kB / 416.1 MB, free: 11.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.0491, allocations: 263 kB / 416.3 MB, free: 10.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0491, allocations: 0 / 416.3 MB, free: 10.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007921/0.04989, allocations: 299.5 kB / 416.6 MB, free: 10.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 22 (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]) * 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 (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.0501, allocations: 133.8 kB / 416.8 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.05152, allocations: 2.062 MB / 418.8 MB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.05152, allocations: 0 / 418.8 MB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.05253, allocations: 1.862 MB / 420.7 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.05303, allocations: 153.2 kB / 420.8 MB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.05613, allocations: 2.249 MB / 423.1 MB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.05632, allocations: 207.5 kB / 423.3 MB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.05653, allocations: 60.61 kB / 423.3 MB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.05684, allocations: 222.1 kB / 423.6 MB, free: 3.27 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.05684, allocations: 0 / 423.6 MB, free: 3.27 MB / 394.7 MB Notification: Performance of Templates: time 0.01706/0.0739, allocations: 14.77 MB / 438.3 MB, free: 4.715 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.598160549066961]