Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") [/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.0942/0.0942, allocations: 21.61 MB / 36.56 MB, free: 1.055 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.4 kB / 42.83 MB, free: 3.781 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.2 MB / 272.2 MB, free: 1.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007989/0.0007989, allocations: 104.5 kB / 328.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 15.98 kB / 397 MB, free: 46.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09383, allocations: 55.82 MB / 452.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3769, allocations: 83.92 MB / 0.5242 GB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.3771, allocations: 69.88 kB / 0.5243 GB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02687/0.404, allocations: 12.29 MB / 0.5363 GB, free: 8.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.404, allocations: 0 / 0.5363 GB, free: 8.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.918e-05/0.4041, allocations: 19.56 kB / 0.5363 GB, free: 8.781 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001731/0.4058, allocations: 1.049 MB / 0.5373 GB, free: 8.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.4059, allocations: 7.719 kB / 0.5373 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.406, allocations: 89.41 kB / 0.5374 GB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.4068, allocations: 0.5753 MB / 0.538 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.4069, allocations: 72.39 kB / 0.538 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.407, allocations: 79.88 kB / 0.5381 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4083, allocations: 0.9389 MB / 0.539 GB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.4083, allocations: 0 / 0.539 GB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/0.4084, allocations: 30.33 kB / 0.5391 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4084, allocations: 15.44 kB / 0.5391 GB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/0.4094, allocations: 0.7318 MB / 0.5398 GB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.4136, allocations: 3.775 MB / 0.5435 GB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.4156, allocations: 0.921 MB / 0.5444 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.4156, allocations: 11.69 kB / 0.5444 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.4157, allocations: 45.08 kB / 0.5444 GB, free: 4.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 1.784e-06/0.4157, allocations: 0 / 0.5444 GB, free: 4.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.004267/0.4199, allocations: 2.869 MB / 0.5472 GB, free: 3.703 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.42, allocations: 55.78 kB / 0.5473 GB, free: 3.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.4203, allocations: 384.9 kB / 0.5476 GB, free: 3.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.4204, allocations: 35.33 kB / 0.5477 GB, free: 3.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4205, allocations: 322.3 kB / 0.548 GB, free: 3.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.4206, allocations: 229.6 kB / 0.5482 GB, free: 3.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.4207, allocations: 15.44 kB / 0.5482 GB, free: 3.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.4208, allocations: 369.9 kB / 0.5486 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.4213, allocations: 448.6 kB / 0.549 GB, free: 2.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.4219, allocations: 0.5168 MB / 0.5495 GB, free: 2.52 MB / 362.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.005824/0.4277, allocations: 2.076 MB / 0.5515 GB, free: 1.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4278, allocations: 0 / 0.5515 GB, free: 1.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001834/0.4296, allocations: 1.247 MB / 0.5527 GB, free: 456 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/0.4299, allocations: 1.145 MB / 0.5539 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.43, allocations: 0 / 0.5539 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.4307, allocations: 219.8 kB / 0.5541 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4319, allocations: 258.2 kB / 0.5543 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/0.437, allocations: 7.4 MB / 0.5615 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.4376, allocations: 54.48 kB / 0.5616 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.4377, allocations: 23.88 kB / 0.5616 GB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.4377, allocations: 4 kB / 0.5616 GB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/0.4397, allocations: 1.168 MB / 0.5628 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4398, allocations: 0 / 0.5628 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.4404, allocations: 219 kB / 0.563 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4417, allocations: 258.3 kB / 0.5632 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.4469, allocations: 7.407 MB / 0.5705 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.4475, allocations: 42.83 kB / 0.5705 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.4476, allocations: 31.27 kB / 0.5705 GB, free: 14.47 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.tube.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 86 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005527/0.4482, allocations: 353.3 kB / 0.5709 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4483, allocations: 47.44 kB / 0.5709 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.45, allocations: 0.9998 MB / 0.5719 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.45, allocations: 11.94 kB / 0.5719 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.45, allocations: 0 / 0.5719 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.45, allocations: 3.984 kB / 0.5719 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.453, allocations: 2.014 MB / 0.5739 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.453, allocations: 0 / 0.5739 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.4544, allocations: 235.8 kB / 0.5741 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/0.4549, allocations: 172.2 kB / 0.5743 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.455, allocations: 39.91 kB / 0.5743 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004808/0.4598, allocations: 6.974 MB / 0.5811 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4599, allocations: 0 / 0.5811 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.4622, allocations: 1.415 MB / 0.5825 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.4624, allocations: 136.5 kB / 0.5826 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4625, allocations: 31.98 kB / 0.5826 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.463, allocations: 39.88 kB / 0.5827 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.4631, allocations: 48.48 kB / 0.5827 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.4632, allocations: 19.98 kB / 0.5828 GB, free: 1.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000383/0.4636, allocations: 295.2 kB / 0.583 GB, free: 1.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4636, allocations: 0 / 0.583 GB, free: 1.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0012/0.4648, allocations: 399.9 kB / 0.5834 GB, free: 1.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000199/0.465, allocations: 149.3 kB / 0.5836 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.4682, allocations: 2.582 MB / 0.5861 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4682, allocations: 4.062 kB / 0.5861 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.4693, allocations: 0.9653 MB / 0.587 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.4699, allocations: 169.5 kB / 0.5872 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.4753, allocations: 3.648 MB / 0.5907 GB, free: 9.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.4759, allocations: 0.9977 MB / 0.5917 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008588/0.4767, allocations: 320.5 kB / 0.592 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.4769, allocations: 51.42 kB / 0.5921 GB, free: 8.094 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4769, allocations: 0 / 0.5921 GB, free: 8.094 MB / 410.7 MB Notification: Performance of Templates: time 0.01734/0.4943, allocations: 12.1 MB / 0.6039 GB, free: 12.13 MB / 426.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_003.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)