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.001389/0.001389, allocations: 75.56 kB / 19.96 MB, free: 1.746 MB / 14.72 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.001542/0.001542, allocations: 167.5 kB / 23.24 MB, free: 4.859 MB / 14.72 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.459/1.459, allocations: 177.1 MB / 203.5 MB, free: 9.145 MB / 190.1 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.1064/0.1064, allocations: 18.14 MB / 278.1 MB, free: 15.03 MB / 270.1 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.583e-06/1.583e-06, allocations: 0 / 415.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.119e-05, allocations: 6.219 kB / 415.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.00481/0.004841, allocations: 3.062 MB / 418.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.006774, allocations: 0.9506 MB / 419.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.006949, allocations: 7.938 kB / 419.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.007233, allocations: 111.1 kB / 419.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.007716, allocations: 270.2 kB / 420 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.008307, allocations: 199.5 kB / 420.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.009717, allocations: 1.259 MB / 421.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/0.01059, allocations: 0.6525 MB / 422.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006593/0.01125, allocations: 487 kB / 422.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/0.01208, allocations: 0.491 MB / 423 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.01229, allocations: 136 kB / 423.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.01252, allocations: 132 kB / 423.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.01295, allocations: 427 kB / 423.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005277/0.01348, allocations: 407.2 kB / 424.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.01505, allocations: 1.516 MB / 425.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.01506, allocations: 7.984 kB / 425.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01506, allocations: 0 / 425.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.01508, allocations: 0 / 425.6 MB, free: 8.41 MB / 350.1 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.002735/0.01781, allocations: 1.218 MB / 426.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.01785, allocations: 8.922 kB / 426.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.01806, allocations: 96.36 kB / 427 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009209/0.01898, allocations: 0.5051 MB / 427.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.574e-05/0.01908, allocations: 80.27 kB / 427.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.01924, allocations: 84.33 kB / 427.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.02095, allocations: 0.9505 MB / 428.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.02097, allocations: 4.188 kB / 428.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.02106, allocations: 32.12 kB / 428.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.02109, allocations: 20 kB / 428.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.02266, allocations: 0.8082 MB / 429.4 MB, free: 4.535 MB / 350.1 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.006228/0.02889, allocations: 2.68 MB / 432.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.03196, allocations: 1.017 MB / 433.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.03269, allocations: 402.2 kB / 433.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.03274, allocations: 4.5 kB / 433.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.03278, allocations: 39.06 kB / 433.6 MB, free: 344 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.996e-06/0.03279, allocations: 4 kB / 433.6 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.004339/0.03713, allocations: 1.607 MB / 435.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.03719, allocations: 63.91 kB / 435.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.03777, allocations: 393.7 kB / 435.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.0379, allocations: 33.7 kB / 435.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.03817, allocations: 336.6 kB / 436 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.03843, allocations: 241.9 kB / 436.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.03869, allocations: 122.7 kB / 436.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.0389, allocations: 374.8 kB / 436.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.03971, allocations: 448.7 kB / 437.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.04055, allocations: 0.4965 MB / 437.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007918/0.04847, allocations: 2.367 MB / 440 MB, free: 9.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.04848, allocations: 0 / 440 MB, free: 9.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002734/0.05121, allocations: 1.337 MB / 441.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.05123, allocations: 4 kB / 441.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.05124, allocations: 4 kB / 441.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.05246, allocations: 340.3 kB / 441.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009343/0.0534, allocations: 187.8 kB / 441.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2264/0.2798, allocations: 13.85 MB / 455.7 MB, free: 39.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.2806, allocations: 73.94 kB / 455.8 MB, free: 39.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.2806, allocations: 22.08 kB / 455.8 MB, free: 39.61 MB / 366.1 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.0005129/0.2811, allocations: 274.2 kB / 456.1 MB, free: 39.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2813, allocations: 59.52 kB / 456.2 MB, free: 39.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.2834, allocations: 1.129 MB / 457.3 MB, free: 39.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2834, allocations: 5.312 kB / 457.3 MB, free: 39.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.2835, allocations: 4.375 kB / 457.3 MB, free: 39.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.2835, allocations: 3.234 kB / 457.3 MB, free: 39.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.2867, allocations: 1.857 MB / 459.2 MB, free: 38.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.2867, allocations: 1.469 kB / 459.2 MB, free: 38.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.2878, allocations: 171.2 kB / 459.3 MB, free: 38.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009045/0.2887, allocations: 306.9 kB / 459.6 MB, free: 37.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.122e-05/0.2888, allocations: 36.84 kB / 459.7 MB, free: 37.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007598/0.2964, allocations: 13.41 MB / 473.1 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2964, allocations: 1.312 kB / 473.1 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.3003, allocations: 1.599 MB / 474.7 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.3005, allocations: 71.23 kB / 474.7 MB, free: 24.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.3007, allocations: 41.78 kB / 474.8 MB, free: 24.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.3012, allocations: 27.86 kB / 474.8 MB, free: 24.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.3014, allocations: 61.75 kB / 474.9 MB, free: 24.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.3015, allocations: 17.72 kB / 474.9 MB, free: 24.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005642/0.3021, allocations: 277.1 kB / 475.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3021, allocations: 0.5938 kB / 475.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001756/0.3038, allocations: 303.1 kB / 475.5 MB, free: 24.14 MB / 366.1 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.0002514/0.3041, allocations: 148.4 kB / 475.6 MB, free: 24.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.307, allocations: 2.008 MB / 477.6 MB, free: 22.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.307, allocations: 1.25 kB / 477.6 MB, free: 22.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.3087, allocations: 1.538 MB / 479.1 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.3095, allocations: 172.2 kB / 479.3 MB, free: 21.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.3144, allocations: 2.623 MB / 481.9 MB, free: 19.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.3149, allocations: 419.1 kB / 482.3 MB, free: 19.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005099/0.3154, allocations: 165.7 kB / 482.5 MB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.3157, allocations: 43.53 kB / 482.6 MB, free: 19.66 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3157, allocations: 1.031 kB / 482.6 MB, free: 19.66 MB / 366.1 MB Notification: Performance of Templates: time 0.02051/0.3362, allocations: 13.58 MB / 496.1 MB, free: 10.06 MB / 366.1 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.43323864415288] Failed to read output from testmodel.py, exit status != 0: 0.3459000140428543 0.35677932100000004 0.33857728000000004 Calling exit ...