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.001773/0.001773, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001892/0.001892, allocations: 212.3 kB / 23.01 MB, free: 4.992 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.54/1.54, allocations: 230.6 MB / 256.8 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.1069/0.1069, allocations: 24.04 MB / 337.2 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.002205/0.002205, allocations: 67.91 kB / 474.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4176, allocations: 59.58 MB / 0.5214 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002064/0.4197, allocations: 0.5804 MB / 0.522 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.4199, allocations: 57.8 kB / 0.522 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.42, allocations: 0 / 0.522 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.42, allocations: 7.938 kB / 0.522 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.4201, allocations: 6.688 kB / 0.522 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.4203, allocations: 16.77 kB / 0.522 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.4204, allocations: 42.62 kB / 0.5221 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.4204, allocations: 7.812 kB / 0.5221 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.4205, allocations: 25.3 kB / 0.5221 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4206, allocations: 20.31 kB / 0.5221 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.4206, allocations: 3.75 kB / 0.5221 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.4206, allocations: 2.594 kB / 0.5221 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.4207, allocations: 11.72 kB / 0.5221 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.4207, allocations: 23.78 kB / 0.5222 GB, free: 10 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.4208, allocations: 31.03 kB / 0.5222 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4208, allocations: 1.781 kB / 0.5222 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4208, allocations: 0 / 0.5222 GB, free: 9.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4208, allocations: 0 / 0.5222 GB, free: 9.988 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.0004261/0.4212, allocations: 291.5 kB / 0.5225 GB, free: 9.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4213, allocations: 11.67 kB / 0.5225 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.4213, allocations: 7.422 kB / 0.5225 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.4214, allocations: 129.5 kB / 0.5226 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4214, allocations: 1.781 kB / 0.5226 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.4214, allocations: 3.969 kB / 0.5226 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4216, allocations: 76.02 kB / 0.5227 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4216, allocations: 1.469 kB / 0.5227 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4216, allocations: 0 / 0.5227 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4216, allocations: 1.375 kB / 0.5227 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.4217, allocations: 42.66 kB / 0.5227 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.4221, allocations: 239.7 kB / 0.523 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.4224, allocations: 101 kB / 0.5231 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.4224, allocations: 30.33 kB / 0.5231 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4224, allocations: 2.125 kB / 0.5231 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4225, allocations: 40.09 kB / 0.5231 GB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.4225, allocations: 0 / 0.5231 GB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002611/0.4227, allocations: 108.2 kB / 0.5232 GB, free: 9.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.4227, allocations: 52.5 kB / 0.5233 GB, free: 9.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.4228, allocations: 120.6 kB / 0.5234 GB, free: 8.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4228, allocations: 30.7 kB / 0.5234 GB, free: 8.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.4229, allocations: 92.39 kB / 0.5235 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.4229, allocations: 35.39 kB / 0.5236 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.4229, allocations: 32.67 kB / 0.5236 GB, free: 8.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.423, allocations: 324.3 kB / 0.5239 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.4231, allocations: 23.66 kB / 0.5239 GB, free: 8.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.008e-05/0.4231, allocations: 35.97 kB / 0.524 GB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.4235, allocations: 125.6 kB / 0.5241 GB, free: 8.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4235, allocations: 0 / 0.5241 GB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001489/0.4236, allocations: 109.8 kB / 0.5242 GB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4237, allocations: 4.656 kB / 0.5242 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4237, allocations: 1.156 kB / 0.5242 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4237, allocations: 1.188 kB / 0.5242 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4238, allocations: 32.34 kB / 0.5242 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4238, allocations: 1.844 kB / 0.5242 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.4239, allocations: 11.02 kB / 0.5242 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4239, allocations: 6.281 kB / 0.5242 GB, free: 8.258 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.0001682/0.424, allocations: 123.6 kB / 0.5243 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.4241, allocations: 9.078 kB / 0.5244 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.4243, allocations: 107.4 kB / 0.5245 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.4243, allocations: 1.312 kB / 0.5245 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4243, allocations: 1.281 kB / 0.5245 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4243, allocations: 0.7969 kB / 0.5245 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.4244, allocations: 128.2 kB / 0.5246 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4244, allocations: 0 / 0.5246 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4246, allocations: 33.73 kB / 0.5246 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4246, allocations: 4 kB / 0.5246 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4246, allocations: 1.188 kB / 0.5246 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4246, allocations: 1.484 kB / 0.5246 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4246, allocations: 0 / 0.5246 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.4248, allocations: 231.7 kB / 0.5248 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.4249, allocations: 7.281 kB / 0.5249 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4249, allocations: 9.281 kB / 0.5249 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.4249, allocations: 1.75 kB / 0.5249 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.425, allocations: 5.391 kB / 0.5249 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.425, allocations: 2.797 kB / 0.5249 GB, free: 7.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.425, allocations: 90.61 kB / 0.525 GB, free: 7.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.425, allocations: 5.156 kB / 0.525 GB, free: 7.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.4252, allocations: 18.8 kB / 0.525 GB, free: 7.641 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.186e-05/0.4253, allocations: 96.72 kB / 0.5251 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.4255, allocations: 65.62 kB / 0.5251 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4255, allocations: 0 / 0.5251 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.4255, allocations: 36.44 kB / 0.5252 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.4258, allocations: 9.875 kB / 0.5252 GB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.4262, allocations: 224.4 kB / 0.5254 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.4263, allocations: 76.58 kB / 0.5255 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.4263, allocations: 6.75 kB / 0.5255 GB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.4264, allocations: 12.52 kB / 0.5255 GB, free: 7.262 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4264, allocations: 0 / 0.5255 GB, free: 7.262 MB / 382.1 MB Notification: Performance of Templates: time 0.003302/0.4297, allocations: 0.5729 MB / 0.526 GB, free: 7.172 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: 5.368994211778045] Failed to read output from testmodel.py, exit status != 0: 0.4391088429838419 0.45250795299999996 0.028920524000000003 Calling exit ...