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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 104.5 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 199.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.1014/0.1014, allocations: 22.69 MB / 325.4 MB, free: 3.535 MB / 254.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.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_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: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 457.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.13, allocations: 58.02 MB / 0.5036 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003847/0.1338, allocations: 2.288 MB / 0.5058 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000906/0.1347, allocations: 0.522 MB / 0.5063 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1348, allocations: 4 kB / 0.5063 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.135, allocations: 31.7 kB / 0.5064 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1351, allocations: 63.42 kB / 0.5064 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1353, allocations: 43.94 kB / 0.5065 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1356, allocations: 215 kB / 0.5067 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.1358, allocations: 72.05 kB / 0.5067 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1359, allocations: 83.66 kB / 0.5068 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.136, allocations: 87.62 kB / 0.5069 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.1361, allocations: 20 kB / 0.5069 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.436e-05/0.1361, allocations: 16 kB / 0.5069 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.1362, allocations: 39.84 kB / 0.507 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1363, allocations: 103.6 kB / 0.5071 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.1366, allocations: 219.1 kB / 0.5073 GB, free: 3.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1366, allocations: 0 / 0.5073 GB, free: 3.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1366, allocations: 3.938 kB / 0.5073 GB, free: 3.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1366, allocations: 0 / 0.5073 GB, free: 3.312 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.0007797/0.1374, allocations: 475.1 kB / 0.5077 GB, free: 2.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1374, allocations: 8.031 kB / 0.5078 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1375, allocations: 24.84 kB / 0.5078 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1378, allocations: 212.1 kB / 0.508 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1378, allocations: 16.81 kB / 0.508 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.1379, allocations: 16.38 kB / 0.508 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.1383, allocations: 179.6 kB / 0.5082 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1383, allocations: 3.938 kB / 0.5082 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.1383, allocations: 8 kB / 0.5082 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1383, allocations: 8 kB / 0.5082 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1386, allocations: 125.6 kB / 0.5083 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1397, allocations: 0.672 MB / 0.509 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1401, allocations: 114.5 kB / 0.5091 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.1402, allocations: 64.83 kB / 0.5091 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1402, allocations: 4.266 kB / 0.5092 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1403, allocations: 38.56 kB / 0.5092 GB, free: 1.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1403, allocations: 0 / 0.5092 GB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004239/0.1407, allocations: 167.3 kB / 0.5093 GB, free: 1.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1407, allocations: 67.33 kB / 0.5094 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1408, allocations: 117.8 kB / 0.5095 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1409, allocations: 33.7 kB / 0.5096 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.141, allocations: 140.2 kB / 0.5097 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.141, allocations: 59.47 kB / 0.5097 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.1411, allocations: 37.7 kB / 0.5098 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1412, allocations: 322.8 kB / 0.5101 GB, free: 220 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1413, allocations: 35.98 kB / 0.5101 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1414, allocations: 75.41 kB / 0.5102 GB, free: 96 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2808/0.4222, allocations: 112.2 kB / 0.5103 GB, free: 15.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4222, allocations: 0 / 0.5103 GB, free: 15.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005322/0.4228, allocations: 163.9 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.4228, allocations: 7.125 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4228, allocations: 2.094 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.4228, allocations: 1.75 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.4231, allocations: 38.66 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.4231, allocations: 7.688 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.674e-05/0.4232, allocations: 19.12 kB / 0.5105 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.4232, allocations: 13.61 kB / 0.5105 GB, free: 15.69 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 0.0001289/0.4233, allocations: 126 kB / 0.5107 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.4234, allocations: 13.39 kB / 0.5107 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.4234, allocations: 16.22 kB / 0.5107 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4234, allocations: 3.812 kB / 0.5107 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4234, allocations: 3.938 kB / 0.5107 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4234, allocations: 1.078 kB / 0.5107 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.4238, allocations: 254.7 kB / 0.5109 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4238, allocations: 3.031 kB / 0.511 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.424, allocations: 36.39 kB / 0.511 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.424, allocations: 2.562 kB / 0.511 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.424, allocations: 3.719 kB / 0.511 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.424, allocations: 2.031 kB / 0.511 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.424, allocations: 3.938 kB / 0.511 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.4245, allocations: 287.1 kB / 0.5113 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.4246, allocations: 88.39 kB / 0.5114 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.4246, allocations: 5.609 kB / 0.5114 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.4247, allocations: 7.031 kB / 0.5114 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.4248, allocations: 16.48 kB / 0.5114 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4248, allocations: 6.562 kB / 0.5114 GB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.583e-05/0.4248, allocations: 97.42 kB / 0.5115 GB, free: 15.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4248, allocations: 0 / 0.5115 GB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000303/0.4251, allocations: 50.75 kB / 0.5115 GB, free: 15.08 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.0001264/0.4252, allocations: 104.8 kB / 0.5116 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.4256, allocations: 107.5 kB / 0.5117 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4256, allocations: 0 / 0.5117 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4257, allocations: 57.69 kB / 0.5118 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4261, allocations: 14.52 kB / 0.5118 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4273, allocations: 468.9 kB / 0.5122 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4275, allocations: 0.7292 MB / 0.513 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.4276, allocations: 9.641 kB / 0.513 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.4277, allocations: 14.53 kB / 0.513 GB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4277, allocations: 4 kB / 0.513 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.004577/0.4322, allocations: 1.243 MB / 0.5142 GB, free: 13.96 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.066130319610238] Failed to read output from testmodel.py, exit status != 0: 0.44019461004063487 0.456813644 0.316706521 Calling exit ...