Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.00117/0.00117, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.295/1.295, 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.09444/0.09444, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 55.91 kB / 437.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1044, allocations: 54.96 MB / 492.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.004146/0.1086, allocations: 3.161 MB / 495.8 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1102, allocations: 0.8842 MB / 496.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.1106, allocations: 12 kB / 496.7 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.1109, allocations: 71.25 kB / 496.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1113, allocations: 107 kB / 496.9 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.1118, allocations: 199.6 kB / 497.1 MB, free: 432 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005624/0.1124, allocations: 466.9 kB / 497.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.1127, allocations: 214.1 kB / 497.8 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1129, allocations: 171.3 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1132, allocations: 179.1 kB / 498.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.1132, allocations: 40 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.1133, allocations: 44 kB / 498.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.1134, allocations: 87.62 kB / 498.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1136, allocations: 202.9 kB / 498.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.1141, allocations: 473.9 kB / 498.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1141, allocations: 0 / 498.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1141, allocations: 0 / 498.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1141, allocations: 0 / 498.9 MB, free: 14.57 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001074/0.1152, allocations: 0.7013 MB / 499.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1152, allocations: 8.031 kB / 499.7 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.681e-05/0.1153, allocations: 52.66 kB / 499.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.1158, allocations: 331.5 kB / 0.4883 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1158, allocations: 25.38 kB / 0.4883 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.1159, allocations: 36.33 kB / 0.4884 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.1165, allocations: 376.2 kB / 0.4887 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1166, allocations: 0 / 0.4887 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.1166, allocations: 16 kB / 0.4887 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1166, allocations: 12 kB / 0.4888 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.1172, allocations: 243.9 kB / 0.489 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.1191, allocations: 1.311 MB / 0.4903 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.1197, allocations: 286.8 kB / 0.4905 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.12, allocations: 129.2 kB / 0.4907 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.12, allocations: 4.234 kB / 0.4907 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1201, allocations: 34.8 kB / 0.4907 GB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.1201, allocations: 3.938 kB / 0.4907 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.000721/0.1208, allocations: 329.6 kB / 0.491 GB, free: 10.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1209, allocations: 77.11 kB / 0.4911 GB, free: 10.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1211, allocations: 275 kB / 0.4914 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1212, allocations: 29.7 kB / 0.4914 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1213, allocations: 220.4 kB / 0.4916 GB, free: 9.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.1214, allocations: 99.16 kB / 0.4917 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.1215, allocations: 53.7 kB / 0.4917 GB, free: 9.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1216, allocations: 342.8 kB / 0.4921 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1218, allocations: 96.62 kB / 0.4922 GB, free: 9.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.122, allocations: 146.8 kB / 0.4923 GB, free: 9.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1225, allocations: 246.7 kB / 0.4925 GB, free: 8.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1225, allocations: 0 / 0.4925 GB, free: 8.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005467/0.1231, allocations: 317.1 kB / 0.4928 GB, free: 8.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1231, allocations: 6.5 kB / 0.4928 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1231, allocations: 7.984 kB / 0.4928 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1231, allocations: 0 / 0.4928 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1234, allocations: 71.91 kB / 0.4929 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1235, allocations: 4 kB / 0.4929 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.1236, allocations: 31.77 kB / 0.493 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1237, allocations: 12.19 kB / 0.493 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000238/0.1239, allocations: 188.1 kB / 0.4931 GB, free: 8.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.1241, allocations: 139.7 kB / 0.4933 GB, free: 8.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003262/0.1244, allocations: 218.2 kB / 0.4935 GB, free: 7.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.1244, allocations: 0 / 0.4935 GB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004481/0.1249, allocations: 277.4 kB / 0.4937 GB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.1249, allocations: 8.031 kB / 0.4938 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1249, allocations: 4 kB / 0.4938 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.1249, allocations: 0 / 0.4938 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1252, allocations: 67.91 kB / 0.4938 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1252, allocations: 7.938 kB / 0.4938 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1254, allocations: 19.89 kB / 0.4939 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1254, allocations: 12 kB / 0.4939 GB, free: 7.441 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001157/0.1255, allocations: 196.9 kB / 0.4941 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1256, allocations: 43.73 kB / 0.4941 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.1262, allocations: 273.4 kB / 0.4944 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1262, allocations: 3.938 kB / 0.4944 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1262, allocations: 0 / 0.4944 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1263, allocations: 132.8 kB / 0.4945 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.1263, allocations: 4 kB / 0.4945 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1265, allocations: 15.98 kB / 0.4945 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.1266, allocations: 15.98 kB / 0.4945 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007179/0.1273, allocations: 348.9 kB / 0.4949 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007902/0.1281, allocations: 0.5375 MB / 0.4954 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002075/0.1284, allocations: 108.4 kB / 0.4955 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1285, allocations: 193.9 kB / 0.4957 GB, free: 5.531 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.1285, allocations: 0 / 0.4957 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007727/0.1293, allocations: 343.6 kB / 0.496 GB, free: 5.191 MB / 382.1 MB Notification: Performance of SimCode: time 0.001338/0.1307, allocations: 1.187 MB / 0.4972 GB, free: 3.957 MB / 382.1 MB Notification: Performance of Templates: time 0.1808/0.3114, allocations: 4.29 MB / 0.5013 GB, free: 23.27 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1)