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.001816/0.001816, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002185/0.002185, allocations: 156.3 kB / 23.01 MB, free: 4.945 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.1017/0.1017, allocations: 17.8 MB / 277.6 MB, free: 15.33 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.002438/0.002438, allocations: 71.89 kB / 414.7 MB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1165, allocations: 59.56 MB / 474.2 MB, free: 8.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001834/0.1183, allocations: 0.5872 MB / 474.8 MB, free: 8.227 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.1185, allocations: 59.89 kB / 474.9 MB, free: 8.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1186, allocations: 0 / 474.9 MB, free: 8.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.1186, allocations: 3.938 kB / 474.9 MB, free: 8.164 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.1186, allocations: 7.938 kB / 474.9 MB, free: 8.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1188, allocations: 15.92 kB / 474.9 MB, free: 8.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.1189, allocations: 43.84 kB / 474.9 MB, free: 8.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.1189, allocations: 12.17 kB / 474.9 MB, free: 8.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.119, allocations: 19.92 kB / 475 MB, free: 8.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.528e-05/0.1191, allocations: 23.84 kB / 475 MB, free: 8.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1191, allocations: 4 kB / 475 MB, free: 8.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.1191, allocations: 0 / 475 MB, free: 8.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.1191, allocations: 11.98 kB / 475 MB, free: 8.027 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.1192, allocations: 15.88 kB / 475 MB, free: 8.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.351e-05/0.1192, allocations: 31.77 kB / 475 MB, free: 7.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1193, allocations: 0 / 475 MB, free: 7.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1193, allocations: 0 / 475 MB, free: 7.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1193, allocations: 4 kB / 475.1 MB, free: 7.977 MB / 446.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.0004925/0.1197, allocations: 298.1 kB / 475.3 MB, free: 7.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1198, allocations: 8.922 kB / 475.4 MB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1198, allocations: 8.891 kB / 475.4 MB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1199, allocations: 122.4 kB / 475.5 MB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.12, allocations: 4.375 kB / 475.5 MB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.12, allocations: 8.375 kB / 475.5 MB, free: 7.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1201, allocations: 69.72 kB / 475.6 MB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1201, allocations: 4 kB / 475.6 MB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1202, allocations: 4 kB / 475.6 MB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1202, allocations: 4 kB / 475.6 MB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.1202, allocations: 31.98 kB / 475.6 MB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1206, allocations: 244.4 kB / 475.8 MB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1209, allocations: 90.53 kB / 475.9 MB, free: 7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.121, allocations: 28.86 kB / 476 MB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.121, allocations: 7.938 kB / 476 MB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.121, allocations: 30.75 kB / 476 MB, free: 6.922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.121, allocations: 7.938 kB / 476 MB, free: 6.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002461/0.1213, allocations: 109.6 kB / 476.1 MB, free: 6.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1213, allocations: 55.34 kB / 476.2 MB, free: 6.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1214, allocations: 113.8 kB / 476.3 MB, free: 6.613 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1214, allocations: 29.7 kB / 476.3 MB, free: 6.578 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.1215, allocations: 88.09 kB / 476.4 MB, free: 6.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1216, allocations: 39.62 kB / 476.4 MB, free: 6.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.1216, allocations: 29.7 kB / 476.5 MB, free: 6.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1217, allocations: 326.9 kB / 476.8 MB, free: 6.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.1218, allocations: 19.94 kB / 476.8 MB, free: 6.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.1218, allocations: 37.2 kB / 476.8 MB, free: 6.027 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.1223, allocations: 125.6 kB / 477 MB, free: 5.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1223, allocations: 0 / 477 MB, free: 5.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001698/0.1225, allocations: 113.6 kB / 477.1 MB, free: 5.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1225, allocations: 4 kB / 477.1 MB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1225, allocations: 3.984 kB / 477.1 MB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1225, allocations: 0 / 477.1 MB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1226, allocations: 36.02 kB / 477.1 MB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1226, allocations: 0 / 477.1 MB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.1227, allocations: 3.953 kB / 477.1 MB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1227, allocations: 8 kB / 477.1 MB, free: 5.727 MB / 446.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.000166/0.1228, allocations: 125.7 kB / 477.2 MB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1229, allocations: 7.953 kB / 477.3 MB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.1231, allocations: 106.6 kB / 477.4 MB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1231, allocations: 4 kB / 477.4 MB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1231, allocations: 4 kB / 477.4 MB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1231, allocations: 384 / 477.4 MB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1232, allocations: 133.2 kB / 477.5 MB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1232, allocations: 0 / 477.5 MB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.1234, allocations: 31.98 kB / 477.5 MB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1234, allocations: 7.922 kB / 477.5 MB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1234, allocations: 0 / 477.5 MB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1234, allocations: 3.938 kB / 477.5 MB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1234, allocations: 0 / 477.5 MB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1237, allocations: 231.4 kB / 477.8 MB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.1237, allocations: 15.89 kB / 477.8 MB, free: 5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1237, allocations: 4 kB / 477.8 MB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.1238, allocations: 0 / 477.8 MB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.1238, allocations: 8.031 kB / 477.8 MB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1238, allocations: 0 / 477.8 MB, free: 4.988 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.1239, allocations: 91.27 kB / 477.9 MB, free: 4.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1239, allocations: 0 / 477.9 MB, free: 4.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.1241, allocations: 16 kB / 477.9 MB, free: 4.883 MB / 446.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 9.166e-05/0.1242, allocations: 103.1 kB / 478 MB, free: 4.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1243, allocations: 63.97 kB / 478.1 MB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1243, allocations: 0 / 478.1 MB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.1244, allocations: 31.92 kB / 478.1 MB, free: 4.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1246, allocations: 11.94 kB / 478.1 MB, free: 4.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.125, allocations: 223.1 kB / 478.3 MB, free: 4.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.1251, allocations: 75.33 kB / 478.4 MB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1251, allocations: 8.797 kB / 478.4 MB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.1252, allocations: 12.5 kB / 478.4 MB, free: 4.309 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1252, allocations: 0 / 478.4 MB, free: 4.309 MB / 446.1 MB Notification: Performance of Templates: time 0.1706/0.2958, allocations: 0.5288 MB / 478.9 MB, free: 3.789 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.485063073108904] Failed to read output from testmodel.py, exit status != 0: 0.3066782170208171 0.547666396 0.425379358 Calling exit ...