Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_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_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_001") translateModel(AES.Devel_test_models.Test_liquid_circuit_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_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.108/0.108, allocations: 21.45 MB / 36.39 MB, free: 1.184 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.001674/0.001674, allocations: 182.4 kB / 42.62 MB, free: 3.984 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.844/1.844, allocations: 205.4 MB / 254.1 MB, free: 15.21 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.001054/0.001054, allocations: 94.25 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 13.09 kB / 373.2 MB, free: 59.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1297, allocations: 52.96 MB / 426.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4868/0.6166, allocations: 81.13 MB / 0.4954 GB, free: 17.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.6169, allocations: 72.38 kB / 0.4955 GB, free: 17.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.6351, allocations: 5.86 MB / 0.5012 GB, free: 16.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6352, allocations: 0 / 0.5012 GB, free: 16.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.6352, allocations: 7.25 kB / 0.5012 GB, free: 16.96 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001502/0.6367, allocations: 0.6508 MB / 0.5019 GB, free: 16.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.6368, allocations: 9.406 kB / 0.5019 GB, free: 16.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.6369, allocations: 52.83 kB / 0.5019 GB, free: 16.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/0.6375, allocations: 326.3 kB / 0.5022 GB, free: 16.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.6375, allocations: 23.22 kB / 0.5023 GB, free: 16.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.6376, allocations: 36.98 kB / 0.5023 GB, free: 16.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.6387, allocations: 440.9 kB / 0.5027 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6387, allocations: 0.6562 kB / 0.5027 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.6387, allocations: 14.16 kB / 0.5027 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.6388, allocations: 6.875 kB / 0.5027 GB, free: 16.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.6396, allocations: 392.8 kB / 0.5031 GB, free: 16.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.6427, allocations: 1.358 MB / 0.5044 GB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.6433, allocations: 303.5 kB / 0.5047 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.6435, allocations: 87.66 kB / 0.5048 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6435, allocations: 38.53 kB / 0.5048 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003504/0.6439, allocations: 61.94 kB / 0.5049 GB, free: 15.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.625e-06/0.6439, allocations: 0 / 0.5049 GB, free: 15.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002575/0.6465, allocations: 0.712 MB / 0.5056 GB, free: 15.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.6465, allocations: 58.66 kB / 0.5057 GB, free: 15.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.6469, allocations: 280.1 kB / 0.5059 GB, free: 15.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.647, allocations: 30.45 kB / 0.506 GB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.6472, allocations: 200.5 kB / 0.5061 GB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6473, allocations: 105.2 kB / 0.5062 GB, free: 15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.6473, allocations: 4.969 kB / 0.5062 GB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6474, allocations: 344.4 kB / 0.5066 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.6478, allocations: 158.2 kB / 0.5067 GB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.6482, allocations: 210.3 kB / 0.5069 GB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.6486, allocations: 179.3 kB / 0.5071 GB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6486, allocations: 5.156 kB / 0.5071 GB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001897/0.6505, allocations: 0.5651 MB / 0.5077 GB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6506, allocations: 5.312 kB / 0.5077 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6506, allocations: 1.219 kB / 0.5077 GB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.6524, allocations: 170.6 kB / 0.5078 GB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.6531, allocations: 103.5 kB / 0.5079 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004815/0.6536, allocations: 0.5809 MB / 0.5085 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.6539, allocations: 14.5 kB / 0.5085 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.654, allocations: 14.36 kB / 0.5085 GB, free: 13.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.6543, allocations: 166.8 kB / 0.5087 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.6544, allocations: 29.97 kB / 0.5087 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.6564, allocations: 0.5496 MB / 0.5092 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.6564, allocations: 3.75 kB / 0.5092 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6564, allocations: 4.953 kB / 0.5093 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6564, allocations: 4 kB / 0.5093 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.6603, allocations: 1.114 MB / 0.5103 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6603, allocations: 1.375 kB / 0.5103 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.6608, allocations: 90.47 kB / 0.5104 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.6626, allocations: 173.1 kB / 0.5106 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.6627, allocations: 9.703 kB / 0.5106 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004963/0.6632, allocations: 0.5809 MB / 0.5112 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6632, allocations: 1.062 kB / 0.5112 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.6654, allocations: 0.8309 MB / 0.512 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.6656, allocations: 110 kB / 0.5121 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/0.6656, allocations: 7.625 kB / 0.5121 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.6659, allocations: 12.25 kB / 0.5121 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.666, allocations: 34.52 kB / 0.5121 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.6661, allocations: 12.27 kB / 0.5122 GB, free: 28.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004719/0.6666, allocations: 223.8 kB / 0.5124 GB, free: 28.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6666, allocations: 0.5 kB / 0.5124 GB, free: 28.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006941/0.6673, allocations: 116.3 kB / 0.5125 GB, free: 28.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/0.6676, allocations: 119.2 kB / 0.5126 GB, free: 28.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009298/0.6685, allocations: 408.7 kB / 0.513 GB, free: 28.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6685, allocations: 0 / 0.513 GB, free: 28.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.6689, allocations: 215.4 kB / 0.5132 GB, free: 28.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.6694, allocations: 78.66 kB / 0.5133 GB, free: 28.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.6714, allocations: 1.231 MB / 0.5145 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.6718, allocations: 0.8096 MB / 0.5153 GB, free: 26.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.6721, allocations: 71.42 kB / 0.5153 GB, free: 26.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6723, allocations: 39.38 kB / 0.5154 GB, free: 26.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6723, allocations: 0 / 0.5154 GB, free: 26.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01035/0.6826, allocations: 5.161 MB / 0.5204 GB, free: 26.54 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_001.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1)