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.0008055/0.0008055, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009463/0.0009463, allocations: 177.3 kB / 24.17 MB, free: 332 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.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.0625/0.0625, allocations: 18.14 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_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.533e-06/1.533e-06, allocations: 0 / 304.5 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.791e-05, allocations: 7.062 kB / 304.5 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_002): time 0.004217/0.004235, allocations: 3.307 MB / 307.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.006073, allocations: 0.9856 MB / 308.8 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.00625, allocations: 11.88 kB / 308.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.006439, allocations: 99.84 kB / 308.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.006811, allocations: 273 kB / 309.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.007309, allocations: 196.9 kB / 309.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.008387, allocations: 1.275 MB / 310.7 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.009108, allocations: 0.6956 MB / 311.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.009736, allocations: 487 kB / 311.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.01034, allocations: 0.5067 MB / 312.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.01047, allocations: 132 kB / 312.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.01063, allocations: 132 kB / 312.6 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.0109, allocations: 423 kB / 313 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003582/0.01126, allocations: 415.2 kB / 313.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.01204, allocations: 0.8687 MB / 314.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.01204, allocations: 0 / 314.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01204, allocations: 4 kB / 314.3 MB, free: 8.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.01206, allocations: 0 / 314.3 MB, free: 8.031 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.001459/0.01352, allocations: 1.109 MB / 315.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01356, allocations: 16.92 kB / 315.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.01372, allocations: 120.8 kB / 315.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.0142, allocations: 387.5 kB / 315.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.01426, allocations: 80.27 kB / 316 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.767e-05/0.01436, allocations: 80.33 kB / 316.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.01494, allocations: 0.4903 MB / 316.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.01496, allocations: 192 / 316.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.01501, allocations: 36.12 kB / 316.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01502, allocations: 16 kB / 316.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.01535, allocations: 213.8 kB / 316.8 MB, free: 5.434 MB / 282.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.002387/0.01774, allocations: 1.697 MB / 318.5 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.01876, allocations: 0.5123 MB / 319 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.01894, allocations: 110.3 kB / 319.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.01897, allocations: 12.5 kB / 319.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.019, allocations: 35.06 kB / 319.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.573e-06/0.019, allocations: 3.938 kB / 319.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=58): time 0.001306/0.02031, allocations: 0.7341 MB / 319.9 MB, free: 2.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.02034, allocations: 55.91 kB / 320 MB, free: 2.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.02059, allocations: 343.2 kB / 320.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.02063, allocations: 37.7 kB / 320.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.02077, allocations: 293.5 kB / 320.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.0209, allocations: 238 kB / 320.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.02104, allocations: 122.6 kB / 321 MB, free: 1.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.02116, allocations: 366.7 kB / 321.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.02132, allocations: 120.7 kB / 321.5 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.02151, allocations: 168.6 kB / 321.6 MB, free: 460 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.022, allocations: 424.3 kB / 322 MB, free: 12 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.02201, allocations: 4 kB / 322 MB, free: 8 kB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007455/0.02275, allocations: 0.5545 MB / 322.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.02277, allocations: 10.17 kB / 322.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02278, allocations: 4 kB / 322.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007773/0.02356, allocations: 352.7 kB / 323 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.02396, allocations: 171.8 kB / 323.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.02986, allocations: 12.19 MB / 335.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.03008, allocations: 51.56 kB / 335.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.03012, allocations: 19.94 kB / 335.4 MB, free: 1.559 MB / 298.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.0002555/0.03037, allocations: 166.9 kB / 335.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.03045, allocations: 51.95 kB / 335.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.03112, allocations: 0.5253 MB / 336.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.03112, allocations: 8 kB / 336.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.03112, allocations: 4 kB / 336.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.03113, allocations: 3.984 kB / 336.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.03233, allocations: 0.9739 MB / 337.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.03234, allocations: 0 / 337.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.0328, allocations: 147.9 kB / 337.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006009/0.0334, allocations: 332.7 kB / 337.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.03345, allocations: 31.97 kB / 337.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.03863, allocations: 11.96 MB / 349.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.03863, allocations: 0 / 349.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.0395, allocations: 0.7571 MB / 350.3 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.03956, allocations: 47.55 kB / 350.4 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.03963, allocations: 35.98 kB / 350.4 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.03979, allocations: 8 kB / 350.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.03992, allocations: 60.28 kB / 350.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.03995, allocations: 15.98 kB / 350.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.04008, allocations: 148.7 kB / 350.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.04008, allocations: 0 / 350.6 MB, free: 1.066 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007917/0.04087, allocations: 299.5 kB / 350.9 MB, free: 0.7734 MB / 314.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.0002188/0.04109, allocations: 115 kB / 351 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.04242, allocations: 1.477 MB / 352.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.04243, allocations: 4 kB / 352.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008474/0.04327, allocations: 1.3 MB / 353.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.04375, allocations: 167.2 kB / 354 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.04643, allocations: 1.816 MB / 355.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.04664, allocations: 211.5 kB / 356 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.04684, allocations: 60.67 kB / 356.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.04714, allocations: 181.2 kB / 356.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04714, allocations: 0 / 356.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of Templates: time 0.01803/0.06517, allocations: 14.77 MB / 371 MB, free: 12.65 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: 3.4739575940184295]