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.002085/0.002085, allocations: 100.3 kB / 20.46 MB, free: 1.367 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.001792/0.001792, allocations: 216.2 kB / 23.77 MB, free: 4.52 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1105/0.1105, allocations: 24.03 MB / 338 MB, free: 11.34 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.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 71.88 kB / 475.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2954, allocations: 59.57 MB / 0.5221 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001523/0.2969, allocations: 0.5745 MB / 0.5227 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001733/0.2971, allocations: 62.39 kB / 0.5227 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.2971, allocations: 0 / 0.5227 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2972, allocations: 7.938 kB / 0.5228 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.2972, allocations: 6.422 kB / 0.5228 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.2974, allocations: 17.36 kB / 0.5228 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.535e-05/0.2974, allocations: 38.7 kB / 0.5228 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.2975, allocations: 11.88 kB / 0.5228 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.2975, allocations: 20.97 kB / 0.5228 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.021e-05/0.2976, allocations: 25.08 kB / 0.5229 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2976, allocations: 1.656 kB / 0.5229 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.2976, allocations: 3.625 kB / 0.5229 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.2976, allocations: 15.84 kB / 0.5229 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.2977, allocations: 15.69 kB / 0.5229 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.134e-05/0.2977, allocations: 36.17 kB / 0.5229 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2977, allocations: 0 / 0.5229 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2977, allocations: 0 / 0.5229 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.2977, allocations: 0.6094 kB / 0.5229 GB, free: 10.03 MB / 382.1 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.0003586/0.2981, allocations: 292.2 kB / 0.5232 GB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2981, allocations: 10.52 kB / 0.5232 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.2982, allocations: 8.766 kB / 0.5232 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.643e-05/0.2982, allocations: 124 kB / 0.5234 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2983, allocations: 7.031 kB / 0.5234 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.2983, allocations: 3.781 kB / 0.5234 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.2984, allocations: 75.8 kB / 0.5234 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2984, allocations: 1.156 kB / 0.5234 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2984, allocations: 7.922 kB / 0.5234 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2984, allocations: 1.344 kB / 0.5234 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.2985, allocations: 38.34 kB / 0.5235 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2988, allocations: 240.2 kB / 0.5237 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.2991, allocations: 96.56 kB / 0.5238 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.2991, allocations: 30.7 kB / 0.5238 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2991, allocations: 5.844 kB / 0.5238 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.2991, allocations: 40.78 kB / 0.5239 GB, free: 9.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2991, allocations: 0 / 0.5239 GB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002302/0.2994, allocations: 103.7 kB / 0.524 GB, free: 9.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.2994, allocations: 52.81 kB / 0.524 GB, free: 9.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.625e-05/0.2995, allocations: 120.4 kB / 0.5241 GB, free: 8.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.2995, allocations: 26.95 kB / 0.5242 GB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.2995, allocations: 92.41 kB / 0.5243 GB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.2995, allocations: 42.91 kB / 0.5243 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2996, allocations: 24.66 kB / 0.5243 GB, free: 8.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.2996, allocations: 323.1 kB / 0.5246 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-05/0.2996, allocations: 20.97 kB / 0.5247 GB, free: 8.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.2997, allocations: 36.23 kB / 0.5247 GB, free: 8.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.3001, allocations: 116.6 kB / 0.5248 GB, free: 8.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3001, allocations: 1.094 kB / 0.5248 GB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001408/0.3002, allocations: 116.3 kB / 0.5249 GB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3002, allocations: 5.641 kB / 0.5249 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3002, allocations: 0 / 0.5249 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3002, allocations: 1.312 kB / 0.5249 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3004, allocations: 34.16 kB / 0.5249 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3004, allocations: 1.312 kB / 0.5249 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.3004, allocations: 10.14 kB / 0.525 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3004, allocations: 3.781 kB / 0.525 GB, free: 8.309 MB / 382.1 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 0.000114/0.3005, allocations: 134.7 kB / 0.5251 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3006, allocations: 8.594 kB / 0.5251 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.3007, allocations: 104.9 kB / 0.5252 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3007, allocations: 1.312 kB / 0.5252 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3007, allocations: 0 / 0.5252 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3007, allocations: 0.5625 kB / 0.5252 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3009, allocations: 132.3 kB / 0.5253 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3009, allocations: 0 / 0.5253 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.301, allocations: 34.08 kB / 0.5254 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.301, allocations: 4 kB / 0.5254 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.301, allocations: 5.406 kB / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.301, allocations: 2.234 kB / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.301, allocations: 0 / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3012, allocations: 226.7 kB / 0.5256 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.3012, allocations: 6.5 kB / 0.5256 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3013, allocations: 2.016 kB / 0.5256 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3013, allocations: 5.438 kB / 0.5256 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.3014, allocations: 6.109 kB / 0.5256 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3014, allocations: 2.812 kB / 0.5256 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.3014, allocations: 96.2 kB / 0.5257 GB, free: 7.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3014, allocations: 0 / 0.5257 GB, free: 7.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3016, allocations: 18.7 kB / 0.5257 GB, free: 7.684 MB / 382.1 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.393e-05/0.3017, allocations: 100.9 kB / 0.5258 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3018, allocations: 60.12 kB / 0.5259 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3018, allocations: 1.031 kB / 0.5259 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.3019, allocations: 35.94 kB / 0.5259 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3021, allocations: 10.28 kB / 0.5259 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.3025, allocations: 250.8 kB / 0.5262 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.3026, allocations: 81.03 kB / 0.5262 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3026, allocations: 12.47 kB / 0.5262 GB, free: 7.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3026, allocations: 0 / 0.5262 GB, free: 7.273 MB / 382.1 MB Notification: Performance of Templates: time 0.002421/0.305, allocations: 0.9535 MB / 0.5272 GB, free: 7.215 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.236400186084211] Failed to read output from testmodel.py, exit status != 0: 0.3131395559757948 0.32434766 0.024165847 Calling exit ...