Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.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.001442/0.001442, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001705/0.001705, allocations: 157.7 kB / 23.53 MB, free: 0.9023 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.1078/0.1078, allocations: 18.15 MB / 278.5 MB, free: 11.3 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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") translateModel(AES.Coursework.ThermSys_Generation.Heater_control_case_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 357.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.227e-05, allocations: 2.312 kB / 357.3 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Heater_control_case_004): time 0.006951/0.006984, allocations: 3.951 MB / 361.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.01032, allocations: 1.282 MB / 362.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000712/0.01103, allocations: 23.81 kB / 362.6 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.01165, allocations: 174.5 kB / 362.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.01299, allocations: 472.9 kB / 363.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.0141, allocations: 327.4 kB / 363.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.01703, allocations: 2.239 MB / 365.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.01918, allocations: 1.2 MB / 367 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.02079, allocations: 0.8304 MB / 367.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.02259, allocations: 0.873 MB / 368.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005522/0.02314, allocations: 236 kB / 368.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.02378, allocations: 236 kB / 369.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.02458, allocations: 0.7327 MB / 369.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.02558, allocations: 0.6979 MB / 370.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002978/0.02856, allocations: 2.716 MB / 373.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02857, allocations: 0 / 373.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.02857, allocations: 0 / 373.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.219e-05/0.0286, allocations: 0 / 373.3 MB, free: 7.312 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.005039/0.03364, allocations: 1.97 MB / 375.3 MB, free: 5.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.03368, allocations: 8.922 kB / 375.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.03422, allocations: 256 kB / 375.5 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.03583, allocations: 0.8295 MB / 376.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.03598, allocations: 116.6 kB / 376.5 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.03626, allocations: 144.3 kB / 376.6 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.0394, allocations: 1.619 MB / 378.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.03942, allocations: 192 / 378.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.03958, allocations: 48.12 kB / 378.3 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.03961, allocations: 32 kB / 378.3 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.04234, allocations: 1.419 MB / 379.7 MB, free: 0.7617 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.0105/0.05284, allocations: 4.774 MB / 384.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005333/0.05817, allocations: 1.867 MB / 386.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.05956, allocations: 0.73 MB / 387.1 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.403e-05/0.05964, allocations: 25 kB / 387.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.05969, allocations: 39.56 kB / 387.2 MB, free: 9.254 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 3.426e-06/0.05969, allocations: 0 / 387.2 MB, free: 9.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.01169/0.07138, allocations: 4.727 MB / 391.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.07145, allocations: 68.39 kB / 391.9 MB, free: 4.375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.07256, allocations: 0.6681 MB / 392.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.07268, allocations: 41.7 kB / 392.7 MB, free: 3.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/0.07319, allocations: 0.5202 MB / 393.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005237/0.07372, allocations: 452.2 kB / 393.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005214/0.07424, allocations: 243.6 kB / 393.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.07452, allocations: 406.7 kB / 394.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.07608, allocations: 0.8703 MB / 395.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.07786, allocations: 1.025 MB / 396.1 MB, free: 56 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/0.09351, allocations: 4.577 MB / 400.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.09352, allocations: 0 / 400.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005903/0.09942, allocations: 2.563 MB / 403.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.09945, allocations: 8 kB / 403.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.09947, allocations: 4 kB / 403.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/0.1028, allocations: 0.7112 MB / 404 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.1049, allocations: 411.5 kB / 404.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1587/0.2635, allocations: 21.1 MB / 425.5 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.265, allocations: 83.36 kB / 425.6 MB, free: 51.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.2651, allocations: 51.58 kB / 425.6 MB, free: 51.62 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.0008668/0.266, allocations: 422.6 kB / 426.1 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003271/0.2663, allocations: 131.1 kB / 426.2 MB, free: 51.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/0.2703, allocations: 2.027 MB / 428.2 MB, free: 50.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.2703, allocations: 10.91 kB / 428.2 MB, free: 50.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.2703, allocations: 5.375 kB / 428.2 MB, free: 50.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.2703, allocations: 5.531 kB / 428.2 MB, free: 50.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007019/0.2773, allocations: 3.567 MB / 431.8 MB, free: 48.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.2773, allocations: 2.188 kB / 431.8 MB, free: 48.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/0.2795, allocations: 352.6 kB / 432.1 MB, free: 48.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.282, allocations: 0.6275 MB / 432.8 MB, free: 48.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/0.2822, allocations: 63.72 kB / 432.8 MB, free: 48.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009898/0.2921, allocations: 20.26 MB / 453.1 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2921, allocations: 3.875 kB / 453.1 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.2964, allocations: 2.848 MB / 455.9 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.2967, allocations: 99.2 kB / 456 MB, free: 27.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.2969, allocations: 67.97 kB / 456.1 MB, free: 26.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.2977, allocations: 51.92 kB / 456.2 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.298, allocations: 108.7 kB / 456.3 MB, free: 26.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/0.2981, allocations: 39.92 kB / 456.3 MB, free: 26.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005009/0.2986, allocations: 467 kB / 456.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2986, allocations: 0 / 456.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001431/0.3, allocations: 451.8 kB / 457.2 MB, free: 25.85 MB / 330.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.0002375/0.3003, allocations: 180.3 kB / 457.4 MB, free: 25.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00349/0.3038, allocations: 3.394 MB / 460.8 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3038, allocations: 0 / 460.8 MB, free: 22.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00211/0.3059, allocations: 2.464 MB / 463.2 MB, free: 19.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.3072, allocations: 332.3 kB / 463.6 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.3143, allocations: 4.863 MB / 468.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.3149, allocations: 0.6828 MB / 469.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009892/0.3159, allocations: 359.8 kB / 469.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.3162, allocations: 80.48 kB / 469.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3162, allocations: 4 kB / 469.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of Templates: time 0.03837/0.3546, allocations: 25.05 MB / 494.6 MB, free: 4.398 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.sim & ./AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Heater_control_case_004.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.840813065995462]