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.001367/0.001367, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001472/0.001472, allocations: 177 kB / 24.28 MB, free: 280 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 1.079/1.079, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.06866/0.06866, allocations: 18.14 MB / 279.2 MB, free: 11.39 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.324e-06/2.324e-06, allocations: 0 / 357.3 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.607e-05, allocations: 5.547 kB / 357.3 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002398/0.002434, allocations: 1.768 MB / 359 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.003405, allocations: 0.6971 MB / 359.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.003492, allocations: 0 / 359.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.003833, allocations: 79.66 kB / 359.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.004004, allocations: 95.5 kB / 359.9 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.004446, allocations: 191.5 kB / 360.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.004699, allocations: 195.5 kB / 360.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.004826, allocations: 25.78 kB / 360.3 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.004965, allocations: 95.77 kB / 360.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.005193, allocations: 147.7 kB / 360.5 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.005228, allocations: 12 kB / 360.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.005358, allocations: 87.86 kB / 360.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.00546, allocations: 63.81 kB / 360.7 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.00554, allocations: 51.78 kB / 360.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.005834, allocations: 211.3 kB / 361 MB, free: 4.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005837, allocations: 0 / 361 MB, free: 4.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.005839, allocations: 0 / 361 MB, free: 4.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.005846, allocations: 0 / 361 MB, free: 4.488 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009201/0.006766, allocations: 0.6142 MB / 361.6 MB, free: 3.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.006817, allocations: 8.922 kB / 361.6 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.006906, allocations: 28.8 kB / 361.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.007297, allocations: 244.3 kB / 361.8 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.007328, allocations: 8.375 kB / 361.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.007362, allocations: 12.36 kB / 361.9 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.007567, allocations: 115.8 kB / 362 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.007579, allocations: 4.188 kB / 362 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.007593, allocations: 12.25 kB / 362 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.007601, allocations: 3.938 kB / 362 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.007743, allocations: 90.41 kB / 362.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.00829, allocations: 435.5 kB / 362.5 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.008586, allocations: 148.6 kB / 362.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.008672, allocations: 73.48 kB / 362.7 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.008687, allocations: 8 kB / 362.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.008869, allocations: 156.4 kB / 362.9 MB, free: 2.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.008871, allocations: 0 / 362.9 MB, free: 2.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007511/0.009622, allocations: 389.1 kB / 363.3 MB, free: 1.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.009661, allocations: 81.11 kB / 363.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.009857, allocations: 304.3 kB / 363.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.009874, allocations: 29.7 kB / 363.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.009956, allocations: 186.8 kB / 363.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.01001, allocations: 59.53 kB / 363.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.01007, allocations: 47.36 kB / 364 MB, free: 1.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.01021, allocations: 0.5079 MB / 364.5 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.01028, allocations: 53.69 kB / 364.5 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.01034, allocations: 69.55 kB / 364.6 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01056, allocations: 211.6 kB / 364.8 MB, free: 348 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01056, allocations: 0 / 364.8 MB, free: 348 kB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003399/0.0109, allocations: 289.4 kB / 365.1 MB, free: 36 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.01095, allocations: 37.73 kB / 365.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01096, allocations: 0 / 365.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.01117, allocations: 39.59 kB / 365.2 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.01123, allocations: 19.98 kB / 365.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.01227, allocations: 1.842 MB / 367 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.004e-05/0.01236, allocations: 27.81 kB / 367 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01237, allocations: 8 kB / 367 MB, free: 13.93 MB / 298.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.0001663/0.01254, allocations: 214.2 kB / 367.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.01257, allocations: 31.86 kB / 367.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.01261, allocations: 30.11 kB / 367.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01261, allocations: 0 / 367.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01261, allocations: 4 kB / 367.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01262, allocations: 0 / 367.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.01278, allocations: 212.4 kB / 367.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01279, allocations: 0 / 367.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.01286, allocations: 19.98 kB / 367.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.01299, allocations: 35.66 kB / 367.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.01301, allocations: 11.98 kB / 367.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008744/0.01388, allocations: 1.842 MB / 369.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01389, allocations: 0 / 369.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.01435, allocations: 411.6 kB / 369.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.01437, allocations: 27.8 kB / 369.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.0144, allocations: 4 kB / 369.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.01448, allocations: 19.97 kB / 369.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.01453, allocations: 11.92 kB / 369.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.01455, allocations: 16 kB / 369.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.01467, allocations: 201.1 kB / 370.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01467, allocations: 0 / 370.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.01489, allocations: 67.88 kB / 370.2 MB, free: 10.57 MB / 298.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.0001852/0.01508, allocations: 131.2 kB / 370.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.01552, allocations: 420.1 kB / 370.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.01553, allocations: 4 kB / 370.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.01573, allocations: 330.6 kB / 371 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01594, allocations: 48.28 kB / 371.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.01651, allocations: 444.5 kB / 371.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.254e-05/0.01657, allocations: 100.1 kB / 371.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.01663, allocations: 29.44 kB / 371.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.01666, allocations: 16.5 kB / 371.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01666, allocations: 0 / 371.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of Templates: time 0.005395/0.02206, allocations: 3.084 MB / 374.8 MB, free: 5.879 MB / 298.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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0353822400793433]