Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.001765/0.001765, allocations: 103 kB / 16.45 MB, free: 6.5 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.002693/0.002693, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.595/1.595, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.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.106/0.106, allocations: 24.11 MB / 333 MB, free: 12.62 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_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") [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.002034/0.002034, allocations: 71.89 kB / 468.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4305, allocations: 59.57 MB / 0.5155 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003923/0.4344, allocations: 2.302 MB / 0.5178 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.4355, allocations: 0.5661 MB / 0.5183 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.4356, allocations: 3.812 kB / 0.5183 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.4358, allocations: 28.38 kB / 0.5184 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.4359, allocations: 59.17 kB / 0.5184 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.4361, allocations: 52.5 kB / 0.5185 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.4363, allocations: 213.1 kB / 0.5187 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.4365, allocations: 74.19 kB / 0.5188 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.4366, allocations: 80.34 kB / 0.5188 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.4368, allocations: 87.3 kB / 0.5189 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.4368, allocations: 18.84 kB / 0.5189 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.353e-05/0.4369, allocations: 17.72 kB / 0.5189 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.4369, allocations: 39.88 kB / 0.519 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.437, allocations: 108.9 kB / 0.5191 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.4373, allocations: 216.9 kB / 0.5193 GB, free: 7.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4373, allocations: 4 kB / 0.5193 GB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4373, allocations: 1.094 kB / 0.5193 GB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4374, allocations: 0 / 0.5193 GB, free: 7.535 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006938/0.438, allocations: 480.6 kB / 0.5198 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4381, allocations: 8.062 kB / 0.5198 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.4382, allocations: 23.86 kB / 0.5198 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.4385, allocations: 213.1 kB / 0.52 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.4385, allocations: 12.72 kB / 0.52 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.4386, allocations: 21.95 kB / 0.52 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.439, allocations: 174.3 kB / 0.5202 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.439, allocations: 1.25 kB / 0.5202 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.439, allocations: 9.156 kB / 0.5202 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.439, allocations: 6.516 kB / 0.5202 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.4394, allocations: 123.7 kB / 0.5203 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.4405, allocations: 0.6735 MB / 0.521 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.4409, allocations: 122.3 kB / 0.5211 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.441, allocations: 65.3 kB / 0.5212 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.441, allocations: 6.078 kB / 0.5212 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4411, allocations: 35.81 kB / 0.5212 GB, free: 6.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.4411, allocations: 3.938 kB / 0.5212 GB, free: 6.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000435/0.4415, allocations: 169.2 kB / 0.5214 GB, free: 6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4415, allocations: 57.59 kB / 0.5214 GB, free: 5.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.4416, allocations: 126.4 kB / 0.5215 GB, free: 5.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.4416, allocations: 30.73 kB / 0.5216 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.4417, allocations: 136.2 kB / 0.5217 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.4417, allocations: 58.42 kB / 0.5218 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.4418, allocations: 31.56 kB / 0.5218 GB, free: 5.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.4419, allocations: 327 kB / 0.5221 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.442, allocations: 37.48 kB / 0.5221 GB, free: 5.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4421, allocations: 74.88 kB / 0.5222 GB, free: 5.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.4423, allocations: 114.4 kB / 0.5223 GB, free: 5.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4423, allocations: 0 / 0.5223 GB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002813/0.4426, allocations: 172 kB / 0.5225 GB, free: 5.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4426, allocations: 5.219 kB / 0.5225 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4426, allocations: 1.188 kB / 0.5225 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4426, allocations: 3.578 kB / 0.5225 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4428, allocations: 45.83 kB / 0.5225 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4428, allocations: 6.125 kB / 0.5225 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.4429, allocations: 16.83 kB / 0.5226 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.4429, allocations: 8.406 kB / 0.5226 GB, free: 5.027 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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.072e-05/0.443, allocations: 127.1 kB / 0.5227 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.443, allocations: 17.45 kB / 0.5227 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.4431, allocations: 16.22 kB / 0.5227 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4431, allocations: 1.922 kB / 0.5227 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4431, allocations: 1.375 kB / 0.5227 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4431, allocations: 0.6094 kB / 0.5227 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.4434, allocations: 258.8 kB / 0.523 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4434, allocations: 3.938 kB / 0.523 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.4436, allocations: 38.38 kB / 0.523 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.4436, allocations: 5.062 kB / 0.523 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.4436, allocations: 9.828 kB / 0.523 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4436, allocations: 1.062 kB / 0.523 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4436, allocations: 0 / 0.523 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.4441, allocations: 284.9 kB / 0.5233 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.4441, allocations: 89.44 kB / 0.5234 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.4441, allocations: 5.75 kB / 0.5234 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4442, allocations: 5.562 kB / 0.5234 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.4443, allocations: 20.83 kB / 0.5234 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.4443, allocations: 2.938 kB / 0.5234 GB, free: 4.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.4444, allocations: 96.44 kB / 0.5235 GB, free: 4.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4444, allocations: 1.312 kB / 0.5235 GB, free: 4.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.4447, allocations: 50.59 kB / 0.5236 GB, free: 4.223 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,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 (16): * Single equations (assignments): 16 * 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.0001198/0.4448, allocations: 103.7 kB / 0.5237 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.4452, allocations: 103.9 kB / 0.5238 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4452, allocations: 1.156 kB / 0.5238 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4453, allocations: 51.53 kB / 0.5238 GB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4456, allocations: 23.17 kB / 0.5238 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.4464, allocations: 474 kB / 0.5243 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.4466, allocations: 0.7204 MB / 0.525 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.093e-05/0.4467, allocations: 23.08 kB / 0.525 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.4467, allocations: 14.34 kB / 0.525 GB, free: 3.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4467, allocations: 0 / 0.525 GB, free: 3.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004634/0.4513, allocations: 1.236 MB / 0.5262 GB, free: 2.906 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.140423272969201] Failed to read output from testmodel.py, exit status != 0: 0.4597720820456743 0.4736299 0.033241609000000005 Calling exit ...