Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_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.HP_heater_DaisyChain_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001") translateModel(AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07466/0.07466, allocations: 17.69 MB / 33.64 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.001123/0.001123, allocations: 179.1 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.717/1.717, allocations: 205.4 MB / 249.5 MB, free: 2.434 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.0007697/0.0007698, allocations: 88.81 kB / 302.2 MB, free: 4.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003907, allocations: 8 kB / 366.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 51.99 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3262, allocations: 83.92 MB / 0.4911 GB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.3266, allocations: 75.97 kB / 0.4911 GB, free: 4.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3075/0.6341, allocations: 37.75 MB / 0.528 GB, free: 58.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6342, allocations: 0 / 0.528 GB, free: 58.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.6344, allocations: 63.88 kB / 0.5281 GB, free: 58.8 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: 543 * Number of variables: 543 Notification: Performance of Generate backend data structure: time 0.008624/0.643, allocations: 2.843 MB / 0.5308 GB, free: 55.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.6431, allocations: 8.031 kB / 0.5308 GB, free: 55.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.6447, allocations: 273.8 kB / 0.5311 GB, free: 55.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.6489, allocations: 1.728 MB / 0.5328 GB, free: 53.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.6491, allocations: 156.6 kB / 0.5329 GB, free: 53.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.6503, allocations: 256.3 kB / 0.5332 GB, free: 53.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008306/0.6586, allocations: 3.316 MB / 0.5364 GB, free: 49.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.39e-05/0.6587, allocations: 0 / 0.5364 GB, free: 49.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006532/0.6594, allocations: 88 kB / 0.5365 GB, free: 49.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.6594, allocations: 52 kB / 0.5366 GB, free: 49.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005198/0.6646, allocations: 2.722 MB / 0.5392 GB, free: 47.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01807/0.6827, allocations: 13.4 MB / 0.5523 GB, free: 32.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008514/0.6913, allocations: 4.127 MB / 0.5563 GB, free: 28.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.6934, allocations: 1.405 MB / 0.5577 GB, free: 27.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.6937, allocations: 123.1 kB / 0.5578 GB, free: 27.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.6937, allocations: 52.56 kB / 0.5579 GB, free: 26.98 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001013/0.6948, allocations: 150.5 kB / 0.558 GB, free: 26.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=208): time 4.449e-06/0.6948, allocations: 3.938 kB / 0.558 GB, free: 26.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=208): time 0.01107/0.7059, allocations: 7.558 MB / 0.5654 GB, free: 18.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.7059, allocations: 73.41 kB / 0.5655 GB, free: 18.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.7074, allocations: 1.006 MB / 0.5665 GB, free: 17.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.7076, allocations: 61.7 kB / 0.5665 GB, free: 17.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.708, allocations: 0.7895 MB / 0.5673 GB, free: 16.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000591/0.7086, allocations: 0.8049 MB / 0.5681 GB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7088, allocations: 48 kB / 0.5681 GB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7089, allocations: 406.8 kB / 0.5685 GB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.711, allocations: 1.488 MB / 0.57 GB, free: 13.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.7131, allocations: 1.716 MB / 0.5716 GB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.7172, allocations: 3.305 MB / 0.5749 GB, free: 8.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.7172, allocations: 0 / 0.5749 GB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.006787/0.724, allocations: 4.515 MB / 0.5793 GB, free: 4.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.724, allocations: 4 kB / 0.5793 GB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.724, allocations: 4 kB / 0.5793 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.7266, allocations: 1.057 MB / 0.5803 GB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006766/0.7334, allocations: 1.088 MB / 0.5814 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03111/0.7645, allocations: 39.41 MB / 0.6199 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.7676, allocations: 167.8 kB / 0.62 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009062/0.7686, allocations: 75.98 kB / 0.6201 GB, free: 6.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 25 {(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%) 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} * Non-linear torn systems: 1 {5 9} Notification: Performance of prepare postOptimizeDAE: time 0.002786/0.7714, allocations: 0.6571 MB / 0.6207 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/0.7725, allocations: 162 kB / 0.6209 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.7825, allocations: 4.029 MB / 0.6248 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.7826, allocations: 20 kB / 0.6248 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/0.7826, allocations: 11.98 kB / 0.6248 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.7827, allocations: 7.969 kB / 0.6249 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/0.7976, allocations: 7.347 MB / 0.632 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.7977, allocations: 7.938 kB / 0.632 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007643/0.8053, allocations: 1.038 MB / 0.6331 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/0.8085, allocations: 1.048 MB / 0.6341 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006778/0.8092, allocations: 119.9 kB / 0.6342 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2505/1.06, allocations: 39.34 MB / 0.6726 GB, free: 106.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.06, allocations: 2.75 kB / 0.6726 GB, free: 106.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008516/1.068, allocations: 5.316 MB / 0.6778 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/1.069, allocations: 251.9 kB / 0.678 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/1.069, allocations: 118.5 kB / 0.6782 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/1.071, allocations: 136.7 kB / 0.6783 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/1.071, allocations: 184 kB / 0.6785 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.071, allocations: 61.55 kB / 0.6785 GB, free: 106.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008224/1.072, allocations: 0.6927 MB / 0.6792 GB, free: 106.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.072, allocations: 0 / 0.6792 GB, free: 106.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002441/1.075, allocations: 0.9435 MB / 0.6801 GB, free: 106.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],streamElecHtr.fluidStream.T[1],streamElecHtr.fluidStream.T[2],streamElecHtr.fluidStream.T[3],streamElecHtr.fluidStream.T[4],streamElecHtr.fluidStream.T[5],streamElecHtr.wall.wall.T[1,1],streamElecHtr.wall.wall.T[1,2],streamElecHtr.wall.wall.T[1,3],streamElecHtr.wall.wall.T[2,1],streamElecHtr.wall.wall.T[2,2],streamElecHtr.wall.wall.T[2,3],streamElecHtr.wall.wall.T[3,1],streamElecHtr.wall.wall.T[3,2],streamElecHtr.wall.wall.T[3,3],streamElecHtr.wall.wall.T[4,1],streamElecHtr.wall.wall.T[4,2],streamElecHtr.wall.wall.T[4,3],streamElecHtr.wall.wall.T[5,1],streamElecHtr.wall.wall.T[5,2],streamElecHtr.wall.wall.T[5,3],streamHP.fluidStream.T[1],streamHP.fluidStream.T[2],streamHP.fluidStream.T[3],streamHP.fluidStream.T[4],streamHP.fluidStream.T[5],streamHP.wall.wall.T[1,1],streamHP.wall.wall.T[1,2],streamHP.wall.wall.T[1,3],streamHP.wall.wall.T[2,1],streamHP.wall.wall.T[2,2],streamHP.wall.wall.T[2,3],streamHP.wall.wall.T[3,1],streamHP.wall.wall.T[3,2],streamHP.wall.wall.T[3,3],streamHP.wall.wall.T[4,1],streamHP.wall.wall.T[4,2],streamHP.wall.wall.T[4,3],streamHP.wall.wall.T[5,1],streamHP.wall.wall.T[5,2],streamHP.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 (174): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 25 {(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%) 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} * Non-linear torn systems: 1 {5 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004236/1.075, allocations: 261.8 kB / 0.6804 GB, free: 106.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/1.086, allocations: 6.814 MB / 0.687 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.086, allocations: 0 / 0.687 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009274/1.095, allocations: 5.134 MB / 0.692 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/1.098, allocations: 0.5571 MB / 0.6926 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.114, allocations: 12.15 MB / 0.7044 GB, free: 94.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.115, allocations: 1.787 MB / 0.7062 GB, free: 93.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002299/1.117, allocations: 0.6331 MB / 0.7068 GB, free: 93.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/1.118, allocations: 133.8 kB / 0.7069 GB, free: 93.48 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/1.118, allocations: 0 / 0.7069 GB, free: 93.48 MB / 442.7 MB Notification: Performance of Templates: time 0.05761/1.176, allocations: 42.05 MB / 0.748 GB, free: 59.58 MB / 442.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.sim & ./AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Generation.HP_heater_DaisyChain_case_001.pipe 2>&1)