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.001571/0.001571, allocations: 81.34 kB / 19.96 MB, free: 1.742 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.001463/0.001463, allocations: 175.6 kB / 23.24 MB, free: 4.855 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.457/1.457, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.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.105/0.105, allocations: 18.14 MB / 278.1 MB, free: 15.05 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.703e-05, allocations: 6.219 kB / 415.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003419/0.003446, allocations: 2.208 MB / 417.8 MB, free: 332 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.004382, allocations: 0.5183 MB / 418.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.004479, allocations: 4 kB / 418.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.004604, allocations: 31.7 kB / 418.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.004737, allocations: 67.23 kB / 418.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.00488, allocations: 43.89 kB / 418.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.005154, allocations: 230.8 kB / 418.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.00534, allocations: 69.39 kB / 418.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.005453, allocations: 79.83 kB / 418.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.005589, allocations: 55.86 kB / 418.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.005625, allocations: 20 kB / 418.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-05/0.005665, allocations: 16 kB / 418.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.005711, allocations: 47.83 kB / 418.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.0058, allocations: 63.84 kB / 419 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.006085, allocations: 223.3 kB / 419.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.006088, allocations: 3.938 kB / 419.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006089, allocations: 0 / 419.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006094, allocations: 4 kB / 419.2 MB, free: 14.86 MB / 350.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.0006427/0.006737, allocations: 406 kB / 419.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.006768, allocations: 8.031 kB / 419.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.006818, allocations: 16.84 kB / 419.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.007048, allocations: 161.5 kB / 419.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.007076, allocations: 16.88 kB / 419.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.007114, allocations: 20.33 kB / 419.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.007516, allocations: 202.4 kB / 420 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.007533, allocations: 192 / 420 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.007557, allocations: 8.375 kB / 420.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.007567, allocations: 7.938 kB / 420.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.00787, allocations: 121.9 kB / 420.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.008982, allocations: 0.5631 MB / 420.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.009352, allocations: 114.5 kB / 420.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.009498, allocations: 64.83 kB / 420.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.009517, allocations: 0 / 420.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.009555, allocations: 34.56 kB / 421 MB, free: 13.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.009557, allocations: 0 / 421 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004829/0.01004, allocations: 176.7 kB / 421.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.01009, allocations: 59.39 kB / 421.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01022, allocations: 125.8 kB / 421.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.01025, allocations: 29.7 kB / 421.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.01035, allocations: 132.4 kB / 421.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.0104, allocations: 59.48 kB / 421.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01046, allocations: 29.7 kB / 421.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01061, allocations: 330.8 kB / 421.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01072, allocations: 39.98 kB / 421.9 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.01085, allocations: 74.2 kB / 422 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.01108, allocations: 125.8 kB / 422.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01108, allocations: 0 / 422.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003103/0.01139, allocations: 161.5 kB / 422.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01141, allocations: 4 kB / 422.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01141, allocations: 0 / 422.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.01143, allocations: 7.938 kB / 422.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.01161, allocations: 39.98 kB / 422.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01162, allocations: 8.094 kB / 422.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.0117, allocations: 15.83 kB / 422.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.01171, allocations: 8 kB / 422.4 MB, free: 11.54 MB / 350.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.000116/0.01183, allocations: 129.8 kB / 422.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.01187, allocations: 11.91 kB / 422.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.01192, allocations: 24.78 kB / 422.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.01192, allocations: 3.938 kB / 422.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01193, allocations: 0 / 422.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01193, allocations: 0 / 422.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.01217, allocations: 173.2 kB / 422.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01217, allocations: 4 kB / 422.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.01236, allocations: 39.92 kB / 422.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01237, allocations: 3.984 kB / 422.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01238, allocations: 7.938 kB / 422.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01238, allocations: 0 / 422.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.01238, allocations: 3.938 kB / 422.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.01284, allocations: 283.3 kB / 423 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.01286, allocations: 7.984 kB / 423 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.01288, allocations: 4 kB / 423 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.01299, allocations: 8.062 kB / 423 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.01304, allocations: 19.91 kB / 423.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.01305, allocations: 4 kB / 423.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.01312, allocations: 99.27 kB / 423.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01312, allocations: 0 / 423.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.01341, allocations: 51.84 kB / 423.2 MB, free: 10.62 MB / 350.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.0001139/0.01352, allocations: 103.1 kB / 423.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.0138, allocations: 114.4 kB / 423.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0138, allocations: 0 / 423.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.01392, allocations: 51.92 kB / 423.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.0142, allocations: 16 kB / 423.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.01509, allocations: 408.5 kB / 423.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.0152, allocations: 112.1 kB / 424 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.01527, allocations: 16.59 kB / 424 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.01531, allocations: 16.5 kB / 424 MB, free: 9.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01531, allocations: 0 / 424 MB, free: 9.746 MB / 350.1 MB Notification: Performance of Templates: time 0.004418/0.01973, allocations: 1.115 MB / 425.1 MB, free: 8.652 MB / 350.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: 4.473291415721178] Failed to read output from testmodel.py, exit status != 0: 0.028197161853313446 0.043159662 0.034035999000000004 Calling exit ...