Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.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.001436/0.001436, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001913/0.001913, allocations: 173 kB / 24.17 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 0.9771/0.9771, allocations: 177.1 MB / 204.6 MB, free: 5.453 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.06471/0.06471, allocations: 18.13 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_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 305.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.31e-05, allocations: 3.438 kB / 305.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.004206/0.004229, allocations: 4.319 MB / 309.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.006409, allocations: 1.325 MB / 311 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.006632, allocations: 23.75 kB / 311 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.006913, allocations: 177.1 kB / 311.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.007422, allocations: 472.8 kB / 311.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.007974, allocations: 327.4 kB / 312 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.009471, allocations: 2.238 MB / 314.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009141/0.01039, allocations: 1.24 MB / 315.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.01116, allocations: 0.8459 MB / 316.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.01203, allocations: 0.9043 MB / 317.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.01223, allocations: 228 kB / 317.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.01245, allocations: 235.9 kB / 317.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.01291, allocations: 0.725 MB / 318.4 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005663/0.01348, allocations: 0.694 MB / 319.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.01473, allocations: 1.531 MB / 320.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01473, allocations: 0 / 320.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01473, allocations: 0 / 320.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.01475, allocations: 0 / 320.6 MB, free: 1.641 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002138/0.01689, allocations: 1.75 MB / 322.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.01692, allocations: 8.922 kB / 322.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.01718, allocations: 200.8 kB / 322.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.01787, allocations: 0.6099 MB / 323.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.01798, allocations: 116.6 kB / 323.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.01816, allocations: 136.3 kB / 323.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00096/0.01912, allocations: 0.7798 MB / 324.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.01914, allocations: 8.125 kB / 324.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.01923, allocations: 48.12 kB / 324.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.01925, allocations: 32 kB / 324.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.01979, allocations: 341.9 kB / 324.6 MB, free: 13.51 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.004397/0.02419, allocations: 3.037 MB / 327.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.02591, allocations: 0.9117 MB / 328.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.02618, allocations: 203.8 kB / 328.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.484e-05/0.02624, allocations: 21 kB / 328.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.02626, allocations: 43.56 kB / 328.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=105): time 2.394e-06/0.02627, allocations: 0 / 328.8 MB, free: 9.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.003218/0.02948, allocations: 2.011 MB / 330.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.02951, allocations: 64.34 kB / 330.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.02986, allocations: 0.5428 MB / 331.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.02992, allocations: 45.7 kB / 331.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.0301, allocations: 461.8 kB / 331.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.03033, allocations: 444.2 kB / 332.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.03058, allocations: 223.5 kB / 332.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.03071, allocations: 414.5 kB / 333 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.03099, allocations: 223.4 kB / 333.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.03135, allocations: 397.7 kB / 333.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009469/0.0323, allocations: 0.8532 MB / 334.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.0323, allocations: 7.875 kB / 334.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001266/0.03357, allocations: 0.9997 MB / 335.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.03358, allocations: 8 kB / 335.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.03359, allocations: 8 kB / 335.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.03469, allocations: 0.5457 MB / 336 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.0355, allocations: 367.6 kB / 336.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007802/0.0433, allocations: 18.42 MB / 354.8 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.0437, allocations: 39.94 kB / 354.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.04376, allocations: 36 kB / 354.9 MB, free: 13.2 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 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 CH.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) 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 (162): * Single equations (assignments): 147 * 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.0003497/0.04411, allocations: 208 kB / 355.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.04425, allocations: 91.91 kB / 355.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.04532, allocations: 0.9092 MB / 356.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.04533, allocations: 15.98 kB / 356.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.04533, allocations: 4 kB / 356.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.04534, allocations: 8.016 kB / 356.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.04752, allocations: 1.772 MB / 357.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.04753, allocations: 4 kB / 357.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.04843, allocations: 308 kB / 358.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/0.04932, allocations: 0.5066 MB / 358.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/0.0494, allocations: 59.97 kB / 358.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006836/0.05624, allocations: 17.93 MB / 376.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.05624, allocations: 4 kB / 376.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.05784, allocations: 1.253 MB / 377.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.05794, allocations: 87.38 kB / 378 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.05806, allocations: 51.98 kB / 378.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.05835, allocations: 31.92 kB / 378.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.05851, allocations: 104.6 kB / 378.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.05856, allocations: 23.98 kB / 378.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.05874, allocations: 252.6 kB / 378.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05874, allocations: 0 / 378.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008553/0.0596, allocations: 452 kB / 378.9 MB, free: 3.301 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 43 (CH.Tfo,CH.Ec,CH.xpi,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 (95): * Single equations (assignments): 80 * 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.0001987/0.0598, allocations: 161.4 kB / 379.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.06142, allocations: 2.37 MB / 381.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.06143, allocations: 12.12 kB / 381.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.06266, allocations: 2.012 MB / 383.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.06339, allocations: 304.2 kB / 383.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.06724, allocations: 3.157 MB / 386.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.06752, allocations: 333.3 kB / 387.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003632/0.06788, allocations: 128.2 kB / 387.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.06844, allocations: 301.1 kB / 387.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.06844, allocations: 0 / 387.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.02652/0.09496, allocations: 26.82 MB / 414.5 MB, free: 15.68 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7021407303400338]