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.001276/0.001276, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001532/0.001532, allocations: 217.8 kB / 23.01 MB, free: 4.602 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1043/0.1043, allocations: 24.12 MB / 337.3 MB, free: 11.45 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.002436/0.002436, allocations: 63.89 kB / 474.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4441, allocations: 59.6 MB / 0.5216 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.00224/0.4464, allocations: 0.5921 MB / 0.5222 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000236/0.4466, allocations: 62.11 kB / 0.5223 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.4466, allocations: 3.938 kB / 0.5223 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.4467, allocations: 3.938 kB / 0.5223 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.714e-05/0.4467, allocations: 10.33 kB / 0.5223 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.4469, allocations: 13.67 kB / 0.5223 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.447, allocations: 38.62 kB / 0.5224 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.4471, allocations: 11.25 kB / 0.5224 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.4471, allocations: 24.81 kB / 0.5224 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4472, allocations: 29.69 kB / 0.5224 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.4472, allocations: 2.562 kB / 0.5224 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.4472, allocations: 2.625 kB / 0.5224 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.4473, allocations: 5.297 kB / 0.5224 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.4473, allocations: 26.42 kB / 0.5224 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.4474, allocations: 31.09 kB / 0.5225 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.4474, allocations: 0 / 0.5225 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4474, allocations: 0 / 0.5225 GB, free: 9.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.4474, allocations: 6.047 kB / 0.5225 GB, free: 9.992 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.0004423/0.4479, allocations: 295.3 kB / 0.5228 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4479, allocations: 10.8 kB / 0.5228 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.4479, allocations: 7.359 kB / 0.5228 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.384e-05/0.448, allocations: 116.8 kB / 0.5229 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.448, allocations: 7.094 kB / 0.5229 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.4481, allocations: 4.344 kB / 0.5229 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.4482, allocations: 75.48 kB / 0.523 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4482, allocations: 3.984 kB / 0.523 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.4483, allocations: 1.281 kB / 0.523 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4483, allocations: 1.312 kB / 0.523 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.4483, allocations: 38.62 kB / 0.523 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.4487, allocations: 273.3 kB / 0.5233 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.449, allocations: 94.25 kB / 0.5234 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.4491, allocations: 37.05 kB / 0.5234 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.4491, allocations: 2.469 kB / 0.5234 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.4491, allocations: 31.17 kB / 0.5234 GB, free: 9.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4491, allocations: 0.9062 kB / 0.5234 GB, free: 9.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002723/0.4494, allocations: 110.6 kB / 0.5235 GB, free: 9.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.4494, allocations: 53.27 kB / 0.5236 GB, free: 9.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.4495, allocations: 128.2 kB / 0.5237 GB, free: 8.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.4495, allocations: 27.36 kB / 0.5237 GB, free: 8.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.4496, allocations: 87.83 kB / 0.5238 GB, free: 8.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.4496, allocations: 38.62 kB / 0.5239 GB, free: 8.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.4496, allocations: 28.56 kB / 0.5239 GB, free: 8.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.4497, allocations: 322.9 kB / 0.5242 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.4497, allocations: 18.17 kB / 0.5242 GB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.4498, allocations: 39.12 kB / 0.5243 GB, free: 8.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/0.4502, allocations: 124.7 kB / 0.5244 GB, free: 8.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4502, allocations: 0 / 0.5244 GB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001668/0.4504, allocations: 112.9 kB / 0.5245 GB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4504, allocations: 5.125 kB / 0.5245 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4504, allocations: 0.6094 kB / 0.5245 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4504, allocations: 6.062 kB / 0.5245 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.4505, allocations: 28.3 kB / 0.5245 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4506, allocations: 1.188 kB / 0.5245 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.131e-05/0.4506, allocations: 14.3 kB / 0.5245 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4506, allocations: 3.641 kB / 0.5245 GB, free: 8.23 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.0001617/0.4508, allocations: 126.7 kB / 0.5247 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.4508, allocations: 11.88 kB / 0.5247 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.451, allocations: 105 kB / 0.5248 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.451, allocations: 1 kB / 0.5248 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.451, allocations: 0 / 0.5248 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.451, allocations: 2.406 kB / 0.5248 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.4512, allocations: 157.6 kB / 0.5249 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4512, allocations: 0 / 0.5249 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.4514, allocations: 32.55 kB / 0.525 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4514, allocations: 1.469 kB / 0.525 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4514, allocations: 5.125 kB / 0.525 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4514, allocations: 5.375 kB / 0.525 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4514, allocations: 0.75 kB / 0.525 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.4516, allocations: 222.1 kB / 0.5252 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.4516, allocations: 15.7 kB / 0.5252 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4517, allocations: 1.125 kB / 0.5252 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.4517, allocations: 5.859 kB / 0.5252 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.4518, allocations: 5.828 kB / 0.5252 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.4518, allocations: 10.06 kB / 0.5252 GB, free: 7.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.4518, allocations: 94.61 kB / 0.5253 GB, free: 7.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4518, allocations: 0 / 0.5253 GB, free: 7.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.4521, allocations: 15.31 kB / 0.5253 GB, free: 7.574 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 8.551e-05/0.4521, allocations: 101.2 kB / 0.5254 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.4523, allocations: 63.89 kB / 0.5255 GB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4523, allocations: 1.219 kB / 0.5255 GB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.4524, allocations: 32 kB / 0.5255 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.4526, allocations: 13.77 kB / 0.5255 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.4531, allocations: 249.9 kB / 0.5258 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.4533, allocations: 0.6993 MB / 0.5264 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.4533, allocations: 11.81 kB / 0.5265 GB, free: 6.539 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4533, allocations: 1.062 kB / 0.5265 GB, free: 6.539 MB / 382.1 MB Notification: Performance of Templates: time 0.003453/0.4568, allocations: 0.9185 MB / 0.5274 GB, free: 6.492 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.429176323115826] Failed to read output from testmodel.py, exit status != 0: 0.4673985028639436 0.48222255799999997 0.031484223 Calling exit ...