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.001845/0.001845, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.001959/0.001959, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.1301/0.1301, allocations: 18.14 MB / 278.5 MB, free: 11.32 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.974e-06/1.974e-06, allocations: 0 / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.239e-05, allocations: 13.62 kB / 356.5 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002533/0.002565, allocations: 0.5755 MB / 357.1 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.002899, allocations: 63.8 kB / 357.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.002949, allocations: 0 / 357.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.002972, allocations: 7.938 kB / 357.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.003091, allocations: 7.922 kB / 357.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.003284, allocations: 19.91 kB / 357.2 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.003404, allocations: 43.89 kB / 357.2 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.003453, allocations: 4.188 kB / 357.3 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.003503, allocations: 19.92 kB / 357.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.003631, allocations: 15.92 kB / 357.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.003655, allocations: 0 / 357.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.003673, allocations: 4 kB / 357.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.003703, allocations: 15.97 kB / 357.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.003747, allocations: 15.92 kB / 357.3 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003868, allocations: 31.83 kB / 357.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.003872, allocations: 0 / 357.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003872, allocations: 0 / 357.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.003877, allocations: 0 / 357.4 MB, free: 7.348 MB / 282.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.0008186/0.004695, allocations: 404 kB / 357.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.004743, allocations: 8.922 kB / 357.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.004814, allocations: 8.891 kB / 357.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.005004, allocations: 124.5 kB / 357.9 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.005026, allocations: 4.375 kB / 357.9 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.005064, allocations: 8.359 kB / 357.9 MB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.005291, allocations: 62.22 kB / 358 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.005309, allocations: 4.188 kB / 358 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.005331, allocations: 8.125 kB / 358 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005337, allocations: 0 / 358 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.005495, allocations: 31.92 kB / 358 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.006211, allocations: 299.7 kB / 358.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.006726, allocations: 95.03 kB / 358.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.006856, allocations: 39.8 kB / 358.4 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.006891, allocations: 7.938 kB / 358.4 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.00694, allocations: 33.39 kB / 358.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.006942, allocations: 0 / 358.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000473/0.007415, allocations: 105.6 kB / 358.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.007484, allocations: 55.39 kB / 358.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.007719, allocations: 182.2 kB / 358.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.007752, allocations: 25.7 kB / 358.8 MB, free: 5.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.007887, allocations: 130.9 kB / 359 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.007955, allocations: 39.69 kB / 359 MB, free: 5.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/0.008051, allocations: 39.31 kB / 359 MB, free: 5.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003994/0.00845, allocations: 0.4884 MB / 359.5 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.008535, allocations: 19.98 kB / 359.5 MB, free: 4.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.008649, allocations: 39.36 kB / 359.6 MB, free: 4.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.008963, allocations: 91.67 kB / 359.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.008966, allocations: 0 / 359.7 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000369/0.009335, allocations: 121.5 kB / 359.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.009355, allocations: 4 kB / 359.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.009361, allocations: 4 kB / 359.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.009378, allocations: 4.031 kB / 359.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.009643, allocations: 27.98 kB / 359.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.00965, allocations: 0 / 359.8 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.009724, allocations: 7.938 kB / 359.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.009745, allocations: 8 kB / 359.8 MB, free: 4.641 MB / 282.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 0.000256/0.01, allocations: 168.5 kB / 360 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.01006, allocations: 12.05 kB / 360 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.01041, allocations: 110.2 kB / 360.1 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.01042, allocations: 0 / 360.1 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.01043, allocations: 4 kB / 360.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.01043, allocations: 0 / 360.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.01077, allocations: 148.5 kB / 360.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01077, allocations: 0 / 360.3 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.01111, allocations: 31.92 kB / 360.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.01112, allocations: 3.938 kB / 360.3 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.01115, allocations: 7.984 kB / 360.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01115, allocations: 0 / 360.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01115, allocations: 4 kB / 360.3 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.01169, allocations: 271.8 kB / 360.6 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.01171, allocations: 7.891 kB / 360.6 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01174, allocations: 8 kB / 360.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01186, allocations: 48 / 360.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.01192, allocations: 11.97 kB / 360.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.01193, allocations: 0 / 360.6 MB, free: 3.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.01207, allocations: 139.1 kB / 360.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.01207, allocations: 0 / 360.7 MB, free: 3.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004314/0.0125, allocations: 16 kB / 360.8 MB, free: 3.641 MB / 282.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 0.0001598/0.01266, allocations: 99.25 kB / 360.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01296, allocations: 78.41 kB / 360.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01297, allocations: 0 / 360.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01309, allocations: 39.67 kB / 361 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.01344, allocations: 7.984 kB / 361 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.01415, allocations: 218.1 kB / 361.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.01428, allocations: 95.25 kB / 361.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.01433, allocations: 4.734 kB / 361.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.01437, allocations: 12.5 kB / 361.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01437, allocations: 0 / 361.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of Templates: time 0.005053/0.01943, allocations: 0.547 MB / 361.9 MB, free: 2.484 MB / 282.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: 4.903255210025236]