Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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_006,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_006") translateModel(AES.Devel_test_models.Test_liquid_circuit_006,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_006") [/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.1152/0.1152, allocations: 21.45 MB / 36.42 MB, free: 1.152 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.001238/0.001238, allocations: 185.4 kB / 42.65 MB, free: 3.988 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.707/1.707, allocations: 205.4 MB / 254.1 MB, free: 15.2 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.0007945/0.0007947, allocations: 88.48 kB / 307.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 8.781 kB / 373.3 MB, free: 59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 52.95 MB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.002165/0.1063, allocations: 2.146 MB / 428.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1075, allocations: 0.8153 MB / 429.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1076, allocations: 0 / 429.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1078, allocations: 39.69 kB / 429.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.108, allocations: 135.1 kB / 429.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1084, allocations: 103.8 kB / 429.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.1088, allocations: 0.5541 MB / 430 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.1091, allocations: 276.9 kB / 430.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1094, allocations: 219.3 kB / 430.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.1097, allocations: 339.1 kB / 430.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.1098, allocations: 36 kB / 430.9 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1099, allocations: 75.95 kB / 430.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.11, allocations: 155.5 kB / 431.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.1101, allocations: 101.5 kB / 431.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1105, allocations: 470.7 kB / 431.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1105, allocations: 0 / 431.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1105, allocations: 0 / 431.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1105, allocations: 0 / 431.6 MB, free: 7.543 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00142/0.1119, allocations: 0.7054 MB / 432.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.112, allocations: 12.03 kB / 432.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.1121, allocations: 43.44 kB / 432.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1124, allocations: 341.3 kB / 432.7 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1125, allocations: 24.66 kB / 432.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.1126, allocations: 36 kB / 432.8 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007263/0.1133, allocations: 465.8 kB / 433.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1133, allocations: 0 / 433.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.1134, allocations: 16 kB / 433.3 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1134, allocations: 8 kB / 433.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.1142, allocations: 0.5178 MB / 433.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.1164, allocations: 1.283 MB / 435.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.117, allocations: 379.9 kB / 435.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1174, allocations: 233.4 kB / 435.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.1175, allocations: 89.42 kB / 435.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1175, allocations: 34.89 kB / 435.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002295/0.1178, allocations: 63.56 kB / 435.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.096e-06/0.1178, allocations: 0 / 435.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0011/0.1189, allocations: 0.6425 MB / 436.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1189, allocations: 55.41 kB / 436.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.1192, allocations: 340.5 kB / 436.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.1193, allocations: 37.7 kB / 436.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.1194, allocations: 204 kB / 437.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.1195, allocations: 157.8 kB / 437.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.1195, allocations: 12 kB / 437.3 MB, free: 1.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.1196, allocations: 350.8 kB / 437.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.12, allocations: 229 kB / 437.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.1204, allocations: 341.2 kB / 438.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.1208, allocations: 278 kB / 438.5 MB, free: 456 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1208, allocations: 0 / 438.5 MB, free: 456 kB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001001/0.1218, allocations: 0.6584 MB / 439.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1218, allocations: 10.81 kB / 439.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1218, allocations: 8.359 kB / 439.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1219, allocations: 8 kB / 439.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.1229, allocations: 215.7 kB / 439.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.123, allocations: 11.94 kB / 439.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.1234, allocations: 27.98 kB / 439.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.1234, allocations: 27.94 kB / 439.4 MB, free: 15.48 MB / 314.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 (70): * Single equations (assignments): 70 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.1237, allocations: 169.6 kB / 439.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.1238, allocations: 43.53 kB / 439.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.1249, allocations: 0.5597 MB / 440.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1249, allocations: 4 kB / 440.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1249, allocations: 4 kB / 440.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.125, allocations: 3.984 kB / 440.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1269, allocations: 1.15 MB / 441.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1269, allocations: 0 / 441.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.128, allocations: 179.8 kB / 441.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.128, allocations: 4 kB / 441.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.128, allocations: 15.98 kB / 441.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1281, allocations: 11.95 kB / 441.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1281, allocations: 0 / 441.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1295, allocations: 0.8441 MB / 442.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1296, allocations: 116.6 kB / 442.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.1297, allocations: 12 kB / 442.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.13, allocations: 27.88 kB / 442.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1301, allocations: 31.91 kB / 442.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.1302, allocations: 11.98 kB / 442.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003218/0.1305, allocations: 243.1 kB / 442.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1305, allocations: 0 / 442.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000509/0.131, allocations: 136 kB / 443 MB, free: 11.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.1313, allocations: 115.1 kB / 443.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000995/0.1323, allocations: 0.554 MB / 443.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1323, allocations: 0 / 443.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.1327, allocations: 259.9 kB / 443.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.1333, allocations: 93.05 kB / 444 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.1367, allocations: 1.868 MB / 445.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.1371, allocations: 0.8161 MB / 446.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.1376, allocations: 131.3 kB / 446.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.1378, allocations: 43.42 kB / 446.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1378, allocations: 0 / 446.8 MB, free: 7.887 MB / 314.7 MB Notification: Performance of Templates: time 0.01018/0.148, allocations: 5.803 MB / 452.6 MB, free: 2.086 MB / 314.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_006.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_006 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)