Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108.7 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 188.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09423/0.09423, allocations: 22.32 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08857, allocations: 54.95 MB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst): time 0.004673/0.09327, allocations: 3.412 MB / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.09471, allocations: 0.6308 MB / 496.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.09506, allocations: 15.88 kB / 496.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.09533, allocations: 79.11 kB / 496.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.09578, allocations: 130.7 kB / 497 MB, free: 460 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.09645, allocations: 310.6 kB / 497.3 MB, free: 152 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.09723, allocations: 0.6862 MB / 498 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.09769, allocations: 313.7 kB / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.09794, allocations: 255.1 kB / 498.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.09826, allocations: 290.6 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.07e-05/0.09836, allocations: 68 kB / 498.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.09845, allocations: 64 kB / 498.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.09859, allocations: 143.6 kB / 499.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.09885, allocations: 302.5 kB / 499.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.09952, allocations: 0.6923 MB / 0.4883 GB, free: 13.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.09954, allocations: 4 kB / 0.4883 GB, free: 13.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09954, allocations: 0 / 0.4883 GB, free: 13.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.09956, allocations: 4 kB / 0.4883 GB, free: 13.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001486/0.1011, allocations: 0.8999 MB / 0.4892 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1011, allocations: 8.031 kB / 0.4892 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.1012, allocations: 68.52 kB / 0.4893 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.1017, allocations: 395.2 kB / 0.4897 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.1017, allocations: 41.69 kB / 0.4897 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/0.1018, allocations: 52.38 kB / 0.4898 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009879/0.1028, allocations: 0.5791 MB / 0.4903 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1028, allocations: 4.188 kB / 0.4903 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.1029, allocations: 23.94 kB / 0.4903 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1029, allocations: 12 kB / 0.4904 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/0.1039, allocations: 440.9 kB / 0.4908 GB, free: 10.73 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.1064, allocations: 2.005 MB / 0.4927 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.1074, allocations: 441.7 kB / 0.4932 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004991/0.1079, allocations: 266.1 kB / 0.4934 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.1079, allocations: 12.41 kB / 0.4934 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.108, allocations: 42.98 kB / 0.4935 GB, free: 7.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/0.108, allocations: 0 / 0.4935 GB, free: 7.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001378/0.1094, allocations: 0.6042 MB / 0.4941 GB, free: 7.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.1094, allocations: 133 kB / 0.4942 GB, free: 6.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.1097, allocations: 280.6 kB / 0.4944 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.1098, allocations: 41.7 kB / 0.4945 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1099, allocations: 269 kB / 0.4947 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.1101, allocations: 178.5 kB / 0.4949 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1102, allocations: 90.23 kB / 0.495 GB, free: 6.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1103, allocations: 346.8 kB / 0.4953 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.1108, allocations: 175 kB / 0.4955 GB, free: 5.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.1112, allocations: 265.5 kB / 0.4958 GB, free: 5.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.1152, allocations: 0.9723 MB / 0.4967 GB, free: 4.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1152, allocations: 0 / 0.4967 GB, free: 4.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001032/0.1162, allocations: 0.5182 MB / 0.4972 GB, free: 3.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1162, allocations: 10.19 kB / 0.4972 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1163, allocations: 0 / 0.4972 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1163, allocations: 4.109 kB / 0.4972 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.1168, allocations: 127.7 kB / 0.4973 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1169, allocations: 7.984 kB / 0.4973 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.1172, allocations: 63.8 kB / 0.4974 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.1172, allocations: 16 kB / 0.4974 GB, free: 3.582 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: Ccen.T:VARIABLE(min = 0.0 start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc2.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004668/0.1177, allocations: 262.2 kB / 0.4977 GB, free: 3.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003367/0.118, allocations: 225.7 kB / 0.4979 GB, free: 3.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003401/0.1215, allocations: 0.8708 MB / 0.4987 GB, free: 2.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1215, allocations: 0 / 0.4987 GB, free: 2.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0007632/0.1222, allocations: 462.7 kB / 0.4992 GB, free: 1.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.1223, allocations: 4 kB / 0.4992 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1223, allocations: 4 kB / 0.4992 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.1223, allocations: 0 / 0.4992 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.1228, allocations: 115.8 kB / 0.4993 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1228, allocations: 0 / 0.4993 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1231, allocations: 47.77 kB / 0.4993 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.1231, allocations: 19.98 kB / 0.4994 GB, free: 1.539 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: Ccen.T:VARIABLE(min = 0.0 start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc2.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real 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 (60): * Single equations (assignments): 60 * 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.0001862/0.1233, allocations: 214 kB / 0.4996 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.1234, allocations: 43.72 kB / 0.4996 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.1246, allocations: 0.6091 MB / 0.5002 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1247, allocations: 4 kB / 0.5002 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1247, allocations: 0 / 0.5002 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.1248, allocations: 128.7 kB / 0.5003 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.1248, allocations: 12 kB / 0.5003 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.1251, allocations: 27.97 kB / 0.5004 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.1252, allocations: 40.45 kB / 0.5004 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1831/0.3083, allocations: 0.6569 MB / 0.5011 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001616/0.3099, allocations: 0.9565 MB / 0.502 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003924/0.3104, allocations: 253.8 kB / 0.5022 GB, free: 21.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.3105, allocations: 202.1 kB / 0.5024 GB, free: 21.76 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.3106, allocations: 1.312 kB / 0.5024 GB, free: 21.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.3118, allocations: 0.5657 MB / 0.503 GB, free: 21.7 MB / 382.1 MB Notification: Performance of SimCode: time 0.001592/0.3134, allocations: 1.499 MB / 0.5044 GB, free: 20.77 MB / 382.1 MB Notification: Performance of Templates: time 0.01391/0.3274, allocations: 7.132 MB / 0.5114 GB, free: 20.48 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_02_LocFirst.pipe 2>&1)