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.1038/0.1038, allocations: 21.41 MB / 36.66 MB, free: 1.121 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.001065/0.001065, allocations: 176.5 kB / 42.84 MB, free: 3.906 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.591/1.591, allocations: 205 MB / 253.9 MB, free: 15.06 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.0007073/0.0007072, allocations: 92.12 kB / 307.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 8.594 kB / 372.5 MB, free: 59.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.097/0.09742, allocations: 52.52 MB / 425 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.00291/0.1004, allocations: 2.592 MB / 427.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1015, allocations: 0.8501 MB / 428.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1017, allocations: 3.938 kB / 428.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.1018, allocations: 31.77 kB / 428.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.102, allocations: 123.2 kB / 428.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1024, allocations: 115.8 kB / 428.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.1028, allocations: 0.6399 MB / 429.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.1031, allocations: 288.9 kB / 429.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1033, allocations: 223.3 kB / 429.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1036, allocations: 339 kB / 430.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.1036, allocations: 40 kB / 430.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1038, allocations: 79.95 kB / 430.3 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1039, allocations: 159.5 kB / 430.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1041, allocations: 238.9 kB / 430.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1045, allocations: 0.5995 MB / 431.3 MB, free: 8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1045, allocations: 0 / 431.3 MB, free: 8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1045, allocations: 0 / 431.3 MB, free: 8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1045, allocations: 0 / 431.3 MB, free: 8 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.001412/0.1059, allocations: 0.7755 MB / 432.1 MB, free: 7.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1059, allocations: 12.03 kB / 432.1 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.106, allocations: 40.47 kB / 432.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1064, allocations: 342.5 kB / 432.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.1064, allocations: 21.03 kB / 432.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.1065, allocations: 36.38 kB / 432.5 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.1071, allocations: 478.1 kB / 433 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1071, allocations: 4 kB / 433 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.1072, allocations: 12 kB / 433 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1072, allocations: 4 kB / 433 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.1079, allocations: 0.5179 MB / 433.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.1098, allocations: 1.283 MB / 434.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.1104, allocations: 391.9 kB / 435.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.1108, allocations: 229.4 kB / 435.4 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.1109, allocations: 93.41 kB / 435.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.1109, allocations: 34.89 kB / 435.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002037/0.1111, allocations: 67.5 kB / 435.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.1111, allocations: 0 / 435.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001011/0.1122, allocations: 0.6345 MB / 436.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.1122, allocations: 63.33 kB / 436.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1125, allocations: 348.3 kB / 436.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.1125, allocations: 29.7 kB / 436.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1126, allocations: 200 kB / 436.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.1127, allocations: 153.8 kB / 437 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1128, allocations: 114.1 kB / 437.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.1129, allocations: 350.8 kB / 437.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.1132, allocations: 233 kB / 437.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.1136, allocations: 341.2 kB / 438 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.1143, allocations: 0.5662 MB / 438.6 MB, free: 392 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1143, allocations: 4 kB / 438.6 MB, free: 388 kB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000964/0.1153, allocations: 0.6701 MB / 439.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1153, allocations: 7.938 kB / 439.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1153, allocations: 7.984 kB / 439.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1153, allocations: 4 kB / 439.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.1163, allocations: 219.7 kB / 439.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1164, allocations: 8.312 kB / 439.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.1167, allocations: 31.97 kB / 439.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.1168, allocations: 20 kB / 439.5 MB, free: 15.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.117, allocations: 173.6 kB / 439.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.117, allocations: 47.45 kB / 439.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.1181, allocations: 0.552 MB / 440.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1181, allocations: 4 kB / 440.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1181, allocations: 0 / 440.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1182, allocations: 3.984 kB / 440.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.1198, allocations: 1.146 MB / 441.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1198, allocations: 4 kB / 441.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009772/0.1208, allocations: 183.7 kB / 441.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1208, allocations: 0 / 441.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.1209, allocations: 19.98 kB / 441.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1209, allocations: 0 / 441.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1209, allocations: 0 / 441.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.1222, allocations: 0.8517 MB / 442.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.522e-05/0.1224, allocations: 120.6 kB / 442.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.1224, allocations: 19.98 kB / 442.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.1227, allocations: 11.98 kB / 442.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.1228, allocations: 35.94 kB / 442.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1229, allocations: 12 kB / 442.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002309/0.1231, allocations: 243 kB / 443 MB, free: 11.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1231, allocations: 0 / 443 MB, free: 11.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000411/0.1235, allocations: 140.1 kB / 443.1 MB, free: 11.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001698/0.1237, allocations: 117.4 kB / 443.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009306/0.1247, allocations: 0.5655 MB / 443.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1247, allocations: 0 / 443.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.1251, allocations: 251.8 kB / 444 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.1256, allocations: 97.73 kB / 444.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.1286, allocations: 1.717 MB / 445.8 MB, free: 8.977 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1289, allocations: 0.816 MB / 446.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004113/0.1293, allocations: 135.2 kB / 446.8 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.1295, allocations: 43.42 kB / 446.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1295, allocations: 0 / 446.8 MB, free: 7.953 MB / 314.7 MB Notification: Performance of Templates: time 0.009877/0.1394, allocations: 6.005 MB / 452.8 MB, free: 1.949 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)