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.002467/0.002467, allocations: 79.69 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.002833/0.002833, allocations: 165.3 kB / 23.55 MB, free: 0.875 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.1157/0.1157, allocations: 18.15 MB / 278.5 MB, free: 11.34 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_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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.746e-05, allocations: 9.266 kB / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.005563/0.005591, allocations: 3.301 MB / 359.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.007632, allocations: 0.9467 MB / 360.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.007819, allocations: 11.94 kB / 360.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.008094, allocations: 107.1 kB / 360.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.008585, allocations: 270.2 kB / 361.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.009245, allocations: 207.5 kB / 361.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.01088, allocations: 1.263 MB / 362.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.01191, allocations: 0.684 MB / 363.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.01264, allocations: 491 kB / 363.8 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.01357, allocations: 0.5184 MB / 364.3 MB, free: 368 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.01379, allocations: 132 kB / 364.4 MB, free: 236 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.01404, allocations: 132 kB / 364.6 MB, free: 104 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00046/0.0145, allocations: 427 kB / 365 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000538/0.01503, allocations: 411.2 kB / 365.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.01674, allocations: 1.531 MB / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.01674, allocations: 0 / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01674, allocations: 0 / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.01675, allocations: 0 / 366.9 MB, free: 13.75 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002931/0.01969, allocations: 1.404 MB / 368.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.01972, allocations: 8.922 kB / 368.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.02004, allocations: 160.3 kB / 368.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.02122, allocations: 0.508 MB / 369 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.02133, allocations: 88.2 kB / 369.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.02149, allocations: 76.33 kB / 369.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.0228, allocations: 0.6147 MB / 369.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.02282, allocations: 192 / 369.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.02292, allocations: 36.12 kB / 369.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.02294, allocations: 16 kB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.02399, allocations: 443.8 kB / 370.3 MB, free: 10.33 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(pipeline.fluidStream.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00606/0.03005, allocations: 2.648 MB / 372.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.0327, allocations: 0.7442 MB / 373.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.03319, allocations: 221.1 kB / 373.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.03325, allocations: 20.42 kB / 373.9 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.03329, allocations: 41.89 kB / 373.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/0.0333, allocations: 0 / 373.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.003692/0.03699, allocations: 1.12 MB / 375 MB, free: 5.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.03704, allocations: 55.91 kB / 375.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.03773, allocations: 0.5104 MB / 375.6 MB, free: 4.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.0378, allocations: 41.64 kB / 375.6 MB, free: 4.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.03814, allocations: 407.3 kB / 376 MB, free: 4.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00047/0.03861, allocations: 274 kB / 376.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.03895, allocations: 164.3 kB / 376.5 MB, free: 3.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003891/0.03934, allocations: 0.586 MB / 377.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006187/0.03996, allocations: 283.6 kB / 377.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006451/0.0406, allocations: 352.4 kB / 377.7 MB, free: 2.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.04225, allocations: 0.7983 MB / 378.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/0.04225, allocations: 0 / 378.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0023/0.04455, allocations: 0.9196 MB / 379.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.04457, allocations: 8 kB / 379.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.04457, allocations: 0 / 379.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.04657, allocations: 396.6 kB / 379.8 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.04752, allocations: 191.8 kB / 380 MB, free: 260 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.06313, allocations: 18.03 MB / 398 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/0.06389, allocations: 67.59 kB / 398.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.06395, allocations: 24 kB / 398.1 MB, free: 12.88 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 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.0004905/0.06445, allocations: 235.4 kB / 398.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.06462, allocations: 75.61 kB / 398.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.06655, allocations: 0.7899 MB / 399.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.06655, allocations: 8 kB / 399.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.06656, allocations: 0 / 399.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.06656, allocations: 0 / 399.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.06979, allocations: 1.596 MB / 400.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.0698, allocations: 7.938 kB / 400.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.07084, allocations: 168 kB / 401 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.07246, allocations: 360.5 kB / 401.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.07256, allocations: 32.03 kB / 401.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.08708, allocations: 17.67 MB / 419 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.08709, allocations: 3.938 kB / 419 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.08982, allocations: 1.222 MB / 420.2 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.09, allocations: 67.53 kB / 420.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.09012, allocations: 27.98 kB / 420.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.09057, allocations: 27.97 kB / 420.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.09077, allocations: 60.34 kB / 420.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.09083, allocations: 19.98 kB / 420.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.09127, allocations: 351.1 kB / 420.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09127, allocations: 0 / 420.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001035/0.0923, allocations: 303.5 kB / 421.1 MB, free: 4.383 MB / 346.7 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.0002347/0.09254, allocations: 145.7 kB / 421.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.09555, allocations: 2.268 MB / 423.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.09556, allocations: 0 / 423.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1264/0.222, allocations: 1.963 MB / 425.5 MB, free: 75.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2231, allocations: 150 kB / 425.6 MB, free: 75.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.228, allocations: 2.323 MB / 427.9 MB, free: 74.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.2286, allocations: 401.9 kB / 428.3 MB, free: 74.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005417/0.2292, allocations: 129.1 kB / 428.4 MB, free: 74.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.2294, allocations: 42.97 kB / 428.5 MB, free: 74.19 MB / 346.7 MB Notification: Performance of SimCode: time 2.435e-06/0.2294, allocations: 0.9375 kB / 428.5 MB, free: 74.19 MB / 346.7 MB Notification: Performance of Templates: time 0.02246/0.2518, allocations: 13.8 MB / 442.3 MB, free: 68.67 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.422737926011905]