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.001089/0.001089, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001394/0.001394, allocations: 173 kB / 24.17 MB, free: 336 kB / 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 0.9633/0.9633, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.0777/0.0777, allocations: 18.13 MB / 279.2 MB, free: 11.19 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.245e-06/2.245e-06, allocations: 1.25 kB / 304.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.921e-05, allocations: 3.75 kB / 304.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002739/0.002758, allocations: 2.337 MB / 306.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.005425, allocations: 0.5416 MB / 307.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.005631, allocations: 4.031 kB / 307.4 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.005861, allocations: 31.47 kB / 307.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.006099, allocations: 63.8 kB / 307.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.006343, allocations: 52.08 kB / 307.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.006677, allocations: 230.7 kB / 307.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.006889, allocations: 73.42 kB / 307.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.007067, allocations: 72.67 kB / 307.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.007246, allocations: 68.09 kB / 308 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.007287, allocations: 19.94 kB / 308 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.007319, allocations: 20 kB / 308 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.007366, allocations: 38.94 kB / 308.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.007461, allocations: 75.27 kB / 308.1 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.00774, allocations: 135.4 kB / 308.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.007746, allocations: 4 kB / 308.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.007749, allocations: 4 kB / 308.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.007757, allocations: 0 / 308.3 MB, free: 14.04 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.0006024/0.00836, allocations: 384.5 kB / 308.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.008401, allocations: 8.031 kB / 308.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.00847, allocations: 27.27 kB / 308.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.008684, allocations: 139.6 kB / 308.8 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.008716, allocations: 16.88 kB / 308.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.008767, allocations: 20.38 kB / 308.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.009094, allocations: 177 kB / 309 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.00911, allocations: 192 / 309 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.009132, allocations: 8.375 kB / 309 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.009142, allocations: 7.938 kB / 309 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.009275, allocations: 57.47 kB / 309.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.01015, allocations: 468.9 kB / 309.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.01039, allocations: 89.56 kB / 309.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.01047, allocations: 32.59 kB / 309.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.01049, allocations: 4 kB / 309.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.01052, allocations: 35.31 kB / 309.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.996e-06/0.01053, allocations: 0 / 309.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000235/0.01076, allocations: 99.98 kB / 309.8 MB, free: 12.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.0108, allocations: 59.41 kB / 309.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.01089, allocations: 125.3 kB / 310 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.01091, allocations: 25.7 kB / 310 MB, free: 12.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.01099, allocations: 135.6 kB / 310.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.01104, allocations: 59.98 kB / 310.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.01109, allocations: 36.05 kB / 310.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.0112, allocations: 326.6 kB / 310.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.01123, allocations: 17.25 kB / 310.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.0113, allocations: 47.41 kB / 310.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.01141, allocations: 76.27 kB / 310.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01141, allocations: 0 / 310.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001634/0.01157, allocations: 106.1 kB / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01159, allocations: 4 kB / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01159, allocations: 4 kB / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01161, allocations: 0 / 310.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.01177, allocations: 47.92 kB / 310.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01178, allocations: 4.031 kB / 310.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.01183, allocations: 15.89 kB / 310.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.01184, allocations: 8 kB / 310.9 MB, free: 11.38 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 9.462e-05/0.01194, allocations: 121.8 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.01197, allocations: 4 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.01202, allocations: 24.77 kB / 311 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01202, allocations: 0 / 311 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01202, allocations: 4 kB / 311 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01203, allocations: 3.938 kB / 311 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.01224, allocations: 121.7 kB / 311.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01225, allocations: 4 kB / 311.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.0124, allocations: 39.98 kB / 311.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.0124, allocations: 3.938 kB / 311.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01242, allocations: 4 kB / 311.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01242, allocations: 3.984 kB / 311.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01242, allocations: 3.938 kB / 311.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.01268, allocations: 215.3 kB / 311.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.0127, allocations: 7.953 kB / 311.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.01272, allocations: 0 / 311.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.01282, allocations: 8 kB / 311.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.01286, allocations: 19.98 kB / 311.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.01287, allocations: 0 / 311.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.435e-05/0.0129, allocations: 32.83 kB / 311.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0129, allocations: 0 / 311.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.01318, allocations: 51.84 kB / 311.6 MB, free: 10.68 MB / 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.0001213/0.0133, allocations: 81.28 kB / 311.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.01346, allocations: 81.36 kB / 311.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.01347, allocations: 0 / 311.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.01353, allocations: 43.22 kB / 311.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.01376, allocations: 16.86 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.01472, allocations: 383.7 kB / 312.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.01479, allocations: 75.83 kB / 312.2 MB, free: 9.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.01486, allocations: 12.64 kB / 312.2 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.01495, allocations: 71.36 kB / 312.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01495, allocations: 0 / 312.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of Templates: time 0.004369/0.01932, allocations: 1.213 MB / 313.5 MB, free: 8.699 MB / 282.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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8533390243537724]