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.0007594/0.0007594, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.0007682/0.0007682, allocations: 165.2 kB / 23.98 MB, free: 0.582 MB / 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.8432/0.8432, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.05967/0.05967, allocations: 18.12 MB / 278.8 MB, free: 11.54 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.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.322e-06/1.322e-06, allocations: 0 / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.534e-05, allocations: 3.562 kB / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.002148/0.002173, allocations: 1.792 MB / 418.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.00311, allocations: 0.6583 MB / 418.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003221, allocations: 6.625 kB / 418.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.003552, allocations: 31.66 kB / 418.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.003687, allocations: 47.69 kB / 418.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.003979, allocations: 148.8 kB / 419 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.004222, allocations: 191.8 kB / 419.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004337, allocations: 39.73 kB / 419.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.004445, allocations: 74.55 kB / 419.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.004597, allocations: 80.94 kB / 419.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.004634, allocations: 17.59 kB / 419.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.597e-05/0.00466, allocations: 19.62 kB / 419.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.00474, allocations: 54.89 kB / 419.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.004821, allocations: 58.42 kB / 419.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005074, allocations: 205.9 kB / 419.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.005077, allocations: 0 / 419.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005079, allocations: 0 / 419.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.005085, allocations: 0 / 419.7 MB, free: 10.43 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007412/0.005826, allocations: 0.5044 MB / 420.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.005862, allocations: 11.66 kB / 420.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.005913, allocations: 24.25 kB / 420.3 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.006202, allocations: 208.2 kB / 420.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.00622, allocations: 14.67 kB / 420.5 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.006247, allocations: 14.78 kB / 420.5 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.006506, allocations: 240.6 kB / 420.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.006519, allocations: 1.344 kB / 420.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.006536, allocations: 8.047 kB / 420.7 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006541, allocations: 6.719 kB / 420.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.006735, allocations: 158.2 kB / 420.9 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.007299, allocations: 445.5 kB / 421.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.007662, allocations: 195.9 kB / 421.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.007775, allocations: 106.4 kB / 421.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.0078, allocations: 2.047 kB / 421.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.00801, allocations: 232.1 kB / 421.8 MB, free: 8.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.008011, allocations: 0 / 421.8 MB, free: 8.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001013/0.009024, allocations: 0.6221 MB / 422.5 MB, free: 8.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.009066, allocations: 161.2 kB / 422.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.009268, allocations: 215.1 kB / 422.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.009282, allocations: 27.39 kB / 422.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.009331, allocations: 126.1 kB / 423 MB, free: 8.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.009372, allocations: 49.61 kB / 423 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.00942, allocations: 44.53 kB / 423.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.009459, allocations: 324.8 kB / 423.4 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.00957, allocations: 132.9 kB / 423.5 MB, free: 7.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.009682, allocations: 169.4 kB / 423.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.01039, allocations: 0.5247 MB / 424.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0104, allocations: 0 / 424.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003079/0.0107, allocations: 345 kB / 424.6 MB, free: 7.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.01073, allocations: 64.7 kB / 424.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01074, allocations: 0.5156 kB / 424.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01075, allocations: 0.9688 kB / 424.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01086, allocations: 30.62 kB / 424.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01086, allocations: 0.6094 kB / 424.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.01096, allocations: 35.52 kB / 424.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.01097, allocations: 5.391 kB / 424.7 MB, free: 6.957 MB / 330.7 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.0001537/0.01113, allocations: 213.1 kB / 424.9 MB, free: 6.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.727e-05/0.01122, allocations: 159.9 kB / 425.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005617/0.01178, allocations: 0.4973 MB / 425.6 MB, free: 6.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.01178, allocations: 0 / 425.6 MB, free: 6.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002593/0.01204, allocations: 310.5 kB / 425.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.01206, allocations: 63.58 kB / 425.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/0.01206, allocations: 1.938 kB / 425.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.01206, allocations: 0 / 425.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.01215, allocations: 31.67 kB / 425.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01215, allocations: 10.52 kB / 426 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.01224, allocations: 31.77 kB / 426 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01225, allocations: 4.828 kB / 426 MB, free: 6.027 MB / 330.7 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 8.943e-05/0.01234, allocations: 231.8 kB / 426.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.01237, allocations: 21.47 kB / 426.2 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.0124, allocations: 20.41 kB / 426.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.01241, allocations: 2.219 kB / 426.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01241, allocations: 4 kB / 426.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.01242, allocations: 4.828 kB / 426.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.01257, allocations: 186.1 kB / 426.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01257, allocations: 0 / 426.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.01263, allocations: 13.72 kB / 426.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.01291, allocations: 177.4 kB / 426.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01293, allocations: 17.56 kB / 426.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005527/0.01348, allocations: 0.8585 MB / 427.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01348, allocations: 1.062 kB / 427.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.01412, allocations: 0.5676 MB / 428.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.01415, allocations: 19 kB / 428.1 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.01419, allocations: 5 kB / 428.1 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01429, allocations: 32.34 kB / 428.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.01435, allocations: 17.17 kB / 428.2 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01436, allocations: 4.641 kB / 428.2 MB, free: 4.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.01451, allocations: 167.6 kB / 428.3 MB, free: 4.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01451, allocations: 0 / 428.3 MB, free: 4.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01475, allocations: 62.92 kB / 428.4 MB, free: 4.348 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],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 9.748e-05/0.01484, allocations: 113.6 kB / 428.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.0153, allocations: 0.5991 MB / 429.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0153, allocations: 0 / 429.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.01558, allocations: 219.3 kB / 429.3 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.01579, allocations: 32.16 kB / 429.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.01643, allocations: 455.1 kB / 429.8 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.01652, allocations: 120.5 kB / 429.9 MB, free: 3.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01657, allocations: 21.44 kB / 429.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01657, allocations: 0 / 429.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of Templates: time 0.004482/0.02105, allocations: 2.604 MB / 432.5 MB, free: 3.031 MB / 330.7 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.654595949687064] Failed to read output from testmodel.py, exit status != 0: 0.02659716736525297 0.035381366000000004 0.028763294000000002 Calling exit ...