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.001332/0.001332, allocations: 100.3 kB / 20.46 MB, free: 1.367 MB / 14.72 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.001459/0.001459, allocations: 216.2 kB / 23.76 MB, free: 4.52 MB / 14.72 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 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.1101/0.1101, allocations: 24.04 MB / 338 MB, free: 11.32 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 67.91 kB / 475.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3511, allocations: 59.58 MB / 0.5221 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004315/0.3554, allocations: 3.055 MB / 0.5251 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3571, allocations: 0.9405 MB / 0.526 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.3573, allocations: 9.406 kB / 0.526 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.3576, allocations: 110.5 kB / 0.5262 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.358, allocations: 263.3 kB / 0.5264 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.3585, allocations: 196.7 kB / 0.5266 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.3597, allocations: 1.238 MB / 0.5278 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.3605, allocations: 0.6526 MB / 0.5284 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.3611, allocations: 0.4941 MB / 0.5289 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007394/0.3619, allocations: 0.523 MB / 0.5294 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.3621, allocations: 132 kB / 0.5296 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.3623, allocations: 133.1 kB / 0.5297 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.3627, allocations: 404.1 kB / 0.5301 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.3632, allocations: 464.8 kB / 0.5305 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.3648, allocations: 1.474 MB / 0.532 GB, free: 5.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3648, allocations: 0.7188 kB / 0.532 GB, free: 5.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3648, allocations: 0 / 0.532 GB, free: 5.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.3648, allocations: 0 / 0.532 GB, free: 5.027 MB / 382.1 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.003104/0.368, allocations: 1.233 MB / 0.5332 GB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.368, allocations: 11.61 kB / 0.5332 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.3683, allocations: 88.48 kB / 0.5333 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.3692, allocations: 0.5122 MB / 0.5338 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.3693, allocations: 83.06 kB / 0.5338 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3695, allocations: 80.36 kB / 0.5339 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.3712, allocations: 0.9602 MB / 0.5348 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.3712, allocations: 0 / 0.5348 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/0.3713, allocations: 26 kB / 0.5349 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.3713, allocations: 17.62 kB / 0.5349 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.3727, allocations: 0.8077 MB / 0.5357 GB, free: 3.117 MB / 382.1 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.005612/0.3784, allocations: 2.677 MB / 0.5383 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.3811, allocations: 1.016 MB / 0.5393 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.3817, allocations: 410.7 kB / 0.5397 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/0.3818, allocations: 11.44 kB / 0.5397 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3818, allocations: 37.83 kB / 0.5397 GB, free: 1.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=58): time 3.105e-06/0.3818, allocations: 1.031 kB / 0.5397 GB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.003887/0.3857, allocations: 1.619 MB / 0.5413 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.3857, allocations: 57.62 kB / 0.5414 GB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.3862, allocations: 396.6 kB / 0.5417 GB, free: 216 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.3862, allocations: 36.39 kB / 0.5418 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3865, allocations: 331 kB / 0.5421 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.3868, allocations: 245.6 kB / 0.5423 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.387, allocations: 123 kB / 0.5424 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3872, allocations: 373.9 kB / 0.5428 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.3879, allocations: 450.5 kB / 0.5432 GB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007824/0.3887, allocations: 0.4967 MB / 0.5437 GB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/0.3961, allocations: 2.358 MB / 0.546 GB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3961, allocations: 4 kB / 0.546 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002657/0.3988, allocations: 1.337 MB / 0.5473 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3988, allocations: 9.812 kB / 0.5473 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3988, allocations: 1.094 kB / 0.5473 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.4, allocations: 343 kB / 0.5477 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009095/0.4009, allocations: 187.4 kB / 0.5478 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4134, allocations: 13.86 MB / 0.5614 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008249/0.4142, allocations: 71.61 kB / 0.5614 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.4143, allocations: 24.09 kB / 0.5615 GB, free: 14.79 MB / 414.1 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.0006597/0.415, allocations: 290.6 kB / 0.5617 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4151, allocations: 55.45 kB / 0.5618 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.4174, allocations: 1.131 MB / 0.5629 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.4174, allocations: 6.344 kB / 0.5629 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4174, allocations: 3.156 kB / 0.5629 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4174, allocations: 3.984 kB / 0.5629 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.4209, allocations: 1.859 MB / 0.5647 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4209, allocations: 13.48 kB / 0.5647 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/0.4218, allocations: 165.1 kB / 0.5649 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000875/0.4227, allocations: 308.9 kB / 0.5652 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.4228, allocations: 35.33 kB / 0.5652 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.4341, allocations: 13.43 MB / 0.5783 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4341, allocations: 6.188 kB / 0.5783 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.4372, allocations: 1.591 MB / 0.5799 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.4374, allocations: 67.53 kB / 0.58 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4376, allocations: 36.17 kB / 0.58 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.438, allocations: 27.91 kB / 0.58 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.4382, allocations: 60.33 kB / 0.5801 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.4383, allocations: 16 kB / 0.5801 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.4386, allocations: 279.2 kB / 0.5804 GB, free: 13.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4386, allocations: 0 / 0.5804 GB, free: 13.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00113/0.4398, allocations: 303.5 kB / 0.5807 GB, free: 12.73 MB / 430.1 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.0002267/0.44, allocations: 145.7 kB / 0.5808 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.4428, allocations: 2.011 MB / 0.5828 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4428, allocations: 0 / 0.5828 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.4446, allocations: 1.545 MB / 0.5843 GB, free: 8.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.4454, allocations: 161.3 kB / 0.5844 GB, free: 8.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.451, allocations: 3.157 MB / 0.5875 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.4515, allocations: 416.5 kB / 0.5879 GB, free: 4.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.4518, allocations: 47.42 kB / 0.5879 GB, free: 4.926 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4518, allocations: 4 kB / 0.588 GB, free: 4.922 MB / 430.1 MB Notification: Performance of Templates: time 0.04277/0.4946, allocations: 36.23 MB / 0.6233 GB, free: 0.6719 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.238787721842527] Failed to read output from testmodel.py, exit status != 0: 0.5042824121192098 0.526404745 0.15717572199999993 Calling exit ...