Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.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.0009001/0.0009001, allocations: 72.83 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.0008995/0.0008995, 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 1.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.0729/0.0729, allocations: 18.13 MB / 279.2 MB, free: 11.2 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_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 304.5 MB, free: 392 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.803e-05/4.084e-05, allocations: 3.344 kB / 304.5 MB, free: 388 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.006269/0.00631, allocations: 4.331 MB / 308.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.0105, allocations: 1.32 MB / 310.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.01147, allocations: 27.75 kB / 310.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.01202, allocations: 176.6 kB / 310.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.01329, allocations: 474.6 kB / 310.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01445, allocations: 331.4 kB / 311.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.0174, allocations: 2.238 MB / 313.4 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.01931, allocations: 1.236 MB / 314.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.02205, allocations: 0.8459 MB / 315.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.02432, allocations: 0.9121 MB / 316.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007678/0.02508, allocations: 228 kB / 316.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.0256, allocations: 228 kB / 316.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006354/0.02624, allocations: 0.7366 MB / 317.6 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.02795, allocations: 0.6862 MB / 318.3 MB, free: 4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.03036, allocations: 1.515 MB / 319.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.03036, allocations: 0 / 319.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03037, allocations: 0 / 319.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.699e-05/0.03044, allocations: 3.938 kB / 319.8 MB, free: 2.477 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.003929/0.03437, allocations: 1.742 MB / 321.5 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.03443, allocations: 16.92 kB / 321.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.03485, allocations: 196.8 kB / 321.7 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.03601, allocations: 0.6216 MB / 322.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.03614, allocations: 116.6 kB / 322.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.03636, allocations: 136.2 kB / 322.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.03769, allocations: 0.7759 MB / 323.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.03773, allocations: 4.141 kB / 323.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.942e-05/0.03783, allocations: 56.12 kB / 323.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.03785, allocations: 32 kB / 323.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.03855, allocations: 337.9 kB / 323.8 MB, free: 14.34 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.007015/0.04556, allocations: 3.041 MB / 326.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.04756, allocations: 0.9079 MB / 327.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.04792, allocations: 199.8 kB / 327.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-05/0.04799, allocations: 17 kB / 328 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.04804, allocations: 47.55 kB / 328 MB, free: 10.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=105): time 4.909e-06/0.04804, allocations: 0 / 328 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.004518/0.05256, allocations: 2.019 MB / 330 MB, free: 7.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.05261, allocations: 64.41 kB / 330.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.05317, allocations: 0.5389 MB / 330.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.05331, allocations: 45.7 kB / 330.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.05355, allocations: 457.8 kB / 331.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008354/0.05439, allocations: 444.1 kB / 331.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.05469, allocations: 231.4 kB / 331.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.05488, allocations: 414.5 kB / 332.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.05528, allocations: 227.4 kB / 332.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.05569, allocations: 389.7 kB / 332.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.05687, allocations: 0.8532 MB / 333.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/0.05689, allocations: 7.938 kB / 333.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.001797/0.05869, allocations: 1.011 MB / 334.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.05873, allocations: 8 kB / 334.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.05874, allocations: 4 kB / 334.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.06011, allocations: 0.5379 MB / 335.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.06129, allocations: 379.5 kB / 335.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.07364, allocations: 18.41 MB / 354 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.07485, allocations: 48.23 kB / 354 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.07496, allocations: 39.98 kB / 354.1 MB, free: 14.02 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.0006682/0.07563, allocations: 196.3 kB / 354.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.07584, allocations: 87.92 kB / 354.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.07724, allocations: 0.9131 MB / 355.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.07725, allocations: 12 kB / 355.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.07726, allocations: 4 kB / 355.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.07727, allocations: 7.969 kB / 355.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.08059, allocations: 1.768 MB / 357.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.08059, allocations: 7.938 kB / 357.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.08163, allocations: 311.7 kB / 357.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.08274, allocations: 0.5028 MB / 357.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/0.08295, allocations: 59.97 kB / 357.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.09389, allocations: 17.93 MB / 375.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.09389, allocations: 4 kB / 375.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.09607, allocations: 1.257 MB / 377.1 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.09634, allocations: 79.38 kB / 377.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.09651, allocations: 59.97 kB / 377.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.09689, allocations: 23.94 kB / 377.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.09718, allocations: 100.8 kB / 377.4 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.09723, allocations: 31.98 kB / 377.4 MB, free: 4.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002769/0.09751, allocations: 256.5 kB / 377.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.09751, allocations: 0 / 377.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001414/0.09892, allocations: 448 kB / 378.1 MB, free: 4.129 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.0003329/0.09926, allocations: 165.4 kB / 378.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.1021, allocations: 2.368 MB / 380.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.723e-05/0.1021, allocations: 8 kB / 380.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.1038, allocations: 2.013 MB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.1051, allocations: 308.5 kB / 383 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.1106, allocations: 3.144 MB / 386.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.111, allocations: 333.3 kB / 386.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000746/0.1117, allocations: 136.1 kB / 386.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.1123, allocations: 305.1 kB / 386.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 2.484e-06/0.1123, allocations: 3.938 kB / 386.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.04141/0.1537, allocations: 26.82 MB / 413.7 MB, free: 0.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.927854911889881]