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.0009874/0.0009874, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.0009592/0.0009592, allocations: 165 kB / 23.82 MB, free: 0.7539 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.035/1.035, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.06925/0.06925, allocations: 18.13 MB / 278.9 MB, free: 11.15 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 2.485e-06/2.485e-06, allocations: 0 / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.185e-05, allocations: 2.312 kB / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_003): time 0.004597/0.004629, allocations: 4.362 MB / 361.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.006376, allocations: 1.286 MB / 362.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.006582, allocations: 23.81 kB / 363 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.006853, allocations: 170.6 kB / 363.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.007333, allocations: 465 kB / 363.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.007936, allocations: 315.4 kB / 363.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.009301, allocations: 2.219 MB / 366.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.01019, allocations: 1.216 MB / 367.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.01085, allocations: 0.8226 MB / 368.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.01197, allocations: 0.9355 MB / 369.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.01217, allocations: 236 kB / 369.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.0124, allocations: 236 kB / 369.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.01279, allocations: 0.7367 MB / 370.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.01327, allocations: 0.7018 MB / 371 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.0143, allocations: 1.535 MB / 372.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.0143, allocations: 0 / 372.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0143, allocations: 0 / 372.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.01432, allocations: 0 / 372.5 MB, free: 8.496 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.002388/0.0167, allocations: 2.082 MB / 374.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.01674, allocations: 8.922 kB / 374.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.01701, allocations: 248 kB / 374.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.01786, allocations: 0.7776 MB / 375.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.01821, allocations: 116.6 kB / 375.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.01837, allocations: 132.3 kB / 375.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.01955, allocations: 0.8461 MB / 376.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.01957, allocations: 8.141 kB / 376.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/0.01966, allocations: 52.12 kB / 376.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.01968, allocations: 28 kB / 376.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000884/0.02057, allocations: 0.4978 MB / 377.3 MB, free: 3.582 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.00471/0.02527, allocations: 3.731 MB / 381 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/0.02746, allocations: 1.136 MB / 382.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.02788, allocations: 258.5 kB / 382.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.02795, allocations: 24.98 kB / 382.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.02798, allocations: 50.39 kB / 382.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.034e-06/0.02798, allocations: 0 / 382.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.004489/0.03247, allocations: 2.572 MB / 385.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.0325, allocations: 64.41 kB / 385.1 MB, free: 11.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.033, allocations: 0.6322 MB / 385.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.03307, allocations: 41.7 kB / 385.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.03334, allocations: 0.5619 MB / 386.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.03362, allocations: 456.3 kB / 386.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.0339, allocations: 249.2 kB / 387.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.03409, allocations: 0.5976 MB / 387.7 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.0346, allocations: 334.2 kB / 388 MB, free: 8.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.03518, allocations: 0.5511 MB / 388.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.03671, allocations: 1.097 MB / 389.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.03671, allocations: 3.938 kB / 389.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002213/0.03892, allocations: 1.339 MB / 391 MB, free: 5.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.03894, allocations: 8 kB / 391 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.03895, allocations: 4 kB / 391 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.04023, allocations: 0.5496 MB / 391.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.04114, allocations: 407.5 kB / 391.9 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1486/0.1897, allocations: 26.66 MB / 418.6 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/0.1906, allocations: 79.38 kB / 418.7 MB, free: 48.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.1907, allocations: 50.42 kB / 418.7 MB, free: 48.05 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.0004772/0.1912, allocations: 238 kB / 418.9 MB, free: 47.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.1914, allocations: 127 kB / 419.1 MB, free: 47.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.1932, allocations: 1.121 MB / 420.2 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1932, allocations: 10.5 kB / 420.2 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1932, allocations: 4.781 kB / 420.2 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1932, allocations: 6.312 kB / 420.2 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.1965, allocations: 2.382 MB / 422.6 MB, free: 47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.1965, allocations: 5.375 kB / 422.6 MB, free: 47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.1976, allocations: 339.9 kB / 422.9 MB, free: 47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.1988, allocations: 0.5062 MB / 423.4 MB, free: 46.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.1989, allocations: 63.95 kB / 423.5 MB, free: 46.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/0.2047, allocations: 26.13 MB / 449.6 MB, free: 21.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2047, allocations: 3.438 kB / 449.6 MB, free: 21.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.2067, allocations: 1.579 MB / 451.2 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2068, allocations: 101.7 kB / 451.3 MB, free: 20.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2069, allocations: 62.83 kB / 451.4 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.2072, allocations: 49.31 kB / 451.4 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.2074, allocations: 104.8 kB / 451.5 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.2075, allocations: 30.25 kB / 451.6 MB, free: 20.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003237/0.2078, allocations: 421 kB / 452 MB, free: 20.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2078, allocations: 0 / 452 MB, free: 20.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009788/0.2088, allocations: 448.1 kB / 452.4 MB, free: 20.18 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.0001667/0.209, allocations: 186.1 kB / 452.6 MB, free: 20.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.2107, allocations: 3.314 MB / 455.9 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2107, allocations: 0 / 455.9 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.2117, allocations: 2.892 MB / 458.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.2123, allocations: 284 kB / 459.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.2165, allocations: 4.119 MB / 463.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2168, allocations: 335 kB / 463.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004497/0.2172, allocations: 274.7 kB / 463.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.2174, allocations: 81.12 kB / 463.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2175, allocations: 0 / 463.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of Templates: time 0.02441/0.2419, allocations: 25.09 MB / 489 MB, free: 4.082 MB / 346.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: 3.911772415973246]