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.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.001195/0.001195, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.001505/0.001505, allocations: 166 kB / 24.09 MB, free: 428 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.8573/0.8573, allocations: 177.1 MB / 204.4 MB, free: 5.715 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.05888/0.05888, allocations: 18.13 MB / 279 MB, free: 11.5 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_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 2.315e-06/2.315e-06, allocations: 0 / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.473e-05, allocations: 3.656 kB / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002748/0.002783, allocations: 1.737 MB / 418.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003994, allocations: 0.6691 MB / 419 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.004103, allocations: 5.312 kB / 419 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.004484, allocations: 72.97 kB / 419 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.00473, allocations: 97.73 kB / 419.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.00532, allocations: 187.3 kB / 419.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.00562, allocations: 205 kB / 419.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.005746, allocations: 22.23 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.005894, allocations: 93.14 kB / 419.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.006176, allocations: 149.1 kB / 419.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.006216, allocations: 13.88 kB / 419.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.006369, allocations: 80.41 kB / 419.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.006477, allocations: 71.91 kB / 419.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.84e-05/0.006565, allocations: 48.36 kB / 420 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.006945, allocations: 260.3 kB / 420.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.00695, allocations: 0 / 420.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006951, allocations: 0 / 420.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.006956, allocations: 0 / 420.2 MB, free: 10.27 MB / 330.7 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.001121/0.008077, allocations: 0.553 MB / 420.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.008124, allocations: 13.64 kB / 420.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.008195, allocations: 25.48 kB / 420.8 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.008749, allocations: 257.6 kB / 421.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.00877, allocations: 5.188 kB / 421.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.008807, allocations: 11.61 kB / 421.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.009135, allocations: 179.9 kB / 421.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.00915, allocations: 4.688 kB / 421.3 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.009169, allocations: 6.625 kB / 421.3 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.009176, allocations: 6.281 kB / 421.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.009543, allocations: 164.3 kB / 421.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.01023, allocations: 416.5 kB / 421.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.01059, allocations: 218.4 kB / 422.1 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.01071, allocations: 134.2 kB / 422.2 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.01072, allocations: 2.281 kB / 422.2 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.01091, allocations: 218.2 kB / 422.4 MB, free: 8.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.01091, allocations: 0 / 422.4 MB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008198/0.01173, allocations: 0.5723 MB / 423 MB, free: 8.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.01176, allocations: 83.45 kB / 423.1 MB, free: 8.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.01207, allocations: 316.1 kB / 423.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.01209, allocations: 31.92 kB / 423.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.01213, allocations: 144.7 kB / 423.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.01217, allocations: 59.42 kB / 423.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.01222, allocations: 35.86 kB / 423.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.01226, allocations: 337.9 kB / 424 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01236, allocations: 113.8 kB / 424.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01251, allocations: 119.2 kB / 424.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.01326, allocations: 0.5903 MB / 424.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01327, allocations: 1.125 kB / 424.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004114/0.01368, allocations: 426 kB / 425.2 MB, free: 7.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.0137, allocations: 43.42 kB / 425.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01371, allocations: 0 / 425.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.01384, allocations: 56.36 kB / 425.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.0139, allocations: 20.03 kB / 425.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/0.01459, allocations: 1.466 MB / 426.8 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.01472, allocations: 37.8 kB / 426.8 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.01473, allocations: 9.125 kB / 426.8 MB, free: 5.852 MB / 330.7 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.0001263/0.01486, allocations: 198.2 kB / 427 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.01488, allocations: 28.28 kB / 427.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.01491, allocations: 32.52 kB / 427.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01491, allocations: 2.312 kB / 427.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01492, allocations: 1.25 kB / 427.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01492, allocations: 1.406 kB / 427.1 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.01507, allocations: 207.6 kB / 427.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01507, allocations: 0.5 kB / 427.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.01514, allocations: 23.2 kB / 427.3 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.01524, allocations: 52.03 kB / 427.4 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.01526, allocations: 13.69 kB / 427.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005772/0.01584, allocations: 1.46 MB / 428.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01584, allocations: 0 / 428.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.01637, allocations: 0.6053 MB / 429.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.0164, allocations: 30.75 kB / 429.5 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.01642, allocations: 17.02 kB / 429.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01654, allocations: 27.44 kB / 429.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.0166, allocations: 15.84 kB / 429.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.01661, allocations: 5 kB / 429.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.01685, allocations: 243.7 kB / 429.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01685, allocations: 4 kB / 429.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.01708, allocations: 67.86 kB / 429.8 MB, free: 3.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],C.x_scaled[1]) * Number of discrete variables: 6 ($whenCondition1,SP.a,SP.b,SP.last,SP.nextEvent,SP.nextEventScaled) * Number of discrete states: 6 (SP.nextEvent,SP.last,SP.nextEventScaled,SP.b,SP.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001333/0.01721, allocations: 125.5 kB / 430 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.01764, allocations: 466.2 kB / 430.4 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01764, allocations: 0 / 430.4 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.01783, allocations: 333.1 kB / 430.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.01802, allocations: 36.03 kB / 430.8 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005547/0.01858, allocations: 0.5011 MB / 431.3 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.686e-05/0.01867, allocations: 149.7 kB / 431.4 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.01873, allocations: 33.84 kB / 431.5 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.01876, allocations: 18.84 kB / 431.5 MB, free: 2.586 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01876, allocations: 0 / 431.5 MB, free: 2.586 MB / 330.7 MB Notification: Performance of Templates: time 0.00484/0.0236, allocations: 3.02 MB / 434.5 MB, free: 2.066 MB / 330.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.791731250472367] Failed to read output from testmodel.py, exit status != 0: 0.029548651538789272 0.036900852000000005 0.028355057000000003 Calling exit ...