Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.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.001361/0.001361, allocations: 78.3 kB / 19.96 MB, free: 1.746 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.001543/0.001543, allocations: 171 kB / 23.24 MB, free: 4.863 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.5/1.5, allocations: 177.1 MB / 203.5 MB, free: 9.141 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.1053/0.1053, allocations: 18.12 MB / 278.1 MB, free: 15.03 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.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.184e-05/4.354e-05, allocations: 4.812 kB / 415.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.003228/0.003272, allocations: 1.8 MB / 417.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.0046, allocations: 0.6544 MB / 418 MB, free: 84 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.832e-05/0.004698, allocations: 4 kB / 418 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.005012, allocations: 31.77 kB / 418.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.005183, allocations: 43.67 kB / 418.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.00559, allocations: 151.7 kB / 418.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.005882, allocations: 191.6 kB / 418.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.006, allocations: 37.72 kB / 418.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.00612, allocations: 71.81 kB / 418.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.006286, allocations: 79.77 kB / 418.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.006337, allocations: 23.98 kB / 418.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.006374, allocations: 16 kB / 418.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.006466, allocations: 47.84 kB / 418.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.00657, allocations: 63.83 kB / 418.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.006859, allocations: 207.3 kB / 419 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.006863, allocations: 0 / 419 MB, free: 15.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.006864, allocations: 3.938 kB / 419 MB, free: 15.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006869, allocations: 3.938 kB / 419 MB, free: 15.12 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001162/0.008031, allocations: 0.5086 MB / 419.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.008066, allocations: 8.922 kB / 419.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.008131, allocations: 20.84 kB / 419.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.008634, allocations: 209.4 kB / 419.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.008657, allocations: 12.38 kB / 419.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.008694, allocations: 12.38 kB / 419.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.009153, allocations: 236 kB / 420 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.009168, allocations: 192 / 420 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.009191, allocations: 4.375 kB / 420 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.009202, allocations: 7.938 kB / 420 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.009561, allocations: 157.8 kB / 420.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/0.0105, allocations: 448.5 kB / 420.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.01106, allocations: 196.1 kB / 420.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.01127, allocations: 106.5 kB / 420.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.0113, allocations: 4 kB / 420.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.01166, allocations: 232.3 kB / 421.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.01166, allocations: 0 / 421.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0018/0.01346, allocations: 0.6206 MB / 421.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.01356, allocations: 166.2 kB / 421.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.01394, allocations: 219.2 kB / 422.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.01397, allocations: 25.7 kB / 422.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.01407, allocations: 132.3 kB / 422.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.01413, allocations: 43.59 kB / 422.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.01421, allocations: 41.7 kB / 422.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01437, allocations: 326.8 kB / 422.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.01458, allocations: 128.2 kB / 422.8 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.01481, allocations: 169.7 kB / 422.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.01614, allocations: 0.5264 MB / 423.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01614, allocations: 7.938 kB / 423.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005778/0.01672, allocations: 342.6 kB / 423.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.01677, allocations: 59.39 kB / 423.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01678, allocations: 8 kB / 423.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.0168, allocations: 0 / 423.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.01702, allocations: 31.98 kB / 423.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01703, allocations: 3.984 kB / 423.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.01724, allocations: 27.92 kB / 423.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.01726, allocations: 4 kB / 424 MB, free: 9.73 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003154/0.01758, allocations: 219.4 kB / 424.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001851/0.01776, allocations: 154.7 kB / 424.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/0.01891, allocations: 0.4994 MB / 424.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.01891, allocations: 0 / 424.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004685/0.01938, allocations: 308.3 kB / 425.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.01944, allocations: 63.34 kB / 425.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.01944, allocations: 4 kB / 425.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-06/0.01945, allocations: 0 / 425.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01961, allocations: 31.91 kB / 425.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.01961, allocations: 0 / 425.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.01981, allocations: 35.92 kB / 425.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01983, allocations: 4 kB / 425.3 MB, free: 8.301 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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: 6 ($PRE.TDO.timeNextEv,$PRE.TDO.tdo,TDO.timeNextEv,TDO.tdo,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001987/0.02003, allocations: 218 kB / 425.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.02007, allocations: 23.84 kB / 425.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.02013, allocations: 21.45 kB / 425.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02013, allocations: 0 / 425.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.02013, allocations: 0 / 425.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.02014, allocations: 4 kB / 425.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.02042, allocations: 197.1 kB / 425.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.02042, allocations: 0 / 425.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.02055, allocations: 15.92 kB / 425.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.02099, allocations: 176.2 kB / 425.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.02101, allocations: 11.92 kB / 425.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.02218, allocations: 0.8657 MB / 426.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02218, allocations: 0 / 426.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.02327, allocations: 0.5654 MB / 427.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.02331, allocations: 19.84 kB / 427.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.02336, allocations: 7.938 kB / 427.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.02359, allocations: 28.02 kB / 427.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.02365, allocations: 15.91 kB / 427.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.02367, allocations: 8 kB / 427.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.02399, allocations: 163.2 kB / 427.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02399, allocations: 0 / 427.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.02438, allocations: 67.89 kB / 427.6 MB, free: 5.77 MB / 350.1 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],Cfb.FO.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TDO.tdo,TDO.timeNextEv) * Number of discrete states: 4 ($whenCondition2,TDO.timeNextEv,TDO.tdo,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.02453, allocations: 105 kB / 427.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008664/0.02539, allocations: 0.588 MB / 428.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.0254, allocations: 8 kB / 428.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.02592, allocations: 228.8 kB / 428.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.02621, allocations: 27.98 kB / 428.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.02719, allocations: 423.7 kB / 429 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.02731, allocations: 124.3 kB / 429.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.02744, allocations: 49.14 kB / 429.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.02749, allocations: 16.5 kB / 429.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02749, allocations: 0 / 429.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of Templates: time 0.006961/0.03445, allocations: 2.587 MB / 431.8 MB, free: 1.512 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.sim & ./AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.667573612183332] Failed to read output from testmodel.py, exit status != 0: 0.044918324798345566 0.060656721000000004 0.050494129000000006 Calling exit ...