Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.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.001911/0.001911, allocations: 84.98 kB / 20.23 MB, free: 4.191 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.002067/0.002067, allocations: 165.3 kB / 23.55 MB, free: 0.8711 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.571/1.571, allocations: 177.2 MB / 203.9 MB, free: 5.59 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.1154/0.1154, allocations: 18.14 MB / 278.5 MB, free: 11.33 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.946e-05, allocations: 5.547 kB / 356.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.006592/0.006622, allocations: 4.305 MB / 360.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.009612, allocations: 1.29 MB / 362.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.009976, allocations: 19.81 kB / 362.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.0104, allocations: 178.5 kB / 362.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008788/0.01127, allocations: 461 kB / 362.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.01217, allocations: 323.3 kB / 363.1 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.01501, allocations: 2.215 MB / 365.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.01679, allocations: 1.212 MB / 366.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.01815, allocations: 0.8264 MB / 367.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.02047, allocations: 0.9354 MB / 368.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007246/0.02119, allocations: 236 kB / 368.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.0218, allocations: 236 kB / 368.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00087/0.02267, allocations: 0.7406 MB / 369.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.02383, allocations: 0.6979 MB / 370.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.02725, allocations: 2.72 MB / 372.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.02725, allocations: 3.938 kB / 372.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02725, allocations: 4 kB / 372.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.495e-05/0.0273, allocations: 0 / 372.9 MB, free: 7.742 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.0055/0.0328, allocations: 2.207 MB / 375.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.03285, allocations: 12.92 kB / 375.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.03339, allocations: 248 kB / 375.3 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.03515, allocations: 0.8011 MB / 376.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.03528, allocations: 120.6 kB / 376.3 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.03556, allocations: 132.3 kB / 376.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.03788, allocations: 1.002 MB / 377.4 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.03791, allocations: 192 / 377.4 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.03808, allocations: 52.12 kB / 377.4 MB, free: 3.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.03812, allocations: 35.94 kB / 377.5 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.04009, allocations: 0.7315 MB / 378.2 MB, free: 2.289 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.01154/0.05163, allocations: 4.611 MB / 382.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/0.05648, allocations: 1.344 MB / 384.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009649/0.05745, allocations: 402.5 kB / 384.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.05757, allocations: 21 kB / 384.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/0.05763, allocations: 50.38 kB / 384.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 4.999e-06/0.05764, allocations: 0 / 384.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.009849/0.06749, allocations: 3.227 MB / 387.9 MB, free: 8.461 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.06755, allocations: 64.41 kB / 387.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.06892, allocations: 0.8431 MB / 388.8 MB, free: 7.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.06904, allocations: 45.7 kB / 388.8 MB, free: 7.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.06963, allocations: 0.5971 MB / 389.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007019/0.07033, allocations: 0.5003 MB / 389.9 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006229/0.07095, allocations: 309.2 kB / 390.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005592/0.07151, allocations: 0.6953 MB / 390.9 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.07272, allocations: 0.5256 MB / 391.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.07412, allocations: 0.7592 MB / 392.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/0.07753, allocations: 1.597 MB / 393.8 MB, free: 2.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.07754, allocations: 4 kB / 393.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004397/0.08193, allocations: 1.663 MB / 395.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.08197, allocations: 8 kB / 395.5 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.08199, allocations: 4 kB / 395.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003254/0.08524, allocations: 0.6238 MB / 396.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.08743, allocations: 399.5 kB / 396.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1748/0.2622, allocations: 27.25 MB / 423.7 MB, free: 48.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2635, allocations: 73.5 kB / 423.8 MB, free: 48.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.2637, allocations: 47.77 kB / 423.8 MB, free: 48.74 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 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 (159): * Single equations (assignments): 144 * 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.0006012/0.2643, allocations: 297.5 kB / 424.1 MB, free: 48.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.2645, allocations: 129.8 kB / 424.3 MB, free: 48.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.2676, allocations: 1.366 MB / 425.6 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2677, allocations: 17.75 kB / 425.6 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2677, allocations: 4.094 kB / 425.6 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.2677, allocations: 6.438 kB / 425.7 MB, free: 48.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/0.2738, allocations: 2.978 MB / 428.6 MB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2739, allocations: 3.125 kB / 428.6 MB, free: 47.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.2759, allocations: 338.6 kB / 429 MB, free: 47.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.2784, allocations: 0.5496 MB / 429.5 MB, free: 47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002704/0.2787, allocations: 62.34 kB / 429.6 MB, free: 46.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.2905, allocations: 26.53 MB / 456.1 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.2905, allocations: 2.219 kB / 456.1 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/0.2946, allocations: 2.075 MB / 458.2 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.2949, allocations: 111.2 kB / 458.3 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.2951, allocations: 57.95 kB / 458.3 MB, free: 19.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.2959, allocations: 53.48 kB / 458.4 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/0.2962, allocations: 103.5 kB / 458.5 MB, free: 19.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.2963, allocations: 38.09 kB / 458.5 MB, free: 19.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000579/0.2968, allocations: 0.5273 MB / 459.1 MB, free: 18.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2968, allocations: 0 / 459.1 MB, free: 18.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001496/0.2983, allocations: 449.9 kB / 459.5 MB, free: 18.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 42 (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],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 (92): * Single equations (assignments): 77 * 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.000264/0.2986, allocations: 180.2 kB / 459.7 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.3019, allocations: 3.648 MB / 463.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.302, allocations: 5.203 kB / 463.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.3041, allocations: 3.052 MB / 466.4 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.3055, allocations: 291.8 kB / 466.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.3127, allocations: 4.184 MB / 470.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008179/0.3135, allocations: 0.6358 MB / 471.5 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.3146, allocations: 275.6 kB / 471.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.3151, allocations: 76.5 kB / 471.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of SimCode: time 1.834e-06/0.3151, allocations: 0 / 471.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of Templates: time 0.04719/0.3622, allocations: 25.08 MB / 496.9 MB, free: 15.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.998809853917919]