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.001721/0.001721, allocations: 110 kB / 18.94 MB, free: 2.789 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.002224/0.002224, allocations: 195.4 kB / 22.23 MB, free: 5.234 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.501/1.501, allocations: 225.6 MB / 251 MB, free: 13 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.09951/0.09951, allocations: 22.7 MB / 329 MB, free: 2.352 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.00205/0.00205, allocations: 67.89 kB / 463.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1524, allocations: 58.06 MB / 0.5089 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001838/0.1542, allocations: 0.6011 MB / 0.5095 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002364/0.1545, allocations: 63.89 kB / 0.5096 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1545, allocations: 0 / 0.5096 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.1545, allocations: 3.938 kB / 0.5096 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.1546, allocations: 11.88 kB / 0.5096 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1548, allocations: 15.91 kB / 0.5096 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1549, allocations: 43.89 kB / 0.5097 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.1549, allocations: 8.188 kB / 0.5097 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.155, allocations: 19.92 kB / 0.5097 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1551, allocations: 27.84 kB / 0.5097 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1551, allocations: 4 kB / 0.5097 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.1551, allocations: 0 / 0.5097 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.1551, allocations: 11.94 kB / 0.5097 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.1552, allocations: 23.84 kB / 0.5098 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.1553, allocations: 31.78 kB / 0.5098 GB, free: 3.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1553, allocations: 0 / 0.5098 GB, free: 3.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1553, allocations: 3.938 kB / 0.5098 GB, free: 3.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1553, allocations: 4 kB / 0.5098 GB, free: 3.547 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.0005404/0.1558, allocations: 294.1 kB / 0.5101 GB, free: 3.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1559, allocations: 8.031 kB / 0.5101 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1559, allocations: 16.81 kB / 0.5101 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1561, allocations: 114.5 kB / 0.5102 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1561, allocations: 4.375 kB / 0.5102 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1561, allocations: 4.375 kB / 0.5102 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1563, allocations: 69.8 kB / 0.5103 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1563, allocations: 0 / 0.5103 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1563, allocations: 4 kB / 0.5103 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1563, allocations: 3.938 kB / 0.5103 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.1564, allocations: 35.97 kB / 0.5103 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1569, allocations: 267.8 kB / 0.5106 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1572, allocations: 98.67 kB / 0.5107 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.1573, allocations: 40.77 kB / 0.5107 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1573, allocations: 0 / 0.5107 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1573, allocations: 30.56 kB / 0.5107 GB, free: 2.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1573, allocations: 0 / 0.5107 GB, free: 2.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002814/0.1576, allocations: 105.6 kB / 0.5108 GB, free: 2.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1576, allocations: 51.41 kB / 0.5109 GB, free: 2.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1578, allocations: 129.8 kB / 0.511 GB, free: 2.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1578, allocations: 25.7 kB / 0.511 GB, free: 2.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.1578, allocations: 92.09 kB / 0.5111 GB, free: 2.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1579, allocations: 39.69 kB / 0.5112 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1579, allocations: 25.7 kB / 0.5112 GB, free: 1.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1581, allocations: 322.8 kB / 0.5115 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.1581, allocations: 19.98 kB / 0.5115 GB, free: 1.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.1582, allocations: 40.7 kB / 0.5116 GB, free: 1.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1586, allocations: 125.5 kB / 0.5117 GB, free: 1.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1586, allocations: 0 / 0.5117 GB, free: 1.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001653/0.1588, allocations: 105.6 kB / 0.5118 GB, free: 1.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1588, allocations: 4 kB / 0.5118 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1588, allocations: 4 kB / 0.5118 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1588, allocations: 4.031 kB / 0.5118 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.159, allocations: 31.98 kB / 0.5118 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.159, allocations: 0 / 0.5118 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.159, allocations: 11.92 kB / 0.5118 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.159, allocations: 4 kB / 0.5118 GB, free: 1.266 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.0002538/0.1593, allocations: 122.6 kB / 0.5119 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1593, allocations: 11.95 kB / 0.512 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.1595, allocations: 102 kB / 0.5121 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1595, allocations: 4 kB / 0.5121 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1596, allocations: 7.938 kB / 0.5121 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1596, allocations: 0 / 0.5121 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1598, allocations: 168.5 kB / 0.5122 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1598, allocations: 0 / 0.5122 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.16, allocations: 31.92 kB / 0.5123 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.16, allocations: 4 kB / 0.5123 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.16, allocations: 0 / 0.5123 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.16, allocations: 4 kB / 0.5123 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.16, allocations: 3.984 kB / 0.5123 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.1603, allocations: 219.4 kB / 0.5125 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.1603, allocations: 7.953 kB / 0.5125 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1603, allocations: 4 kB / 0.5125 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1604, allocations: 4 kB / 0.5125 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.1604, allocations: 7.969 kB / 0.5125 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1604, allocations: 8 kB / 0.5125 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.1605, allocations: 91.27 kB / 0.5126 GB, free: 412 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1605, allocations: 0 / 0.5126 GB, free: 412 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1607, allocations: 16 kB / 0.5126 GB, free: 396 kB / 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.0001122/0.1608, allocations: 99.19 kB / 0.5127 GB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.161, allocations: 62.03 kB / 0.5128 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.161, allocations: 0 / 0.5128 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.161, allocations: 37.02 kB / 0.5128 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1613, allocations: 8.062 kB / 0.5128 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2392/0.4005, allocations: 220.8 kB / 0.513 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.4006, allocations: 0.6966 MB / 0.5137 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.4007, allocations: 6.688 kB / 0.5137 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.4007, allocations: 12.75 kB / 0.5137 GB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4007, allocations: 0 / 0.5137 GB, free: 14.14 MB / 382.1 MB Notification: Performance of Templates: time 0.003323/0.404, allocations: 0.6184 MB / 0.5143 GB, free: 14.12 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.323854285292327] Failed to read output from testmodel.py, exit status != 0: 0.41277623921632767 0.423185905 0.26541354399999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f114c4017b0>