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.001713/0.001713, allocations: 100.3 kB / 20.46 MB, free: 1.367 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.002015/0.002015, allocations: 216.2 kB / 23.77 MB, free: 4.52 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1116/0.1116, allocations: 24.04 MB / 338 MB, free: 11.32 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.002188/0.002188, allocations: 76.17 kB / 475.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3097, allocations: 59.58 MB / 0.5221 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002955/0.3126, allocations: 2.196 MB / 0.5243 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.3134, allocations: 0.5245 MB / 0.5248 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3136, allocations: 3.781 kB / 0.5248 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.3137, allocations: 35.14 kB / 0.5248 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.3138, allocations: 60.39 kB / 0.5249 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.314, allocations: 47.31 kB / 0.5249 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.3142, allocations: 213.3 kB / 0.5251 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3143, allocations: 71.45 kB / 0.5252 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.3144, allocations: 76.06 kB / 0.5253 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3145, allocations: 84.09 kB / 0.5254 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3146, allocations: 17.5 kB / 0.5254 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.3146, allocations: 18.03 kB / 0.5254 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.3147, allocations: 44.16 kB / 0.5254 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.3147, allocations: 81.02 kB / 0.5255 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3149, allocations: 215.9 kB / 0.5257 GB, free: 8.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.315, allocations: 1.031 kB / 0.5257 GB, free: 8.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.315, allocations: 4 kB / 0.5257 GB, free: 8.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.315, allocations: 0 / 0.5257 GB, free: 8.141 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.0005332/0.3155, allocations: 406.7 kB / 0.5261 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3155, allocations: 10.22 kB / 0.5261 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.3156, allocations: 22.92 kB / 0.5261 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3158, allocations: 151.4 kB / 0.5263 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3158, allocations: 20.66 kB / 0.5263 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3158, allocations: 25.62 kB / 0.5263 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.3162, allocations: 199.7 kB / 0.5265 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3162, allocations: 1.219 kB / 0.5265 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.3162, allocations: 9.828 kB / 0.5265 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3162, allocations: 4.531 kB / 0.5265 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.3165, allocations: 120.9 kB / 0.5266 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.3173, allocations: 0.5589 MB / 0.5272 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3176, allocations: 120.2 kB / 0.5273 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3177, allocations: 61.72 kB / 0.5274 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3177, allocations: 2.062 kB / 0.5274 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3177, allocations: 36.67 kB / 0.5274 GB, free: 6.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.3177, allocations: 0 / 0.5274 GB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000378/0.3181, allocations: 176.4 kB / 0.5276 GB, free: 6.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.3181, allocations: 53.84 kB / 0.5276 GB, free: 6.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.3182, allocations: 130.5 kB / 0.5277 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3182, allocations: 33.64 kB / 0.5278 GB, free: 6.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.3183, allocations: 136.9 kB / 0.5279 GB, free: 6.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3183, allocations: 59.83 kB / 0.528 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.3184, allocations: 35.53 kB / 0.528 GB, free: 6.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.3184, allocations: 320.6 kB / 0.5283 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.3185, allocations: 38.45 kB / 0.5283 GB, free: 6.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3186, allocations: 70.09 kB / 0.5284 GB, free: 6.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.3188, allocations: 120.4 kB / 0.5285 GB, free: 5.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3188, allocations: 0 / 0.5285 GB, free: 5.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002599/0.3191, allocations: 164.4 kB / 0.5287 GB, free: 5.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3191, allocations: 8.531 kB / 0.5287 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3191, allocations: 1.719 kB / 0.5287 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3191, allocations: 10.05 kB / 0.5287 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3193, allocations: 52.09 kB / 0.5287 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3193, allocations: 1.344 kB / 0.5287 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.3193, allocations: 16.25 kB / 0.5288 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3194, allocations: 5.719 kB / 0.5288 GB, free: 5.84 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 7.494e-05/0.3194, allocations: 129.9 kB / 0.5289 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3195, allocations: 13.64 kB / 0.5289 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.3195, allocations: 16.61 kB / 0.5289 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3195, allocations: 0.9688 kB / 0.5289 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3195, allocations: 0.9375 kB / 0.5289 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3195, allocations: 9.203 kB / 0.5289 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.3197, allocations: 174.5 kB / 0.5291 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3197, allocations: 0.8438 kB / 0.5291 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.3199, allocations: 33.34 kB / 0.5291 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3199, allocations: 1.609 kB / 0.5291 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3199, allocations: 4.969 kB / 0.5291 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3199, allocations: 1.828 kB / 0.5291 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3199, allocations: 0 / 0.5291 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.3203, allocations: 287.9 kB / 0.5294 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.3203, allocations: 12.88 kB / 0.5294 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3203, allocations: 10.52 kB / 0.5294 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3204, allocations: 8.672 kB / 0.5294 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3205, allocations: 9.109 kB / 0.5295 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3205, allocations: 7.656 kB / 0.5295 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.3205, allocations: 103.1 kB / 0.5296 GB, free: 5.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3205, allocations: 0 / 0.5296 GB, free: 5.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.3208, allocations: 50.94 kB / 0.5296 GB, free: 5.207 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 7.39e-05/0.3209, allocations: 105.4 kB / 0.5297 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3211, allocations: 104.9 kB / 0.5298 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3211, allocations: 0 / 0.5298 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3212, allocations: 55.89 kB / 0.5299 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.3215, allocations: 13.88 kB / 0.5299 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.3223, allocations: 0.5009 MB / 0.5304 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.896e-05/0.3224, allocations: 109.2 kB / 0.5305 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.3224, allocations: 16.66 kB / 0.5305 GB, free: 4.605 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3224, allocations: 4 kB / 0.5305 GB, free: 4.602 MB / 382.1 MB Notification: Performance of Templates: time 0.003963/0.3264, allocations: 1.855 MB / 0.5323 GB, free: 4.418 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: 7.087341728620231] Failed to read output from testmodel.py, exit status != 0: 0.3345511918887496 0.34735727800000005 0.029373622000000002 Calling exit ...