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.001449/0.001449, allocations: 84.23 kB / 20.23 MB, free: 4.211 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.001548/0.001548, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.1084/0.1084, allocations: 18.15 MB / 278.5 MB, free: 11.3 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 2.084e-06/2.084e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.046e-05, allocations: 2.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.007213/0.007243, allocations: 3.067 MB / 359.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.0105, allocations: 0.9545 MB / 360.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00035/0.01085, allocations: 7.938 kB / 360.6 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.01128, allocations: 107.1 kB / 360.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.01214, allocations: 266.2 kB / 360.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009912/0.01313, allocations: 203.4 kB / 361.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.0156, allocations: 1.263 MB / 362.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.01716, allocations: 0.6801 MB / 363.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.01827, allocations: 483 kB / 363.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.01958, allocations: 0.4911 MB / 364 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.01989, allocations: 132 kB / 364.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.02023, allocations: 135.9 kB / 364.3 MB, free: 380 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006917/0.02092, allocations: 423 kB / 364.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008897/0.02181, allocations: 407.2 kB / 365.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.02458, allocations: 1.519 MB / 366.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.02458, allocations: 4 kB / 366.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02459, allocations: 0 / 366.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.296e-05/0.02463, allocations: 0 / 366.6 MB, free: 14.03 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.005581/0.03021, allocations: 1.222 MB / 367.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.03027, allocations: 12.91 kB / 367.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.0309, allocations: 148.4 kB / 368 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.03253, allocations: 0.513 MB / 368.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.0327, allocations: 84.27 kB / 368.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.03303, allocations: 84.27 kB / 368.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.03669, allocations: 0.9544 MB / 369.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.03673, allocations: 192 / 369.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.0369, allocations: 32.12 kB / 369.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.03694, allocations: 16 kB / 369.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.03972, allocations: 0.8082 MB / 370.5 MB, free: 10.09 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(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.05043, allocations: 2.688 MB / 373.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.05435, allocations: 1.021 MB / 374.2 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.0551, allocations: 402.2 kB / 374.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-05/0.05517, allocations: 12.5 kB / 374.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.05521, allocations: 39 kB / 374.6 MB, free: 5.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 3.256e-06/0.05522, allocations: 0 / 374.6 MB, free: 5.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.004483/0.0597, allocations: 1.627 MB / 376.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.05976, allocations: 59.91 kB / 376.3 MB, free: 4.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.06045, allocations: 401.6 kB / 376.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.06052, allocations: 33.7 kB / 376.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.06082, allocations: 340.6 kB / 377.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.06114, allocations: 245.9 kB / 377.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.06142, allocations: 122.7 kB / 377.4 MB, free: 3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.06164, allocations: 366.8 kB / 377.8 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008056/0.06245, allocations: 456.6 kB / 378.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.06328, allocations: 0.4965 MB / 378.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009157/0.07244, allocations: 2.367 MB / 381.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.07245, allocations: 3.938 kB / 381.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003205/0.07565, allocations: 1.357 MB / 382.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.07568, allocations: 11.12 kB / 382.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.07569, allocations: 3.984 kB / 382.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/0.0778, allocations: 452.2 kB / 382.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.07884, allocations: 187.8 kB / 383.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.09493, allocations: 13.88 MB / 397 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.09568, allocations: 71.56 kB / 397.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.09584, allocations: 24 kB / 397.1 MB, free: 14.18 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 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.000658/0.0965, allocations: 281.7 kB / 397.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.09673, allocations: 75.61 kB / 397.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.09921, allocations: 1.129 MB / 398.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.09922, allocations: 8 kB / 398.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.09923, allocations: 0 / 398.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.09924, allocations: 7.984 kB / 398.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.103, allocations: 1.851 MB / 400.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.103, allocations: 7.938 kB / 400.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.1041, allocations: 167.9 kB / 400.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.1058, allocations: 412.3 kB / 401 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.106, allocations: 35.97 kB / 401 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1435/0.2495, allocations: 13.42 MB / 414.5 MB, free: 59.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2495, allocations: 8.656 kB / 414.5 MB, free: 59.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/0.2526, allocations: 1.612 MB / 416.1 MB, free: 59.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2529, allocations: 69.52 kB / 416.2 MB, free: 59.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.253, allocations: 36.5 kB / 416.2 MB, free: 59.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.2535, allocations: 31.06 kB / 416.2 MB, free: 59.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.2537, allocations: 52.97 kB / 416.3 MB, free: 59.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.2538, allocations: 17.89 kB / 416.3 MB, free: 59.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003488/0.2541, allocations: 281.2 kB / 416.6 MB, free: 59.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2541, allocations: 0 / 416.6 MB, free: 59.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001096/0.2552, allocations: 303.1 kB / 416.9 MB, free: 59.17 MB / 330.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.0002207/0.2554, allocations: 145.7 kB / 417 MB, free: 59.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.2579, allocations: 2.006 MB / 419 MB, free: 57.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2579, allocations: 0.5 kB / 419 MB, free: 57.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.2594, allocations: 1.543 MB / 420.5 MB, free: 56.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.2602, allocations: 181.1 kB / 420.7 MB, free: 56.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.265, allocations: 2.646 MB / 423.4 MB, free: 55.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.2656, allocations: 420.7 kB / 423.8 MB, free: 55.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005602/0.2661, allocations: 156.9 kB / 423.9 MB, free: 55.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.2663, allocations: 48.11 kB / 424 MB, free: 55.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2663, allocations: 0 / 424 MB, free: 55.04 MB / 330.7 MB Notification: Performance of Templates: time 0.02032/0.2867, allocations: 13.69 MB / 437.7 MB, free: 46.02 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.307241557049565]