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.000677/0.000677, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009455/0.001622, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007098/0.0007098, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008804/0.00159, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.971/0.971, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09232/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.06557/0.06557, allocations: 18.12 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01325/0.07883, allocations: 6.785 MB / 268.9 MB, free: 6.355 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.074e-06/2.074e-06, allocations: 0 / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.608e-05, allocations: 2.312 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.005106/0.005132, allocations: 3.362 MB / 273.7 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.007303, allocations: 0.9932 MB / 274.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.007581, allocations: 15.88 kB / 274.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.007831, allocations: 103.2 kB / 274.8 MB, free: 412 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.008359, allocations: 270.1 kB / 275 MB, free: 140 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1354/0.1437, allocations: 190.4 kB / 275.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.145, allocations: 1.265 MB / 276.5 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009415/0.1459, allocations: 0.6939 MB / 277.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1471, allocations: 0.7822 MB / 278 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007903/0.1478, allocations: 0.5139 MB / 278.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.1481, allocations: 131.8 kB / 278.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1483, allocations: 131.8 kB / 278.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.1486, allocations: 353.3 kB / 279.1 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.149, allocations: 327.8 kB / 279.4 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009291/0.15, allocations: 0.8003 MB / 280.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-05/0.15, allocations: 2.203 kB / 280.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.15, allocations: 3.844 kB / 280.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.15, allocations: 0 / 280.2 MB, free: 1.453 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.001956/0.152, allocations: 1.285 MB / 281.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.152, allocations: 11.23 kB / 281.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.1522, allocations: 121.8 kB / 281.6 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.1527, allocations: 393.3 kB / 282 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.1528, allocations: 82.78 kB / 282.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.1529, allocations: 83.08 kB / 282.2 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.1536, allocations: 0.4919 MB / 282.7 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1536, allocations: 192 / 282.7 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.1537, allocations: 33.5 kB / 282.7 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1537, allocations: 21.72 kB / 282.7 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.154, allocations: 201.9 kB / 282.9 MB, free: 276 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.00287/0.1569, allocations: 1.712 MB / 284.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.158, allocations: 0.5047 MB / 285.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1582, allocations: 107.2 kB / 285.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.1582, allocations: 10.22 kB / 285.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1582, allocations: 42.67 kB / 285.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.773e-06/0.1582, allocations: 0.5938 kB / 285.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=58): time 0.001457/0.1597, allocations: 0.7293 MB / 286 MB, free: 15.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1597, allocations: 59.12 kB / 286.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.16, allocations: 347 kB / 286.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.16, allocations: 36.61 kB / 286.4 MB, free: 14.99 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1601, allocations: 296.5 kB / 286.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.1603, allocations: 245.8 kB / 287 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.1604, allocations: 117.6 kB / 287.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1605, allocations: 367.6 kB / 287.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1607, allocations: 117.5 kB / 287.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1609, allocations: 176 kB / 287.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.1614, allocations: 423.4 kB / 288.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1614, allocations: 0 / 288.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007216/0.1621, allocations: 0.555 MB / 288.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1621, allocations: 8.625 kB / 288.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1621, allocations: 1.219 kB / 288.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.1629, allocations: 355.9 kB / 289.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.1637, allocations: 340.4 kB / 289.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.1694, allocations: 12.21 MB / 301.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.1699, allocations: 51.56 kB / 301.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.17, allocations: 19.98 kB / 301.7 MB, free: 1.473 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.0003688/0.1703, allocations: 152.9 kB / 301.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.1704, allocations: 47.95 kB / 301.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.1711, allocations: 0.5379 MB / 302.4 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1711, allocations: 4 kB / 302.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1711, allocations: 7.938 kB / 302.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1711, allocations: 3.984 kB / 302.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.1723, allocations: 0.9695 MB / 303.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1723, allocations: 0 / 303.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.1731, allocations: 329.2 kB / 303.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.1735, allocations: 51.55 kB / 303.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/0.174, allocations: 327.8 kB / 304.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.1741, allocations: 34.3 kB / 304.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/0.1789, allocations: 11.95 MB / 316.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.1789, allocations: 7.984 kB / 316.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.1798, allocations: 0.743 MB / 316.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.1799, allocations: 31.98 kB / 316.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.1802, allocations: 15.94 kB / 316.9 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.1803, allocations: 60.33 kB / 316.9 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.1803, allocations: 12 kB / 316.9 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1804, allocations: 137.2 kB / 317.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1804, allocations: 4 kB / 317.1 MB, free: 1.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008371/0.1813, allocations: 303.5 kB / 317.4 MB, free: 0.8281 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.0001641/0.1814, allocations: 130.9 kB / 317.5 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.183, allocations: 1.475 MB / 319 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/0.183, allocations: 8 kB / 319 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.1837, allocations: 1.3 MB / 320.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.1843, allocations: 223.3 kB / 320.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.1948, allocations: 1.649 MB / 322.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.195, allocations: 211.5 kB / 322.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.1953, allocations: 63.34 kB / 322.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.1956, allocations: 185.3 kB / 322.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1956, allocations: 0 / 322.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Templates: time 0.01876/0.2144, allocations: 15.74 MB / 338.3 MB, free: 11.94 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.0360202295705676]