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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 104.2 kB / 16.45 MB, free: 6.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.09974/0.09974, allocations: 22.7 MB / 325.4 MB, free: 3.523 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002214/0.002214, allocations: 67.89 kB / 457.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1386, allocations: 58.02 MB / 0.5036 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.002252/0.1408, allocations: 0.5977 MB / 0.5042 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.1411, allocations: 67.89 kB / 0.5042 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1411, allocations: 0 / 0.5042 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.1412, allocations: 3.938 kB / 0.5042 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.1413, allocations: 7.938 kB / 0.5042 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1414, allocations: 15.91 kB / 0.5043 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.1415, allocations: 39.86 kB / 0.5043 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.652e-05/0.1416, allocations: 8.172 kB / 0.5043 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.1417, allocations: 19.92 kB / 0.5043 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1418, allocations: 27.84 kB / 0.5044 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.1418, allocations: 8 kB / 0.5044 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.1418, allocations: 0 / 0.5044 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1418, allocations: 15.92 kB / 0.5044 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1419, allocations: 15.88 kB / 0.5044 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.959e-05/0.142, allocations: 35.77 kB / 0.5044 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.142, allocations: 0 / 0.5044 GB, free: 6.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.142, allocations: 0 / 0.5044 GB, free: 6.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.142, allocations: 3.984 kB / 0.5044 GB, free: 6.266 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.0005929/0.1426, allocations: 371.2 kB / 0.5048 GB, free: 5.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1426, allocations: 8.031 kB / 0.5048 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1427, allocations: 12.89 kB / 0.5048 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1428, allocations: 172.3 kB / 0.505 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1429, allocations: 4.359 kB / 0.505 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.1429, allocations: 8.359 kB / 0.505 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1431, allocations: 69.73 kB / 0.505 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1431, allocations: 4 kB / 0.5051 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1431, allocations: 4 kB / 0.5051 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1431, allocations: 0 / 0.5051 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1432, allocations: 43.86 kB / 0.5051 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.1437, allocations: 300.7 kB / 0.5054 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.144, allocations: 94.55 kB / 0.5055 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.1441, allocations: 28.84 kB / 0.5055 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1441, allocations: 192 / 0.5055 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1441, allocations: 42.5 kB / 0.5055 GB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1441, allocations: 0 / 0.5055 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003235/0.1445, allocations: 105.6 kB / 0.5056 GB, free: 4.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.1445, allocations: 55.41 kB / 0.5057 GB, free: 4.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.1447, allocations: 117.8 kB / 0.5058 GB, free: 4.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1447, allocations: 25.7 kB / 0.5058 GB, free: 4.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.1448, allocations: 88.14 kB / 0.5059 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.1448, allocations: 35.69 kB / 0.506 GB, free: 4.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.1449, allocations: 37.72 kB / 0.506 GB, free: 4.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.145, allocations: 322.8 kB / 0.5063 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.1451, allocations: 19.98 kB / 0.5063 GB, free: 4.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.1451, allocations: 34.14 kB / 0.5063 GB, free: 4.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.1456, allocations: 128.8 kB / 0.5065 GB, free: 3.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1456, allocations: 0 / 0.5065 GB, free: 3.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001842/0.1458, allocations: 113.6 kB / 0.5066 GB, free: 3.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1458, allocations: 4 kB / 0.5066 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1458, allocations: 0 / 0.5066 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1458, allocations: 0 / 0.5066 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.146, allocations: 31.98 kB / 0.5066 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.146, allocations: 0 / 0.5066 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.146, allocations: 12.31 kB / 0.5066 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.146, allocations: 4.031 kB / 0.5066 GB, free: 3.785 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.0002371/0.1463, allocations: 130.5 kB / 0.5068 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.1463, allocations: 4 kB / 0.5068 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.1465, allocations: 114 kB / 0.5069 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1465, allocations: 0 / 0.5069 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1465, allocations: 0 / 0.5069 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1465, allocations: 8 kB / 0.5069 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.1468, allocations: 193.5 kB / 0.5071 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1468, allocations: 0 / 0.5071 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1469, allocations: 31.92 kB / 0.5071 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1469, allocations: 0 / 0.5071 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.147, allocations: 4 kB / 0.5071 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.147, allocations: 4 kB / 0.5071 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.147, allocations: 0 / 0.5071 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.1473, allocations: 227.3 kB / 0.5073 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.1474, allocations: 81.16 kB / 0.5074 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1474, allocations: 4 kB / 0.5074 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1475, allocations: 7.984 kB / 0.5074 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1475, allocations: 8.031 kB / 0.5074 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1475, allocations: 0 / 0.5074 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.512e-05/0.1476, allocations: 91.27 kB / 0.5075 GB, free: 2.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1476, allocations: 0 / 0.5075 GB, free: 2.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1478, allocations: 16 kB / 0.5075 GB, free: 2.781 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 0.0001278/0.1479, allocations: 107.1 kB / 0.5076 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1481, allocations: 55.92 kB / 0.5077 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1481, allocations: 0 / 0.5077 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.1482, allocations: 31.98 kB / 0.5077 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.1484, allocations: 11.59 kB / 0.5077 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.149, allocations: 230.7 kB / 0.5079 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1494, allocations: 0.6969 MB / 0.5086 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.1494, allocations: 8.656 kB / 0.5086 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1494, allocations: 15.38 kB / 0.5086 GB, free: 1.57 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1494, allocations: 0 / 0.5086 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Templates: time 0.003474/0.1529, allocations: 0.5716 MB / 0.5092 GB, free: 1 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.236651169601828] Failed to read output from testmodel.py, exit status != 0: 0.38430208899080753 0.395665527 0.250974558 Calling exit ...