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.0009027/0.0009027, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.001578/0.001578, allocations: 177 kB / 24.08 MB, free: 432 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.048/1.048, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.07267/0.07267, allocations: 18.13 MB / 279.2 MB, free: 11.19 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.563e-06/1.563e-06, allocations: 0 / 357.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.621e-05, allocations: 2.312 kB / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001442/0.001468, allocations: 0.5907 MB / 358.4 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.001656, allocations: 55.97 kB / 358.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.001686, allocations: 0 / 358.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.849e-05/0.001705, allocations: 7.938 kB / 358.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.001767, allocations: 11.86 kB / 358.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.001889, allocations: 15.92 kB / 358.5 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.001955, allocations: 43.83 kB / 358.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.001993, allocations: 4.188 kB / 358.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.002021, allocations: 15.98 kB / 358.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.002103, allocations: 19.91 kB / 358.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.002122, allocations: 3.984 kB / 358.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.002132, allocations: 8 kB / 358.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.002152, allocations: 11.92 kB / 358.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.002178, allocations: 15.94 kB / 358.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.012e-05/0.002258, allocations: 27.88 kB / 358.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.002261, allocations: 0 / 358.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002262, allocations: 0 / 358.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.002266, allocations: 0 / 358.6 MB, free: 6.68 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.000372/0.002638, allocations: 396.4 kB / 359 MB, free: 6.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.002679, allocations: 16.92 kB / 359 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.002711, allocations: 8.891 kB / 359 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.0028, allocations: 124.4 kB / 359.1 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.00281, allocations: 4.375 kB / 359.1 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.002829, allocations: 12.31 kB / 359.2 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.002913, allocations: 50.23 kB / 359.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.002919, allocations: 192 / 359.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.002927, allocations: 8.125 kB / 359.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.002932, allocations: 0 / 359.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.002966, allocations: 23.97 kB / 359.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.003247, allocations: 272.3 kB / 359.5 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.003413, allocations: 99 kB / 359.6 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.00344, allocations: 19.69 kB / 359.6 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.00346, allocations: 7.984 kB / 359.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.00348, allocations: 37.33 kB / 359.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.003482, allocations: 3.984 kB / 359.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001629/0.003645, allocations: 89.75 kB / 359.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.003671, allocations: 55.41 kB / 359.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.003746, allocations: 177.8 kB / 360 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.003758, allocations: 29.7 kB / 360 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.003812, allocations: 138.8 kB / 360.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.003836, allocations: 43.69 kB / 360.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.00387, allocations: 35.3 kB / 360.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.003984, allocations: 0.4923 MB / 360.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.004002, allocations: 8 kB / 360.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.004035, allocations: 35.34 kB / 360.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.604e-05/0.004121, allocations: 74.66 kB / 360.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.004124, allocations: 0 / 360.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001057/0.004229, allocations: 93.56 kB / 360.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.004242, allocations: 12.03 kB / 360.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.004247, allocations: 0 / 360.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.004257, allocations: 0 / 360.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.004344, allocations: 35.92 kB / 361 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.004348, allocations: 4 kB / 361 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.004368, allocations: 0 / 361 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.004375, allocations: 8 kB / 361 MB, free: 4.098 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.0001202/0.004496, allocations: 168.5 kB / 361.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.004515, allocations: 7.938 kB / 361.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.00464, allocations: 101.9 kB / 361.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.004643, allocations: 0 / 361.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.004644, allocations: 0 / 361.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.004647, allocations: 0 / 361.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.004759, allocations: 121.2 kB / 361.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.004761, allocations: 0 / 361.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.004855, allocations: 31.98 kB / 361.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.004858, allocations: 0 / 361.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.004867, allocations: 0 / 361.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.00487, allocations: 7.938 kB / 361.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.004871, allocations: 0 / 361.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.00505, allocations: 259.7 kB / 361.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.005059, allocations: 3.953 kB / 361.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.005068, allocations: 4 kB / 361.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.005105, allocations: 7.938 kB / 361.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.005121, allocations: 7.984 kB / 361.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.005124, allocations: 0 / 361.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.005163, allocations: 131.2 kB / 361.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005163, allocations: 0 / 361.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.005314, allocations: 20 kB / 361.8 MB, free: 3.176 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 7.322e-05/0.005387, allocations: 95.25 kB / 361.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.005483, allocations: 55.58 kB / 362 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005485, allocations: 0 / 362 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.005512, allocations: 36.7 kB / 362 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.005664, allocations: 8 kB / 362 MB, free: 2.969 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.005975, allocations: 222 kB / 362.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.006009, allocations: 67.34 kB / 362.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.846e-05/0.006038, allocations: 8.719 kB / 362.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.006083, allocations: 74.2 kB / 362.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.006084, allocations: 0 / 362.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of Templates: time 0.00203/0.008113, allocations: 0.6117 MB / 363 MB, free: 1.945 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.1138793118298054]