Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HSrecycle_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.Devel_test_models.Test_HSrecycle_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HSrecycle_001") translateModel(AES.Devel_test_models.Test_HSrecycle_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HSrecycle_001") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1287/0.1287, allocations: 21.45 MB / 36.4 MB, free: 1.211 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.001115/0.001115, allocations: 179.7 kB / 42.62 MB, free: 4.008 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 254.1 MB, free: 15.25 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.0009621/0.0009619, allocations: 94.86 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.000355, allocations: 8.781 kB / 373.2 MB, free: 58.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 52.96 MB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.5182, allocations: 86.21 MB / 0.5004 GB, free: 17.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.5185, allocations: 73.42 kB / 0.5005 GB, free: 17.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06597/0.5845, allocations: 27.23 MB / 0.527 GB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5845, allocations: 0 / 0.527 GB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.516e-05/0.5846, allocations: 42.81 kB / 0.5271 GB, free: 13.73 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: 373 * Number of variables: 373 Notification: Performance of Generate backend data structure: time 0.004651/0.5893, allocations: 2.051 MB / 0.5291 GB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5894, allocations: 15.61 kB / 0.5291 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.5897, allocations: 193.5 kB / 0.5293 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.5924, allocations: 1.253 MB / 0.5305 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5925, allocations: 144.3 kB / 0.5306 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.5928, allocations: 172.4 kB / 0.5308 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.5964, allocations: 2.145 MB / 0.5329 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.5965, allocations: 0 / 0.5329 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002261/0.5967, allocations: 63.03 kB / 0.533 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.5967, allocations: 38.38 kB / 0.533 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.5998, allocations: 1.824 MB / 0.5348 GB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009536/0.6093, allocations: 6.409 MB / 0.541 GB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/0.6144, allocations: 2.344 MB / 0.5433 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.6146, allocations: 117 kB / 0.5434 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6147, allocations: 47.11 kB / 0.5435 GB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000981/0.6157, allocations: 170.4 kB / 0.5436 GB, free: 6.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=137): time 2.925e-06/0.6157, allocations: 0 / 0.5436 GB, free: 6.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.009351/0.625, allocations: 4.533 MB / 0.5481 GB, free: 21.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.6252, allocations: 149 kB / 0.5482 GB, free: 20.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.6264, allocations: 0.7589 MB / 0.549 GB, free: 20.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.6266, allocations: 54.64 kB / 0.549 GB, free: 20.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.627, allocations: 0.6192 MB / 0.5496 GB, free: 20.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.6274, allocations: 0.5219 MB / 0.5501 GB, free: 19.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.6276, allocations: 32.22 kB / 0.5502 GB, free: 19.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.6278, allocations: 378.3 kB / 0.5505 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.6292, allocations: 0.9801 MB / 0.5515 GB, free: 19.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.6306, allocations: 1.139 MB / 0.5526 GB, free: 19.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.6323, allocations: 1.089 MB / 0.5536 GB, free: 18.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.6323, allocations: 0 / 0.5536 GB, free: 18.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005965/0.6382, allocations: 2.962 MB / 0.5565 GB, free: 17.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005601/0.6388, allocations: 1.68 MB / 0.5582 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6388, allocations: 3.75 kB / 0.5582 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003831/0.6427, allocations: 0.7581 MB / 0.5589 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.645, allocations: 491.1 kB / 0.5594 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.6561, allocations: 14.82 MB / 0.5739 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.6586, allocations: 102.5 kB / 0.574 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.6588, allocations: 72.75 kB / 0.574 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.6588, allocations: 3.219 kB / 0.574 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00595/0.6647, allocations: 2.675 MB / 0.5766 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.6648, allocations: 8.062 kB / 0.5767 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003753/0.6685, allocations: 0.7259 MB / 0.5774 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/0.6709, allocations: 476.7 kB / 0.5778 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.6814, allocations: 14.76 MB / 0.5922 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.6836, allocations: 104 kB / 0.5923 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.6838, allocations: 59.97 kB / 0.5924 GB, free: 14.38 MB / 410.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: 19 * 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 (185): * Single equations (assignments): 174 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001429/0.6852, allocations: 0.517 MB / 0.5929 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.6855, allocations: 126.5 kB / 0.593 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00612/0.6917, allocations: 2.698 MB / 0.5956 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.6917, allocations: 16 kB / 0.5957 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.6917, allocations: 0 / 0.5957 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.6917, allocations: 11.97 kB / 0.5957 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009343/0.7011, allocations: 4.587 MB / 0.6002 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.7011, allocations: 8 kB / 0.6002 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/0.7035, allocations: 423.5 kB / 0.6006 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003713/0.7072, allocations: 0.778 MB / 0.6013 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/0.7075, allocations: 79.95 kB / 0.6014 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.7199, allocations: 14.82 MB / 0.6159 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7199, allocations: 7.969 kB / 0.6159 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00843/0.7283, allocations: 3.534 MB / 0.6193 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000887/0.7293, allocations: 223.3 kB / 0.6195 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.7296, allocations: 63.98 kB / 0.6196 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.7307, allocations: 91.81 kB / 0.6197 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/0.731, allocations: 113.1 kB / 0.6198 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.7312, allocations: 43.98 kB / 0.6198 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001036/0.7322, allocations: 0.5944 MB / 0.6204 GB, free: 88 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7322, allocations: 0 / 0.6204 GB, free: 88 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.003002/0.7352, allocations: 0.9509 MB / 0.6214 GB, free: 15.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 48 (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_To.FO.y,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 (125): * Single equations (assignments): 114 * 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 {4 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004217/0.7357, allocations: 210.4 kB / 0.6216 GB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008767/0.7444, allocations: 5.634 MB / 0.6271 GB, free: 9.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.7445, allocations: 3.938 kB / 0.6271 GB, free: 9.023 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/0.7475, allocations: 2.203 MB / 0.6292 GB, free: 6.688 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.7492, allocations: 383.1 kB / 0.6296 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.7605, allocations: 7.427 MB / 0.6368 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.7616, allocations: 1.429 MB / 0.6382 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002164/0.7638, allocations: 0.6467 MB / 0.6389 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.7642, allocations: 111.4 kB / 0.639 GB, free: 12.62 MB / 458.7 MB Notification: Performance of SimCode: time 2.455e-06/0.7642, allocations: 0 / 0.639 GB, free: 12.62 MB / 458.7 MB Notification: Performance of Templates: time 0.2813/1.046, allocations: 29.14 MB / 0.6674 GB, free: 145.6 MB / 474.7 MB make -j1 -f AES_AES.Devel_test_models.Test_HSrecycle_001.makefile (rm -f AES_AES.Devel_test_models.Test_HSrecycle_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HSrecycle_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HSrecycle_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HSrecycle_001.sim & ./AES_AES.Devel_test_models.Test_HSrecycle_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_HSrecycle_001.pipe 2>&1)