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.001111/0.001111, allocations: 87.56 kB / 20.97 MB, free: 3.578 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.001163/0.001163, allocations: 177 kB / 24.27 MB, free: 280 kB / 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.06437/0.06437, allocations: 18.14 MB / 279.2 MB, free: 11.38 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.472e-06/1.472e-06, allocations: 0 / 357.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.045e-05, allocations: 2.312 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001036/0.001056, allocations: 0.5986 MB / 357.8 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.001212, allocations: 55.91 kB / 357.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.001241, allocations: 0 / 357.9 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.001258, allocations: 3.938 kB / 357.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.001327, allocations: 15.88 kB / 357.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.001487, allocations: 19.89 kB / 357.9 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.001562, allocations: 39.84 kB / 358 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.0016, allocations: 4.188 kB / 358 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.001622, allocations: 19.97 kB / 358 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.001699, allocations: 15.92 kB / 358 MB, free: 7.418 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.001719, allocations: 4 kB / 358 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.001726, allocations: 0 / 358 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.001747, allocations: 19.91 kB / 358 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.001771, allocations: 11.98 kB / 358.1 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.897e-05/0.00184, allocations: 31.83 kB / 358.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.001842, allocations: 0 / 358.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001843, allocations: 0 / 358.1 MB, free: 7.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.001846, allocations: 0 / 358.1 MB, free: 7.352 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.0003491/0.002195, allocations: 400.4 kB / 358.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.002228, allocations: 8.922 kB / 358.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.002268, allocations: 16.89 kB / 358.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.666e-05/0.002354, allocations: 120.5 kB / 358.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.002369, allocations: 384 / 358.6 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.002391, allocations: 12.38 kB / 358.6 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.002483, allocations: 62.16 kB / 358.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.00249, allocations: 192 / 358.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.0025, allocations: 8.125 kB / 358.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.002508, allocations: 4 kB / 358.7 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.002552, allocations: 23.98 kB / 358.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.002852, allocations: 279.7 kB / 359 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.003047, allocations: 103 kB / 359.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.003084, allocations: 27.69 kB / 359.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.003097, allocations: 7.938 kB / 359.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.003118, allocations: 37.39 kB / 359.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.003119, allocations: 3.984 kB / 359.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001788/0.003298, allocations: 105.7 kB / 359.3 MB, free: 6.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.003334, allocations: 51.41 kB / 359.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.274e-05/0.003417, allocations: 181.9 kB / 359.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.003426, allocations: 25.7 kB / 359.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.003476, allocations: 134.8 kB / 359.7 MB, free: 5.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.0035, allocations: 43.58 kB / 359.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.003533, allocations: 35.36 kB / 359.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.003645, allocations: 0.4962 MB / 360.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.00367, allocations: 8.109 kB / 360.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.003706, allocations: 39.3 kB / 360.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.951e-05/0.003805, allocations: 87.05 kB / 360.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.003807, allocations: 0 / 360.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001013/0.003908, allocations: 101.6 kB / 360.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.00392, allocations: 8 kB / 360.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.003924, allocations: 0 / 360.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.003938, allocations: 0 / 360.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.004021, allocations: 31.92 kB / 360.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.004026, allocations: 8.031 kB / 360.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.004047, allocations: 4 kB / 360.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.004053, allocations: 4 kB / 360.5 MB, free: 4.699 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.0001076/0.00416, allocations: 168.5 kB / 360.7 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.004178, allocations: 7.938 kB / 360.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.004312, allocations: 106 kB / 360.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.004314, allocations: 4 kB / 360.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.004317, allocations: 3.938 kB / 360.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00432, allocations: 0 / 360.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.004428, allocations: 136.5 kB / 360.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004429, allocations: 4 kB / 360.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.203e-05/0.004521, allocations: 31.98 kB / 361 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.004524, allocations: 3.938 kB / 361 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.004538, allocations: 3.984 kB / 361 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004539, allocations: 0 / 361 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.00454, allocations: 4 kB / 361 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.004711, allocations: 251.8 kB / 361.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.00472, allocations: 15.89 kB / 361.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.00473, allocations: 0 / 361.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.004765, allocations: 7.938 kB / 361.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.004782, allocations: 7.984 kB / 361.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.004786, allocations: 4 kB / 361.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.004826, allocations: 135.2 kB / 361.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004826, allocations: 0 / 361.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.004975, allocations: 12 kB / 361.4 MB, free: 3.734 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 6.421e-05/0.005039, allocations: 95.25 kB / 361.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.005147, allocations: 67.59 kB / 361.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.005149, allocations: 0 / 361.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.005182, allocations: 36.7 kB / 361.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.005339, allocations: 11.33 kB / 361.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.005667, allocations: 222.1 kB / 361.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.005702, allocations: 67.28 kB / 361.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.61e-05/0.005728, allocations: 8.719 kB / 361.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.005756, allocations: 16.56 kB / 361.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.005756, allocations: 0 / 361.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of Templates: time 0.001988/0.007745, allocations: 0.5515 MB / 362.5 MB, free: 2.605 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: 3.0494407990481704]