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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1011/0.1011, allocations: 17.8 MB / 277.6 MB, free: 15.33 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,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=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 67.89 kB / 414.6 MB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1388, allocations: 59.56 MB / 474.2 MB, free: 8.824 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.005981/0.1448, allocations: 2.986 MB / 477.2 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1473, allocations: 0.8882 MB / 478.1 MB, free: 4.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.1478, allocations: 15.94 kB / 478.1 MB, free: 4.902 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1481, allocations: 67.31 kB / 478.2 MB, free: 4.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.1487, allocations: 111 kB / 478.3 MB, free: 4.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.1494, allocations: 199.1 kB / 478.5 MB, free: 4.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1505, allocations: 474.9 kB / 478.9 MB, free: 4.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.1509, allocations: 146.6 kB / 479.1 MB, free: 3.918 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.1513, allocations: 167.4 kB / 479.2 MB, free: 3.754 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1516, allocations: 163 kB / 479.4 MB, free: 3.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.758e-05/0.1516, allocations: 40 kB / 479.4 MB, free: 3.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/0.1517, allocations: 36 kB / 479.5 MB, free: 3.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1518, allocations: 95.61 kB / 479.6 MB, free: 3.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.152, allocations: 163.2 kB / 479.7 MB, free: 3.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000664/0.1527, allocations: 466 kB / 480.2 MB, free: 2.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1527, allocations: 0 / 480.2 MB, free: 2.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1527, allocations: 4 kB / 480.2 MB, free: 2.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1527, allocations: 0 / 480.2 MB, free: 2.805 MB / 446.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.00122/0.1539, allocations: 0.626 MB / 480.8 MB, free: 2.148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.154, allocations: 12.92 kB / 480.8 MB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1541, allocations: 48.66 kB / 480.9 MB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.1547, allocations: 273.2 kB / 481.1 MB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1547, allocations: 29.38 kB / 481.2 MB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.1548, allocations: 32.38 kB / 481.2 MB, free: 1.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.1556, allocations: 462.1 kB / 481.6 MB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1557, allocations: 0 / 481.6 MB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.1557, allocations: 16 kB / 481.7 MB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1557, allocations: 11.94 kB / 481.7 MB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.1563, allocations: 251.8 kB / 481.9 MB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2418/0.3981, allocations: 1.069 MB / 483 MB, free: 52.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.3987, allocations: 271.9 kB / 483.3 MB, free: 52.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3989, allocations: 114.6 kB / 483.4 MB, free: 52.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3989, allocations: 7.828 kB / 483.4 MB, free: 52.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.399, allocations: 36.95 kB / 483.4 MB, free: 52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.399, allocations: 1.906 kB / 483.4 MB, free: 52 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006575/0.3996, allocations: 326.8 kB / 483.7 MB, free: 51.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3997, allocations: 106.2 kB / 483.8 MB, free: 51.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3998, allocations: 259.8 kB / 484.1 MB, free: 51.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3999, allocations: 29.08 kB / 484.1 MB, free: 51.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.3999, allocations: 218.6 kB / 484.3 MB, free: 51.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.4, allocations: 101.1 kB / 484.4 MB, free: 51.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.4001, allocations: 62.16 kB / 484.5 MB, free: 51.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.4001, allocations: 337 kB / 484.8 MB, free: 51.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4003, allocations: 89.52 kB / 484.9 MB, free: 51.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.4005, allocations: 204.7 kB / 485.1 MB, free: 51.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.4008, allocations: 256.3 kB / 485.4 MB, free: 51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4008, allocations: 2.5 kB / 485.4 MB, free: 51 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004142/0.4012, allocations: 298.4 kB / 485.7 MB, free: 50.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4012, allocations: 13.34 kB / 485.7 MB, free: 50.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4012, allocations: 3.594 kB / 485.7 MB, free: 50.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4012, allocations: 3.219 kB / 485.7 MB, free: 50.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.4015, allocations: 68.36 kB / 485.7 MB, free: 50.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4015, allocations: 6.281 kB / 485.7 MB, free: 50.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.4017, allocations: 29.34 kB / 485.8 MB, free: 50.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.4017, allocations: 9.719 kB / 485.8 MB, free: 50.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001841/0.4019, allocations: 187.2 kB / 486 MB, free: 50.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001474/0.4021, allocations: 193.2 kB / 486.2 MB, free: 50.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002544/0.4023, allocations: 223.3 kB / 486.4 MB, free: 50.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.4023, allocations: 0 / 486.4 MB, free: 50.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003501/0.4027, allocations: 282.7 kB / 486.6 MB, free: 50.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.4027, allocations: 6.688 kB / 486.7 MB, free: 50.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.4027, allocations: 3.938 kB / 486.7 MB, free: 50.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-06/0.4027, allocations: 3.188 kB / 486.7 MB, free: 50.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.4029, allocations: 63.28 kB / 486.7 MB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.4029, allocations: 2.969 kB / 486.7 MB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4031, allocations: 29.39 kB / 486.8 MB, free: 50.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.4031, allocations: 9.844 kB / 486.8 MB, free: 50.57 MB / 446.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 9.862e-05/0.4032, allocations: 199.4 kB / 487 MB, free: 50.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.4032, allocations: 38.97 kB / 487 MB, free: 50.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.4037, allocations: 276 kB / 487.3 MB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4037, allocations: 4.828 kB / 487.3 MB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4037, allocations: 0 / 487.3 MB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.4037, allocations: 0 / 487.3 MB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.404, allocations: 279.7 kB / 487.5 MB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.404, allocations: 3.25 kB / 487.5 MB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.4043, allocations: 64.78 kB / 487.6 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4043, allocations: 0 / 487.6 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.4043, allocations: 10.78 kB / 487.6 MB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4043, allocations: 0 / 487.6 MB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4043, allocations: 2.406 kB / 487.6 MB, free: 50.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.4049, allocations: 462.9 kB / 488.1 MB, free: 49.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.405, allocations: 52.22 kB / 488.1 MB, free: 49.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.405, allocations: 11.19 kB / 488.1 MB, free: 49.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.4052, allocations: 10.75 kB / 488.1 MB, free: 49.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4053, allocations: 24.02 kB / 488.2 MB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.4053, allocations: 9.312 kB / 488.2 MB, free: 49.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.4054, allocations: 187.3 kB / 488.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4054, allocations: 0 / 488.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.4059, allocations: 142.6 kB / 488.5 MB, free: 49.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Cbody.T,PID.I.y,Ccont.T) * 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 (28): * Single equations (assignments): 28 * 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 9.169e-05/0.406, allocations: 105.4 kB / 488.6 MB, free: 49.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.4065, allocations: 327.4 kB / 488.9 MB, free: 49.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4065, allocations: 3.438 kB / 488.9 MB, free: 49.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.4067, allocations: 103.5 kB / 489 MB, free: 49.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.4072, allocations: 82.22 kB / 489.1 MB, free: 49.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4082, allocations: 0.7545 MB / 489.9 MB, free: 48.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.4083, allocations: 185.9 kB / 490 MB, free: 48.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.4085, allocations: 36.05 kB / 490.1 MB, free: 48.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.4085, allocations: 32.12 kB / 490.1 MB, free: 48.74 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4085, allocations: 4 kB / 490.1 MB, free: 48.73 MB / 446.1 MB Notification: Performance of Templates: time 0.006593/0.4151, allocations: 3.05 MB / 493.2 MB, free: 48.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.620127249974757] Failed to read output from testmodel.py, exit status != 0: 0.4238066920079291 0.43247283999999997 0.277362672 Calling exit ...