Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0753/0.0753, allocations: 17.69 MB / 33.63 MB, free: 1.746 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009543/0.0009541, allocations: 175.6 kB / 38.92 MB, free: 12 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 249.5 MB, free: 2.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.000911, allocations: 102.1 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004962, allocations: 8 kB / 366.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3144, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.4233, allocations: 85.05 MB / 0.4922 GB, free: 3.199 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.4236, allocations: 83.95 kB / 0.4923 GB, free: 3.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2304/0.654, allocations: 25.19 MB / 0.5168 GB, free: 70.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.654, allocations: 3.984 kB / 0.5169 GB, free: 70.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.6541, allocations: 35.94 kB / 0.5169 GB, free: 70.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.005183/0.6593, allocations: 1.885 MB / 0.5187 GB, free: 68.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6594, allocations: 16.03 kB / 0.5187 GB, free: 68.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.6602, allocations: 178.9 kB / 0.5189 GB, free: 68.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.6631, allocations: 1.208 MB / 0.5201 GB, free: 67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.6633, allocations: 133 kB / 0.5202 GB, free: 66.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.6638, allocations: 156.3 kB / 0.5204 GB, free: 66.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.6678, allocations: 2.013 MB / 0.5223 GB, free: 64.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.6678, allocations: 4 kB / 0.5223 GB, free: 64.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.6681, allocations: 56 kB / 0.5224 GB, free: 64.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.6681, allocations: 32 kB / 0.5224 GB, free: 64.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.6711, allocations: 1.643 MB / 0.524 GB, free: 62.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00877/0.6799, allocations: 6.022 MB / 0.5299 GB, free: 56.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/0.6847, allocations: 2.24 MB / 0.5321 GB, free: 54.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.6859, allocations: 0.8168 MB / 0.5329 GB, free: 53.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.6861, allocations: 106.4 kB / 0.533 GB, free: 53.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.6861, allocations: 51.88 kB / 0.533 GB, free: 53.29 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007651/0.6869, allocations: 147.4 kB / 0.5332 GB, free: 53.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 4.438e-06/0.6869, allocations: 0 / 0.5332 GB, free: 53.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=128): time 0.008728/0.6956, allocations: 4.343 MB / 0.5374 GB, free: 48.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.6957, allocations: 120.1 kB / 0.5375 GB, free: 48.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009938/0.6967, allocations: 0.7942 MB / 0.5383 GB, free: 47.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.6969, allocations: 45.7 kB / 0.5384 GB, free: 47.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.6972, allocations: 0.5741 MB / 0.5389 GB, free: 46.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.6975, allocations: 492.9 kB / 0.5394 GB, free: 46.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.6976, allocations: 32 kB / 0.5394 GB, free: 46.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.6977, allocations: 377.8 kB / 0.5398 GB, free: 46.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.699, allocations: 0.9066 MB / 0.5407 GB, free: 45.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.7003, allocations: 1.049 MB / 0.5417 GB, free: 44.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02056/0.7209, allocations: 5.557 MB / 0.5471 GB, free: 38.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.721, allocations: 4 kB / 0.5471 GB, free: 38.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005744/0.7267, allocations: 2.811 MB / 0.5499 GB, free: 35.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.7269, allocations: 202.9 kB / 0.5501 GB, free: 35.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7269, allocations: 7.938 kB / 0.5501 GB, free: 35.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/0.7304, allocations: 0.7507 MB / 0.5508 GB, free: 34.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.7327, allocations: 455.5 kB / 0.5512 GB, free: 34.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00776/0.7404, allocations: 14.72 MB / 0.5656 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.7422, allocations: 103.7 kB / 0.5657 GB, free: 17.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.7424, allocations: 60.08 kB / 0.5658 GB, free: 17.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.7424, allocations: 0 / 0.5658 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005017/0.7474, allocations: 2.539 MB / 0.5682 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7475, allocations: 4 kB / 0.5682 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.7509, allocations: 0.7172 MB / 0.5689 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.7531, allocations: 447.5 kB / 0.5694 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008074/0.7612, allocations: 14.66 MB / 0.5837 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.7631, allocations: 87.92 kB / 0.5838 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/0.7633, allocations: 55.98 kB / 0.5838 GB, free: 13.96 MB / 378.7 MB Warning: Assuming fixed start value for the following 4 variables: H.Ec:VARIABLE(fixed = true ) type: Real H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real FlowCtrl.y:VARIABLE(start = FlowCtrl.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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} * Non-linear torn systems: 1 {3 13} Notification: Performance of prepare postOptimizeDAE: time 0.001566/0.7649, allocations: 0.4976 MB / 0.5843 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.7653, allocations: 118.5 kB / 0.5844 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/0.7714, allocations: 2.528 MB / 0.5869 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.7714, allocations: 16 kB / 0.5869 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7714, allocations: 4 kB / 0.5869 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.7715, allocations: 7.969 kB / 0.5869 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009005/0.7805, allocations: 4.555 MB / 0.5914 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.7805, allocations: 0 / 0.5914 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/0.7828, allocations: 411.5 kB / 0.5918 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.7863, allocations: 0.7546 MB / 0.5925 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/0.7865, allocations: 75.95 kB / 0.5926 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/0.7985, allocations: 14.71 MB / 0.6069 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7986, allocations: 3.984 kB / 0.6069 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/0.8058, allocations: 3.27 MB / 0.6101 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/0.8064, allocations: 203.5 kB / 0.6103 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/0.8066, allocations: 71.91 kB / 0.6104 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009331/0.8076, allocations: 83.83 kB / 0.6105 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/0.8079, allocations: 101.1 kB / 0.6106 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.808, allocations: 43.98 kB / 0.6106 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007908/0.8088, allocations: 0.5458 MB / 0.6111 GB, free: 372 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.8088, allocations: 0 / 0.6111 GB, free: 372 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.002501/0.8113, allocations: 0.9002 MB / 0.612 GB, free: 15.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 47 (FlowCtrl.y,H.Tfo,H.Ec,H.xpi,PI_dpHC.FO.y,line.fluidStream.T[1],line.fluidStream.T[2],line.fluidStream.T[3],line.fluidStream.T[4],line.fluidStream.T[5],line.wall.wall.T[1,1],line.wall.wall.T[1,2],line.wall.wall.T[1,3],line.wall.wall.T[2,1],line.wall.wall.T[2,2],line.wall.wall.T[2,3],line.wall.wall.T[3,1],line.wall.wall.T[3,2],line.wall.wall.T[3,3],line.wall.wall.T[4,1],line.wall.wall.T[4,2],line.wall.wall.T[4,3],line.wall.wall.T[5,1],line.wall.wall.T[5,2],line.wall.wall.T[5,3],load.fluidStream.T[1],load.fluidStream.T[2],load.fluidStream.T[3],load.fluidStream.T[4],load.fluidStream.T[5],load.wall.wall.T[1,1],load.wall.wall.T[1,2],load.wall.wall.T[1,3],load.wall.wall.T[2,1],load.wall.wall.T[2,2],load.wall.wall.T[2,3],load.wall.wall.T[3,1],load.wall.wall.T[3,2],load.wall.wall.T[3,3],load.wall.wall.T[4,1],load.wall.wall.T[4,2],load.wall.wall.T[4,3],load.wall.wall.T[5,1],load.wall.wall.T[5,2],load.wall.wall.T[5,3],EV.lfrac,PI_wh.FO.y) * 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 (117): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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} * Non-linear torn systems: 1 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/0.8117, allocations: 206.9 kB / 0.6122 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008464/0.8202, allocations: 5.353 MB / 0.6175 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.8203, allocations: 0 / 0.6175 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003046/0.8233, allocations: 2.098 MB / 0.6195 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.8253, allocations: 387 kB / 0.6199 GB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.8372, allocations: 7.109 MB / 0.6268 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8383, allocations: 1.345 MB / 0.6281 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002469/0.8408, allocations: 0.6303 MB / 0.6287 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.8412, allocations: 103.4 kB / 0.6288 GB, free: 13.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8412, allocations: 0 / 0.6288 GB, free: 13.78 MB / 426.7 MB Notification: Performance of Templates: time 0.04748/0.8887, allocations: 27.83 MB / 0.656 GB, free: 1.91 MB / 442.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001.pipe 2>&1)