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.0006645/0.0006645, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008869/0.001551, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006919/0.0006919, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009559/0.001648, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.011/1.011, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08975/1.101, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.08113/0.08113, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01126/0.09239, allocations: 6.793 MB / 269.1 MB, free: 6.23 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.613e-06/1.613e-06, allocations: 0 / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.163e-05, allocations: 2.312 kB / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004573/0.004595, allocations: 3.37 MB / 273.9 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006743, allocations: 0.9855 MB / 274.9 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.006977, allocations: 15.81 kB / 274.9 MB, free: 376 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.007228, allocations: 107.1 kB / 275 MB, free: 268 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.007635, allocations: 266.2 kB / 275.3 MB, free: 0 / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.008386, allocations: 197.9 kB / 275.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.009666, allocations: 1.263 MB / 276.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.01048, allocations: 0.6915 MB / 277.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009605/0.01144, allocations: 0.781 MB / 278.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.01218, allocations: 0.5095 MB / 278.7 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.0124, allocations: 131.2 kB / 278.8 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.0126, allocations: 139.2 kB / 279 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.01288, allocations: 352.1 kB / 279.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.01329, allocations: 328.3 kB / 279.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.0141, allocations: 0.8022 MB / 280.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.01411, allocations: 1.531 kB / 280.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01411, allocations: 0 / 280.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.01414, allocations: 0 / 280.4 MB, free: 1.352 MB / 266.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.001627/0.01577, allocations: 1.287 MB / 281.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.0158, allocations: 10 kB / 281.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.01599, allocations: 120.4 kB / 281.8 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.01642, allocations: 394.1 kB / 282.2 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.01648, allocations: 84.03 kB / 282.3 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.01658, allocations: 81.7 kB / 282.4 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.01722, allocations: 0.4941 MB / 282.9 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01724, allocations: 2.438 kB / 282.9 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.01728, allocations: 32.52 kB / 282.9 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.0173, allocations: 21 kB / 282.9 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.01763, allocations: 202.1 kB / 283.1 MB, free: 172 kB / 266.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.003226/0.02086, allocations: 1.72 MB / 284.8 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.02234, allocations: 0.5123 MB / 285.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.02257, allocations: 104.1 kB / 285.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.02261, allocations: 15.7 kB / 285.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.02265, allocations: 40.08 kB / 285.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/0.02265, allocations: 0 / 285.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=58): time 0.001937/0.02458, allocations: 0.7313 MB / 286.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.02462, allocations: 62.91 kB / 286.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.02492, allocations: 340.2 kB / 286.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.02498, allocations: 38.95 kB / 286.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.02515, allocations: 298.4 kB / 287 MB, free: 14.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.02533, allocations: 240.2 kB / 287.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.02553, allocations: 114.4 kB / 287.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.02565, allocations: 372.5 kB / 287.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.02589, allocations: 117.9 kB / 287.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.02614, allocations: 176.1 kB / 288 MB, free: 14.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.02684, allocations: 423.6 kB / 288.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.02685, allocations: 0 / 288.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001044/0.02789, allocations: 0.5632 MB / 288.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.02791, allocations: 8.375 kB / 289 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.02791, allocations: 3.188 kB / 289 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.02896, allocations: 352.1 kB / 289.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.03011, allocations: 347.1 kB / 289.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00699/0.0371, allocations: 12.2 MB / 301.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.03746, allocations: 47.62 kB / 301.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.03752, allocations: 20 kB / 301.9 MB, free: 1.312 MB / 282.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.0003037/0.03782, allocations: 161.4 kB / 302.1 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.03794, allocations: 47.95 kB / 302.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009734/0.03891, allocations: 0.5347 MB / 302.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.03891, allocations: 4 kB / 302.6 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.03892, allocations: 4 kB / 302.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.03893, allocations: 7.922 kB / 302.7 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.0406, allocations: 0.9746 MB / 303.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.0406, allocations: 4.125 kB / 303.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.04171, allocations: 321.4 kB / 304 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.04179, allocations: 51.55 kB / 304 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009023/0.04269, allocations: 331.6 kB / 304.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/0.04277, allocations: 31.98 kB / 304.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006275/0.04905, allocations: 11.95 MB / 316.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.04905, allocations: 3.938 kB / 316.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.04988, allocations: 0.7609 MB / 317.1 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.04994, allocations: 27.98 kB / 317.1 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.05011, allocations: 12 kB / 317.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.05021, allocations: 52.34 kB / 317.2 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.05023, allocations: 15.98 kB / 317.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.05035, allocations: 142 kB / 317.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05035, allocations: 4 kB / 317.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006754/0.05102, allocations: 299.5 kB / 317.6 MB, free: 0.6484 MB / 298.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.0001593/0.05118, allocations: 120.3 kB / 317.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.05221, allocations: 1.473 MB / 319.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-05/0.05223, allocations: 8 kB / 319.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.05299, allocations: 1.324 MB / 320.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.05372, allocations: 0.9549 MB / 321.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.06378, allocations: 1.658 MB / 323.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.06396, allocations: 207.6 kB / 323.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.06417, allocations: 64.02 kB / 323.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.06449, allocations: 189.2 kB / 323.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.06449, allocations: 0 / 323.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of Templates: time 0.01697/0.08147, allocations: 15.9 MB / 339.5 MB, free: 10.7 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=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.152469056658447]