Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 192.3 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2079/0.2079, allocations: 22.35 MB / 312.3 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 63.91 kB / 380.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3107, allocations: 54.96 MB / 435 MB, free: 39.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim): time 0.005231/0.316, allocations: 4.593 MB / 439.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.3185, allocations: 1.29 MB / 440.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.319, allocations: 16.97 kB / 440.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.3193, allocations: 133.4 kB / 441.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.3199, allocations: 413.7 kB / 441.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.3206, allocations: 284.9 kB / 441.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.3221, allocations: 2.654 MB / 444.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.3233, allocations: 1.349 MB / 445.8 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.3239, allocations: 0.6937 MB / 446.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.3248, allocations: 0.9718 MB / 447.4 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.325, allocations: 113.8 kB / 447.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.3253, allocations: 114.8 kB / 447.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.3256, allocations: 0.5805 MB / 448.2 MB, free: 32.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.3262, allocations: 0.7982 MB / 449 MB, free: 32.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3275, allocations: 2.476 MB / 451.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3275, allocations: 0 / 451.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3275, allocations: 0 / 451.5 MB, free: 31.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.3275, allocations: 0 / 451.5 MB, free: 31.2 MB / 350.1 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.003686/0.3312, allocations: 2.011 MB / 453.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3313, allocations: 9.594 kB / 453.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.3315, allocations: 144.8 kB / 453.7 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3327, allocations: 0.8728 MB / 454.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.3328, allocations: 119.5 kB / 454.7 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.333, allocations: 138.8 kB / 454.8 MB, free: 29.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.3356, allocations: 1.583 MB / 456.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3357, allocations: 1.344 kB / 456.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3358, allocations: 49.56 kB / 456.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3358, allocations: 29.22 kB / 456.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.3381, allocations: 1.406 MB / 457.9 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00974/0.3478, allocations: 7.118 MB / 465 MB, free: 23.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004857/0.3527, allocations: 1.877 MB / 466.9 MB, free: 22.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.3539, allocations: 0.7333 MB / 467.6 MB, free: 22.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.3539, allocations: 23.2 kB / 467.6 MB, free: 22.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.354, allocations: 48.36 kB / 467.7 MB, free: 22.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 3.096e-06/0.354, allocations: 0 / 467.7 MB, free: 22.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=103): time 0.006583/0.3606, allocations: 3.922 MB / 471.6 MB, free: 20.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3606, allocations: 62.31 kB / 471.6 MB, free: 19.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/0.3616, allocations: 0.6819 MB / 472.3 MB, free: 19.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.513e-05/0.3617, allocations: 45.45 kB / 472.4 MB, free: 19.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.3619, allocations: 0.5115 MB / 472.9 MB, free: 19.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.3623, allocations: 415.2 kB / 473.3 MB, free: 18.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003988/0.3627, allocations: 242.6 kB / 473.5 MB, free: 18.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3628, allocations: 415.3 kB / 473.9 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.3641, allocations: 0.8371 MB / 474.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.3654, allocations: 1.003 MB / 475.8 MB, free: 17.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/0.378, allocations: 4.468 MB / 480.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.378, allocations: 1.094 kB / 480.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003786/0.3818, allocations: 2.474 MB / 482.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3818, allocations: 4 kB / 482.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3819, allocations: 8 kB / 482.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.3834, allocations: 0.5356 MB / 483.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.385, allocations: 403.5 kB / 483.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.3979, allocations: 21.43 MB / 0.4932 GB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3993, allocations: 162.7 kB / 0.4934 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.3996, allocations: 47.98 kB / 0.4934 GB, free: 4.535 MB / 366.1 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (160): * Single equations (assignments): 145 * 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.001028/0.4006, allocations: 423.4 kB / 0.4938 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.401, allocations: 90.97 kB / 0.4939 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.4048, allocations: 1.994 MB / 0.4959 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.4048, allocations: 8 kB / 0.4959 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.4048, allocations: 11.94 kB / 0.4959 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.4048, allocations: 7.984 kB / 0.4959 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006624/0.4115, allocations: 3.704 MB / 0.4995 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4115, allocations: 12.19 kB / 0.4995 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.4135, allocations: 339.7 kB / 0.4999 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.4148, allocations: 476.5 kB / 0.5003 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/0.415, allocations: 71.95 kB / 0.5004 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/0.4294, allocations: 20.57 MB / 0.5205 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4295, allocations: 3.938 kB / 0.5205 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005075/0.4346, allocations: 2.73 MB / 0.5231 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.4349, allocations: 195.7 kB / 0.5233 GB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.4352, allocations: 63.97 kB / 0.5234 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.4361, allocations: 71.83 kB / 0.5234 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.4364, allocations: 96.75 kB / 0.5235 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/0.4365, allocations: 35.98 kB / 0.5236 GB, free: 3.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006286/0.4371, allocations: 475 kB / 0.524 GB, free: 2.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4371, allocations: 0 / 0.524 GB, free: 2.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002017/0.4392, allocations: 0.5029 MB / 0.5245 GB, free: 2.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (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.0002753/0.4394, allocations: 184.3 kB / 0.5247 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004881/0.4443, allocations: 3.42 MB / 0.528 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4444, allocations: 0 / 0.528 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.4472, allocations: 2.453 MB / 0.5304 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.4485, allocations: 309.7 kB / 0.5307 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009833/0.4584, allocations: 6.072 MB / 0.5367 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.4594, allocations: 1.27 MB / 0.5379 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001148/0.4606, allocations: 371.8 kB / 0.5383 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.461, allocations: 79.42 kB / 0.5383 GB, free: 3.734 MB / 414.1 MB Notification: Performance of SimCode: time 1.098e-05/0.461, allocations: 0 / 0.5383 GB, free: 3.734 MB / 414.1 MB Notification: Performance of Templates: time 0.03412/0.4951, allocations: 21.94 MB / 0.5597 GB, free: 14.04 MB / 446.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_lim.pipe 2>&1)