Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") translateModel(AES.Devel_test_models.Test_liquid_circuit_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_002") [/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.09706/0.09706, allocations: 21.61 MB / 36.56 MB, free: 1.066 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.001087/0.001087, allocations: 186.4 kB / 42.83 MB, free: 3.789 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.257/1.257, allocations: 223.2 MB / 272.1 MB, free: 1.805 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.0008448/0.0008448, allocations: 114 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003345, allocations: 8 kB / 397 MB, free: 46.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09438, allocations: 55.82 MB / 452.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2907/0.3851, allocations: 83.21 MB / 0.5235 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000167/0.3853, allocations: 69.77 kB / 0.5236 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02449/0.4098, allocations: 11.25 MB / 0.5346 GB, free: 8.965 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4098, allocations: 7.781 kB / 0.5346 GB, free: 8.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.4099, allocations: 11.47 kB / 0.5346 GB, free: 8.961 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001986/0.4119, allocations: 1.002 MB / 0.5356 GB, free: 8.281 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4119, allocations: 7.688 kB / 0.5356 GB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.412, allocations: 73.25 kB / 0.5356 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.4129, allocations: 0.5601 MB / 0.5362 GB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4129, allocations: 43.56 kB / 0.5362 GB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.413, allocations: 65.16 kB / 0.5363 GB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4141, allocations: 0.8632 MB / 0.5371 GB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4141, allocations: 3.953 kB / 0.5371 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.518e-05/0.4142, allocations: 22.38 kB / 0.5372 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4142, allocations: 15.06 kB / 0.5372 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.4152, allocations: 0.6765 MB / 0.5378 GB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.419, allocations: 3.606 MB / 0.5413 GB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.4211, allocations: 0.8921 MB / 0.5422 GB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.4211, allocations: 12.27 kB / 0.5422 GB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.4212, allocations: 38.62 kB / 0.5423 GB, free: 5.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.444e-06/0.4212, allocations: 0 / 0.5423 GB, free: 5.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.002674/0.4238, allocations: 1.72 MB / 0.5439 GB, free: 4.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.4239, allocations: 63.55 kB / 0.544 GB, free: 4.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.4242, allocations: 358.4 kB / 0.5443 GB, free: 4.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.4243, allocations: 36.67 kB / 0.5444 GB, free: 4.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4244, allocations: 295.9 kB / 0.5447 GB, free: 4.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4245, allocations: 208 kB / 0.5449 GB, free: 3.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4245, allocations: 13.12 kB / 0.5449 GB, free: 3.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.62e-05/0.4246, allocations: 363.1 kB / 0.5452 GB, free: 3.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.4251, allocations: 391.8 kB / 0.5456 GB, free: 3.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.4256, allocations: 489.4 kB / 0.5461 GB, free: 3.336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.4262, allocations: 474.9 kB / 0.5465 GB, free: 3.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4262, allocations: 0 / 0.5465 GB, free: 3.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002001/0.4282, allocations: 1.218 MB / 0.5477 GB, free: 3.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4284, allocations: 0.8802 MB / 0.5486 GB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4284, allocations: 7.844 kB / 0.5486 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4294, allocations: 282.7 kB / 0.5488 GB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007997/0.4302, allocations: 200.3 kB / 0.549 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/0.4354, allocations: 7.995 MB / 0.5568 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.436, allocations: 85.02 kB / 0.5569 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.436, allocations: 18.53 kB / 0.5569 GB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.436, allocations: 3.75 kB / 0.5569 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001968/0.438, allocations: 1.141 MB / 0.5581 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.438, allocations: 4 kB / 0.5581 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009027/0.4389, allocations: 269.2 kB / 0.5583 GB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.4398, allocations: 199.5 kB / 0.5585 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/0.4465, allocations: 8.894 MB / 0.5672 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.4472, allocations: 77.27 kB / 0.5673 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.4473, allocations: 23.92 kB / 0.5673 GB, free: 0.6055 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (77): * Single equations (assignments): 71 * 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: 6 * 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: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000442/0.4477, allocations: 329.7 kB / 0.5676 GB, free: 348 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.4478, allocations: 47.44 kB / 0.5677 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.4495, allocations: 0.9503 MB / 0.5686 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4495, allocations: 4 kB / 0.5686 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4495, allocations: 4.094 kB / 0.5686 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4496, allocations: 7.969 kB / 0.5686 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.4505, allocations: 0.8585 MB / 0.5694 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4505, allocations: 0 / 0.5694 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.4518, allocations: 206.5 kB / 0.5696 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.4523, allocations: 180.5 kB / 0.5698 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-05/0.4524, allocations: 29.92 kB / 0.5698 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.4571, allocations: 6.983 MB / 0.5767 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4571, allocations: 3.938 kB / 0.5767 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.4592, allocations: 1.302 MB / 0.5779 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.4595, allocations: 138.8 kB / 0.5781 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.4596, allocations: 32.55 kB / 0.5781 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.46, allocations: 39.05 kB / 0.5781 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.4601, allocations: 45.81 kB / 0.5782 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.4602, allocations: 15.05 kB / 0.5782 GB, free: 6.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000399/0.4606, allocations: 284 kB / 0.5785 GB, free: 6.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4606, allocations: 0 / 0.5785 GB, free: 6.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00134/0.4619, allocations: 428.9 kB / 0.5789 GB, free: 5.719 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (tube.fluidStream.w,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]) * 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 (48): * Single equations (assignments): 43 * 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.0002362/0.4622, allocations: 145.4 kB / 0.579 GB, free: 5.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003913/0.4661, allocations: 2.652 MB / 0.5816 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4661, allocations: 0 / 0.5816 GB, free: 2.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.4673, allocations: 0.9611 MB / 0.5825 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.4679, allocations: 153.4 kB / 0.5827 GB, free: 1.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.4731, allocations: 3.353 MB / 0.586 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.4737, allocations: 0.9742 MB / 0.5869 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009297/0.4746, allocations: 308.2 kB / 0.5872 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4748, allocations: 47.42 kB / 0.5872 GB, free: 12.86 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4749, allocations: 0 / 0.5872 GB, free: 12.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01937/0.4942, allocations: 12.29 MB / 0.5992 GB, free: 0.7227 MB / 410.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_002.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)