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.0009216/0.0009216, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00487/0.005791, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009427/0.0009427, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002461, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9949/0.9949, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09994/1.095, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.09238/0.09238, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01465/0.107, allocations: 6.79 MB / 269.1 MB, free: 6.227 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.934e-06/1.934e-06, allocations: 0 / 270.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.686e-05, allocations: 5.828 kB / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001958/0.001985, allocations: 0.6299 MB / 271.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.002124, allocations: 71.77 kB / 271.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.002151, allocations: 0 / 271.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.357e-06/0.00216, allocations: 7.938 kB / 271.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.002207, allocations: 11.88 kB / 271.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.597e-05/0.002273, allocations: 15.95 kB / 271.2 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.002353, allocations: 39.86 kB / 271.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.002395, allocations: 4.188 kB / 271.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.002467, allocations: 31.95 kB / 271.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.002556, allocations: 27.84 kB / 271.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.002579, allocations: 4 kB / 271.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.002589, allocations: 4 kB / 271.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.002611, allocations: 7.938 kB / 271.4 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.002633, allocations: 11.94 kB / 271.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.865e-05/0.002722, allocations: 23.91 kB / 271.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.002734, allocations: 0 / 271.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.002735, allocations: 0 / 271.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.002745, allocations: 3.938 kB / 271.4 MB, free: 3.879 MB / 266.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.0004127/0.003157, allocations: 280.4 kB / 271.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.003193, allocations: 16.03 kB / 271.7 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.003236, allocations: 8.922 kB / 271.7 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.003334, allocations: 113.7 kB / 271.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.003348, allocations: 8.375 kB / 271.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.003376, allocations: 4.375 kB / 271.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.003468, allocations: 54.17 kB / 271.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003476, allocations: 192 / 271.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.003487, allocations: 8.109 kB / 271.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.003495, allocations: 4 kB / 271.9 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.003538, allocations: 19.98 kB / 271.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.003861, allocations: 180.2 kB / 272.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.004087, allocations: 86.47 kB / 272.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.004121, allocations: 20.86 kB / 272.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.004137, allocations: 0 / 272.2 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.004164, allocations: 30.56 kB / 272.2 MB, free: 2.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.004165, allocations: 4 kB / 272.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000173/0.004338, allocations: 73.84 kB / 272.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.004375, allocations: 63.34 kB / 272.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.004451, allocations: 122.7 kB / 272.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.004465, allocations: 25.7 kB / 272.5 MB, free: 2.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.004507, allocations: 92.09 kB / 272.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.004537, allocations: 43.61 kB / 272.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.004579, allocations: 25.7 kB / 272.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.004667, allocations: 322.8 kB / 273 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.004684, allocations: 4 kB / 273 MB, free: 2.156 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.004718, allocations: 29.7 kB / 273 MB, free: 2.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.004819, allocations: 77.72 kB / 273.1 MB, free: 2.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004821, allocations: 0 / 273.1 MB, free: 2.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001126/0.004934, allocations: 69.61 kB / 273.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.00495, allocations: 15.97 kB / 273.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.004954, allocations: 0 / 273.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.004968, allocations: 0 / 273.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.005194, allocations: 43.97 kB / 273.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.005198, allocations: 0 / 273.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.005235, allocations: 15.95 kB / 273.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.005242, allocations: 0 / 273.2 MB, free: 1.891 MB / 266.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.0001119/0.005354, allocations: 125.8 kB / 273.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.005382, allocations: 7.938 kB / 273.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.005518, allocations: 82.58 kB / 273.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00552, allocations: 0 / 273.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.005522, allocations: 0 / 273.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.005526, allocations: 0 / 273.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.005664, allocations: 97.75 kB / 273.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.005667, allocations: 0 / 273.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.005862, allocations: 58.69 kB / 273.6 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.005877, allocations: 11.95 kB / 273.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.00588, allocations: 0 / 273.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.005892, allocations: 0 / 273.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.005895, allocations: 3.984 kB / 273.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.005897, allocations: 0 / 273.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.006081, allocations: 187.4 kB / 273.8 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.006097, allocations: 4 kB / 273.8 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.006157, allocations: 4 kB / 273.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.006175, allocations: 7.922 kB / 273.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.006183, allocations: 8.047 kB / 273.8 MB, free: 1.254 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.226e-05/0.006205, allocations: 20.83 kB / 273.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006205, allocations: 0 / 273.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.006396, allocations: 16 kB / 273.8 MB, free: 1.215 MB / 266.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 9.172e-05/0.006488, allocations: 80.41 kB / 273.9 MB, free: 1.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.006592, allocations: 44.78 kB / 274 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.006599, allocations: 4 kB / 274 MB, free: 1.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.006642, allocations: 32.78 kB / 274 MB, free: 1.043 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.006854, allocations: 101.2 kB / 274.1 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.007205, allocations: 204.6 kB / 274.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.007247, allocations: 63.34 kB / 274.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.748e-05/0.007285, allocations: 8.438 kB / 274.4 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.007351, allocations: 59.38 kB / 274.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007351, allocations: 0 / 274.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of Templates: time 0.1084/0.1158, allocations: 0.7507 MB / 275.2 MB, free: 4.43 MB / 266.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: 2.9276877641677856]