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.001547/0.001547, allocations: 80.34 kB / 20.23 MB, free: 4.188 MB / 18.57 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.001735/0.001735, allocations: 161.3 kB / 23.53 MB, free: 0.8789 MB / 18.57 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.32 MB / 186.7 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.108/0.108, allocations: 18.15 MB / 278.5 MB, free: 11.21 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 356.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.4e-05, allocations: 2.312 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.004425/0.004459, allocations: 2.204 MB / 358.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.005672, allocations: 0.5259 MB / 359.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.005832, allocations: 4 kB / 359.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.006, allocations: 31.66 kB / 359.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.006194, allocations: 63.41 kB / 359.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.006389, allocations: 51.88 kB / 359.4 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.006744, allocations: 226.8 kB / 359.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.006956, allocations: 65.41 kB / 359.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.007126, allocations: 79.77 kB / 359.8 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.007288, allocations: 67.8 kB / 359.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.00733, allocations: 16 kB / 359.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.007375, allocations: 20 kB / 359.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.00743, allocations: 39.83 kB / 359.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.007541, allocations: 71.89 kB / 360 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.007885, allocations: 211.3 kB / 360.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.007893, allocations: 8 kB / 360.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.007894, allocations: 0 / 360.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.007902, allocations: 0 / 360.2 MB, free: 4.527 MB / 282.7 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.0008134/0.008715, allocations: 394.1 kB / 360.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.008763, allocations: 8.031 kB / 360.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.008872, allocations: 40.84 kB / 360.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.009223, allocations: 161.4 kB / 360.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.009254, allocations: 20.88 kB / 360.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.009306, allocations: 20.36 kB / 360.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.009742, allocations: 202.3 kB / 361 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.009756, allocations: 192 / 361 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.009785, allocations: 8.375 kB / 361 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.009795, allocations: 7.938 kB / 361 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.01013, allocations: 121.9 kB / 361.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.01129, allocations: 0.567 MB / 361.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.01162, allocations: 122.5 kB / 361.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.01177, allocations: 60.83 kB / 361.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.0118, allocations: 4 kB / 361.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.01183, allocations: 34.56 kB / 361.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.01183, allocations: 0 / 361.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004947/0.01232, allocations: 180.3 kB / 362.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.01237, allocations: 55.41 kB / 362.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01251, allocations: 129.8 kB / 362.3 MB, free: 2.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.01253, allocations: 25.7 kB / 362.3 MB, free: 2.234 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01264, allocations: 132.4 kB / 362.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.01269, allocations: 59.48 kB / 362.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.01276, allocations: 33.72 kB / 362.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.01295, allocations: 326.8 kB / 362.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01305, allocations: 39.97 kB / 362.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01319, allocations: 69.11 kB / 363 MB, free: 1.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.01343, allocations: 127.3 kB / 363.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01343, allocations: 0 / 363.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003365/0.01377, allocations: 157.5 kB / 363.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.0138, allocations: 10.5 kB / 363.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.0138, allocations: 0 / 363.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.01383, allocations: 11.97 kB / 363.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.01401, allocations: 47.97 kB / 363.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01402, allocations: 3.938 kB / 363.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.0141, allocations: 11.89 kB / 363.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.01412, allocations: 11.98 kB / 363.3 MB, free: 1.168 MB / 282.7 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.0001319/0.01425, allocations: 129.8 kB / 363.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.0143, allocations: 19.91 kB / 363.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.01435, allocations: 20.77 kB / 363.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01436, allocations: 3.938 kB / 363.5 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.01436, allocations: 4 kB / 363.5 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01437, allocations: 4 kB / 363.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01463, allocations: 169.2 kB / 363.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01463, allocations: 0 / 363.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.01484, allocations: 35.92 kB / 363.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01484, allocations: 4 kB / 363.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01485, allocations: 4 kB / 363.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01486, allocations: 4 kB / 363.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01486, allocations: 3.938 kB / 363.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.01535, allocations: 287.3 kB / 364 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.01537, allocations: 12.05 kB / 364 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.0154, allocations: 11.98 kB / 364 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01552, allocations: 8 kB / 364 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.01557, allocations: 11.92 kB / 364 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.01558, allocations: 0 / 364 MB, free: 404 kB / 282.7 MB Notification: Performance of sorting global known variables: time 9.726e-05/0.01568, allocations: 106.6 kB / 364.2 MB, free: 304 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01568, allocations: 0 / 364.2 MB, free: 304 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.01597, allocations: 47.89 kB / 364.2 MB, free: 256 kB / 282.7 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.0001334/0.01611, allocations: 103.2 kB / 364.3 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01639, allocations: 107.8 kB / 364.4 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01639, allocations: 0 / 364.4 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.01653, allocations: 57.03 kB / 364.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.01684, allocations: 12 kB / 364.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.01778, allocations: 419.6 kB / 364.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.0179, allocations: 116.1 kB / 365 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.01798, allocations: 16.59 kB / 365 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.01802, allocations: 16.5 kB / 365 MB, free: 15.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01802, allocations: 0 / 365 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.004687/0.02271, allocations: 1.13 MB / 366.2 MB, free: 14.25 MB / 298.7 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: 4.4704200620763]