Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.00196/0.00196, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.003056, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007016/0.0007016, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008701/0.001572, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9873/0.9873, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08832/1.076, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.06362/0.06362, allocations: 18.11 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01139/0.07501, allocations: 6.789 MB / 268.9 MB, free: 6.352 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.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 270.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.744e-05, allocations: 2.312 kB / 270.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.00174/0.001768, allocations: 0.6449 MB / 270.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.001882, allocations: 63.84 kB / 271 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.001904, allocations: 0 / 271 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.955e-06/0.001912, allocations: 3.938 kB / 271 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.001951, allocations: 11.88 kB / 271 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.607e-05/0.002007, allocations: 15.97 kB / 271 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.255e-05/0.00209, allocations: 43.78 kB / 271.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.002132, allocations: 192 / 271.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.002212, allocations: 35.91 kB / 271.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.00229, allocations: 23.89 kB / 271.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.002312, allocations: 4 kB / 271.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.002321, allocations: 0 / 271.1 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.002336, allocations: 12 kB / 271.1 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.002362, allocations: 7.938 kB / 271.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.82e-05/0.00244, allocations: 23.86 kB / 271.2 MB, free: 4.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.002455, allocations: 3.984 kB / 271.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002456, allocations: 0 / 271.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.002471, allocations: 0 / 271.2 MB, free: 4.031 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004109/0.002882, allocations: 280.4 kB / 271.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.002912, allocations: 8.031 kB / 271.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.00295, allocations: 12.92 kB / 271.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.594e-05/0.003045, allocations: 129.6 kB / 271.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.003056, allocations: 384 / 271.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.003079, allocations: 4.375 kB / 271.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.352e-05/0.003172, allocations: 62.16 kB / 271.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003179, allocations: 4.188 kB / 271.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.003188, allocations: 4.125 kB / 271.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.003193, allocations: 0 / 271.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.003234, allocations: 19.92 kB / 271.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.003503, allocations: 180.2 kB / 271.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.003701, allocations: 82.48 kB / 271.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.003735, allocations: 20.84 kB / 272 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.00375, allocations: 4 kB / 272 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.003773, allocations: 34.56 kB / 272 MB, free: 3.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.003774, allocations: 0 / 272 MB, free: 3.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001581/0.003932, allocations: 81.72 kB / 272.1 MB, free: 3.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.003964, allocations: 51.41 kB / 272.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.967e-05/0.004034, allocations: 118.7 kB / 272.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.004048, allocations: 33.7 kB / 272.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.004091, allocations: 88.08 kB / 272.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.00412, allocations: 43.62 kB / 272.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.00416, allocations: 29.69 kB / 272.4 MB, free: 2.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.00425, allocations: 318.8 kB / 272.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.004268, allocations: 11.98 kB / 272.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.004299, allocations: 25.64 kB / 272.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.004387, allocations: 57.67 kB / 272.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.00439, allocations: 0 / 272.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.831e-05/0.004488, allocations: 85.73 kB / 272.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.004501, allocations: 8.047 kB / 272.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.004506, allocations: 3.938 kB / 272.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.004519, allocations: 8.031 kB / 272.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.004721, allocations: 46.91 kB / 273 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.004724, allocations: 0 / 273 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.004754, allocations: 11.95 kB / 273 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.004765, allocations: 11.98 kB / 273 MB, free: 2.027 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: I:VARIABLE(start = 0.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 9.505e-05/0.00486, allocations: 116.9 kB / 273.1 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.004887, allocations: 15.94 kB / 273.1 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.005007, allocations: 78.03 kB / 273.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005008, allocations: 0 / 273.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.005011, allocations: 4 kB / 273.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.005015, allocations: 4 kB / 273.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.005148, allocations: 93.77 kB / 273.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00515, allocations: 0 / 273.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.005315, allocations: 43.91 kB / 273.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.005324, allocations: 11.95 kB / 273.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.005326, allocations: 0 / 273.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.005337, allocations: 3.984 kB / 273.4 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.00534, allocations: 4 kB / 273.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00534, allocations: 0 / 273.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.005517, allocations: 191.3 kB / 273.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.005531, allocations: 4 kB / 273.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.005584, allocations: 0 / 273.6 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.0056, allocations: 7.984 kB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.005606, allocations: 4 kB / 273.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.735e-05/0.005623, allocations: 21.61 kB / 273.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.005623, allocations: 0 / 273.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.005817, allocations: 16 kB / 273.6 MB, free: 1.363 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,Ta,Tw) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.855e-05/0.005886, allocations: 72.42 kB / 273.7 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.005983, allocations: 57.03 kB / 273.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.005988, allocations: 0 / 273.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.006023, allocations: 36.72 kB / 273.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.006173, allocations: 12 kB / 273.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.00651, allocations: 204.7 kB / 274 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.006553, allocations: 63.34 kB / 274.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.006586, allocations: 8.484 kB / 274.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.006643, allocations: 59.38 kB / 274.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.006643, allocations: 0 / 274.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of Templates: time 0.002513/0.009156, allocations: 0.7606 MB / 274.9 MB, free: 56 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M1_TimeDomain.sim & ./AES_AES.Coursework.Modelling_principles.M1_TimeDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.759829865768552]