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.0008495/0.0008495, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0009635/0.0009635, allocations: 165.2 kB / 23.98 MB, free: 0.5859 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 0.9048/0.9048, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.05978/0.05978, allocations: 18.13 MB / 278.8 MB, free: 11.54 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.312e-06/1.312e-06, allocations: 0 / 416.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.551e-05, allocations: 3.125 kB / 416.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001094/0.00112, allocations: 0.5832 MB / 416.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001586/0.001278, allocations: 61.05 kB / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.001306, allocations: 1.188 kB / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.001323, allocations: 3.938 kB / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.001382, allocations: 7.031 kB / 417 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.001503, allocations: 23.92 kB / 417 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.001568, allocations: 38.58 kB / 417 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.001614, allocations: 13.02 kB / 417 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.001637, allocations: 19.94 kB / 417.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.001719, allocations: 17.45 kB / 417.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.001744, allocations: 2.75 kB / 417.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.001752, allocations: 2.75 kB / 417.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.001769, allocations: 11.89 kB / 417.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.001792, allocations: 12.39 kB / 417.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.651e-05/0.001859, allocations: 33.62 kB / 417.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.00186, allocations: 0.7969 kB / 417.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.001861, allocations: 0 / 417.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.001865, allocations: 4 kB / 417.1 MB, free: 12.04 MB / 330.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.0002998/0.002165, allocations: 289.8 kB / 417.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.002201, allocations: 10.52 kB / 417.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.002232, allocations: 9.016 kB / 417.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.764e-05/0.002289, allocations: 119.7 kB / 417.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.0023, allocations: 5.75 kB / 417.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.002319, allocations: 4.5 kB / 417.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.002424, allocations: 65.84 kB / 417.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.002432, allocations: 192 / 417.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.002441, allocations: 8.125 kB / 417.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.002445, allocations: 1.375 kB / 417.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/0.002504, allocations: 41.66 kB / 417.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.002777, allocations: 237.3 kB / 417.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.00296, allocations: 97.28 kB / 418 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.002998, allocations: 29.52 kB / 418 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.003015, allocations: 6.297 kB / 418 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.035e-05/0.003025, allocations: 36.06 kB / 418.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.694e-06/0.003027, allocations: 5.375 kB / 418.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001843/0.003211, allocations: 110.5 kB / 418.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.003231, allocations: 53.53 kB / 418.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.003279, allocations: 118.4 kB / 418.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.003285, allocations: 25.7 kB / 418.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.003316, allocations: 92.52 kB / 418.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.003332, allocations: 39.2 kB / 418.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.003362, allocations: 28.08 kB / 418.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.822e-05/0.00339, allocations: 320.2 kB / 418.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.003416, allocations: 16.02 kB / 418.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.00345, allocations: 36.78 kB / 418.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.003703, allocations: 126.8 kB / 419 MB, free: 10.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.003705, allocations: 1.188 kB / 419 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.897e-05/0.003804, allocations: 116.3 kB / 419.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.003815, allocations: 5.484 kB / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.00382, allocations: 0 / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.003831, allocations: 1.281 kB / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.003905, allocations: 28.81 kB / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.00391, allocations: 5.453 kB / 419.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.00393, allocations: 15.62 kB / 419.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.003936, allocations: 2.875 kB / 419.2 MB, free: 10.32 MB / 330.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 9.026e-05/0.004026, allocations: 127.1 kB / 419.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.004041, allocations: 12.42 kB / 419.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.00416, allocations: 99.59 kB / 419.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.004162, allocations: 5.312 kB / 419.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.004166, allocations: 2.047 kB / 419.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004169, allocations: 1.453 kB / 419.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.00425, allocations: 127.9 kB / 419.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004251, allocations: 0 / 419.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.004337, allocations: 29.64 kB / 419.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.004339, allocations: 4.812 kB / 419.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.004348, allocations: 10.03 kB / 419.6 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004349, allocations: 0 / 419.6 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00435, allocations: 5.25 kB / 419.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.004494, allocations: 215.6 kB / 419.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.004502, allocations: 19.02 kB / 419.8 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.004513, allocations: 3 kB / 419.9 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.004545, allocations: 4 kB / 419.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.004566, allocations: 5.906 kB / 419.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.004571, allocations: 8.172 kB / 419.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.152e-05/0.004592, allocations: 94.56 kB / 420 MB, free: 9.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004593, allocations: 0 / 420 MB, free: 9.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.004734, allocations: 14.5 kB / 420 MB, free: 9.703 MB / 330.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 5.621e-05/0.00479, allocations: 105.2 kB / 420.1 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.004894, allocations: 64.58 kB / 420.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004896, allocations: 0 / 420.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.004927, allocations: 37.2 kB / 420.2 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.005072, allocations: 8 kB / 420.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.005366, allocations: 227 kB / 420.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.005406, allocations: 77.02 kB / 420.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.005434, allocations: 21.94 kB / 420.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005434, allocations: 0 / 420.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of Templates: time 0.001786/0.00722, allocations: 0.9512 MB / 421.5 MB, free: 9.258 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.392751207575202] Failed to read output from testmodel.py, exit status != 0: 0.011578749865293503 0.019409339 0.015914809000000002 Calling exit ...