Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.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.001261/0.001261, allocations: 113.2 kB / 18.68 MB, free: 3.316 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.001251/0.001251, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.372/1.372, allocations: 225.6 MB / 250.6 MB, free: 13.39 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.1109/0.1109, allocations: 22.7 MB / 328.5 MB, free: 2.711 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_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 63.89 kB / 462.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1152, allocations: 58.04 MB / 0.5081 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002949/0.1181, allocations: 1.756 MB / 0.5098 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1194, allocations: 0.6973 MB / 0.5105 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.1195, allocations: 4 kB / 0.5105 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1198, allocations: 75.7 kB / 0.5106 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.12, allocations: 91.64 kB / 0.5107 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.1204, allocations: 151.7 kB / 0.5108 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.1208, allocations: 267.5 kB / 0.5111 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.1209, allocations: 29.48 kB / 0.5111 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1211, allocations: 115.6 kB / 0.5112 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1213, allocations: 171.5 kB / 0.5114 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.1214, allocations: 12 kB / 0.5114 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1215, allocations: 87.92 kB / 0.5115 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1216, allocations: 63.81 kB / 0.5115 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.1217, allocations: 91.41 kB / 0.5116 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.122, allocations: 251 kB / 0.5119 GB, free: 1.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.122, allocations: 0 / 0.5119 GB, free: 1.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.122, allocations: 4 kB / 0.5119 GB, free: 1.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.122, allocations: 0 / 0.5119 GB, free: 1.102 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001339/0.1234, allocations: 0.6247 MB / 0.5125 GB, free: 432 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1234, allocations: 8.75 kB / 0.5125 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.1235, allocations: 24.8 kB / 0.5125 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.1242, allocations: 322.8 kB / 0.5128 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1242, allocations: 4.375 kB / 0.5128 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.1242, allocations: 8.375 kB / 0.5128 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.173/0.2972, allocations: 151.1 kB / 0.513 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2972, allocations: 1.062 kB / 0.513 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.2972, allocations: 4.188 kB / 0.513 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2972, allocations: 2.5 kB / 0.513 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.2975, allocations: 139.5 kB / 0.5131 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.2983, allocations: 0.4932 MB / 0.5136 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.2988, allocations: 186.6 kB / 0.5138 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2989, allocations: 98.33 kB / 0.5139 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.2989, allocations: 1.125 kB / 0.5139 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.2992, allocations: 176.2 kB / 0.514 GB, free: 15.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.2992, allocations: 2.438 kB / 0.514 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001232/0.3004, allocations: 0.5773 MB / 0.5146 GB, free: 15.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3004, allocations: 84.14 kB / 0.5147 GB, free: 15.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.3009, allocations: 318.8 kB / 0.515 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.301, allocations: 26.86 kB / 0.515 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.301, allocations: 134.9 kB / 0.5151 GB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.3011, allocations: 63.95 kB / 0.5152 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.3011, allocations: 37.33 kB / 0.5152 GB, free: 15.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.3012, allocations: 338.2 kB / 0.5156 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3013, allocations: 82.02 kB / 0.5156 GB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3014, allocations: 82.78 kB / 0.5157 GB, free: 14.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.3026, allocations: 0.5807 MB / 0.5163 GB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3026, allocations: 0 / 0.5163 GB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005593/0.3032, allocations: 394.7 kB / 0.5167 GB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.3032, allocations: 36.86 kB / 0.5167 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3032, allocations: 0.5625 kB / 0.5167 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.3034, allocations: 60.77 kB / 0.5168 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3035, allocations: 23.72 kB / 0.5168 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009873/0.3045, allocations: 1.6 MB / 0.5183 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.3048, allocations: 43.22 kB / 0.5184 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.3048, allocations: 11.53 kB / 0.5184 GB, free: 13.18 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (SP.nextEventScaled,SP.nextEvent,$PRE.SP.nextEvent,SP.last,SP.b,SP.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.305, allocations: 182.5 kB / 0.5186 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.305, allocations: 28.39 kB / 0.5186 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.305, allocations: 35.17 kB / 0.5186 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3051, allocations: 0 / 0.5186 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3051, allocations: 1.969 kB / 0.5186 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3051, allocations: 102.3 kB / 0.5187 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3051, allocations: 12.55 kB / 0.5187 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3054, allocations: 37.7 kB / 0.5188 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3054, allocations: 9.375 kB / 0.5188 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009755/0.3064, allocations: 0.5655 MB / 0.5193 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006605/0.3071, allocations: 0.6491 MB / 0.52 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001572/0.3072, allocations: 102.5 kB / 0.5201 GB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004464/0.3077, allocations: 244.2 kB / 0.5203 GB, free: 12.07 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.3077, allocations: 0 / 0.5203 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.3084, allocations: 408.3 kB / 0.5207 GB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006589/0.3091, allocations: 0.9673 MB / 0.5216 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.006844/0.3159, allocations: 3.134 MB / 0.5247 GB, free: 10.82 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.459146920009516] Failed to read output from testmodel.py, exit status != 0: 0.32556326303165406 0.343599672 0.21753408400000002 Calling exit ...