Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.001299/0.001299, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001479/0.001479, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.539/1.539, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.1001/0.1001, allocations: 17.8 MB / 277.6 MB, free: 15.33 MB / 270.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.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.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 66.7 kB / 414.6 MB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 59.57 MB / 474.2 MB, free: 8.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00419/0.1277, allocations: 1.78 MB / 476 MB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1291, allocations: 0.5768 MB / 476.6 MB, free: 6.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1293, allocations: 7.938 kB / 476.6 MB, free: 6.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1297, allocations: 31.72 kB / 476.6 MB, free: 6.406 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1299, allocations: 59.69 kB / 476.7 MB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1302, allocations: 99.78 kB / 476.8 MB, free: 6.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.1307, allocations: 303.4 kB / 477.1 MB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1309, allocations: 25.8 kB / 477.1 MB, free: 5.926 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.1311, allocations: 111.6 kB / 477.2 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1314, allocations: 123.5 kB / 477.3 MB, free: 5.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.1315, allocations: 16 kB / 477.3 MB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.1316, allocations: 16 kB / 477.3 MB, free: 5.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1317, allocations: 67.73 kB / 477.4 MB, free: 5.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1318, allocations: 59.66 kB / 477.5 MB, free: 5.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1321, allocations: 183.1 kB / 477.6 MB, free: 5.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1321, allocations: 0 / 477.6 MB, free: 5.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1321, allocations: 0 / 477.6 MB, free: 5.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.1321, allocations: 7.984 kB / 477.6 MB, free: 5.348 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001459/0.1336, allocations: 0.4973 MB / 478.1 MB, free: 4.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1336, allocations: 8.922 kB / 478.2 MB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.1337, allocations: 24.8 kB / 478.2 MB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.1344, allocations: 246 kB / 478.4 MB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1344, allocations: 16.38 kB / 478.4 MB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1344, allocations: 8.375 kB / 478.4 MB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.1347, allocations: 129.9 kB / 478.6 MB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1347, allocations: 0 / 478.6 MB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1348, allocations: 11.94 kB / 478.6 MB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1348, allocations: 0 / 478.6 MB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.1351, allocations: 123.8 kB / 478.7 MB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.136, allocations: 436 kB / 479.1 MB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.1364, allocations: 174.4 kB / 479.3 MB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1366, allocations: 76.75 kB / 479.4 MB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1366, allocations: 4 kB / 479.4 MB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1366, allocations: 30.56 kB / 479.4 MB, free: 3.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.1366, allocations: 0 / 479.4 MB, free: 3.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005606/0.1372, allocations: 244.7 kB / 479.6 MB, free: 3.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1372, allocations: 59.69 kB / 479.7 MB, free: 3.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.1378, allocations: 271.1 kB / 480 MB, free: 2.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1378, allocations: 25.7 kB / 480 MB, free: 2.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1379, allocations: 128.3 kB / 480.1 MB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.138, allocations: 59.48 kB / 480.2 MB, free: 2.668 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.1381, allocations: 37.7 kB / 480.2 MB, free: 2.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1382, allocations: 334.8 kB / 480.5 MB, free: 2.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1384, allocations: 63.91 kB / 480.6 MB, free: 2.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1385, allocations: 61.34 kB / 480.7 MB, free: 2.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.1403, allocations: 461.8 kB / 481.1 MB, free: 1.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1403, allocations: 0 / 481.1 MB, free: 1.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003806/0.1407, allocations: 223.7 kB / 481.3 MB, free: 1.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1407, allocations: 6.656 kB / 481.3 MB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1407, allocations: 0 / 481.3 MB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1407, allocations: 4 kB / 481.3 MB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1409, allocations: 39.92 kB / 481.4 MB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.141, allocations: 4 kB / 481.4 MB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.1412, allocations: 39.84 kB / 481.4 MB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1412, allocations: 7.984 kB / 481.4 MB, free: 1.395 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.0001811/0.1414, allocations: 139.1 kB / 481.6 MB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1415, allocations: 19.91 kB / 481.6 MB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.142, allocations: 230.8 kB / 481.8 MB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.142, allocations: 4 kB / 481.8 MB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.142, allocations: 0 / 481.8 MB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.142, allocations: 3.938 kB / 481.8 MB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.1423, allocations: 201.2 kB / 482 MB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1423, allocations: 4 kB / 482 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.1425, allocations: 31.97 kB / 482.1 MB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1425, allocations: 4 kB / 482.1 MB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1425, allocations: 4 kB / 482.1 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1425, allocations: 4 kB / 482.1 MB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1425, allocations: 0 / 482.1 MB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.1431, allocations: 389.7 kB / 482.4 MB, free: 328 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.1432, allocations: 27.78 kB / 482.5 MB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1432, allocations: 8 kB / 482.5 MB, free: 292 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.1435, allocations: 31.95 kB / 482.5 MB, free: 260 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1435, allocations: 11.98 kB / 482.5 MB, free: 248 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1435, allocations: 7.938 kB / 482.5 MB, free: 240 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004401/0.144, allocations: 208.6 kB / 482.7 MB, free: 32 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.144, allocations: 0 / 482.7 MB, free: 32 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1442, allocations: 32 kB / 482.8 MB, free: 0 / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * 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.0002507/0.1445, allocations: 112.6 kB / 482.9 MB, free: 52.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.1449, allocations: 149.6 kB / 483 MB, free: 52.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1449, allocations: 0 / 483 MB, free: 52.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1451, allocations: 82 kB / 483.1 MB, free: 52.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.1457, allocations: 47.2 kB / 483.1 MB, free: 52.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.1466, allocations: 480.1 kB / 483.6 MB, free: 52.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1467, allocations: 143.9 kB / 483.8 MB, free: 52.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.1468, allocations: 36.31 kB / 483.8 MB, free: 52.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.1469, allocations: 28.16 kB / 483.8 MB, free: 52.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1469, allocations: 0 / 483.8 MB, free: 52.02 MB / 446.1 MB Notification: Performance of Templates: time 0.005546/0.1524, allocations: 2.098 MB / 485.9 MB, free: 51.88 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.997251205029897] Failed to read output from testmodel.py, exit status != 0: 0.46851344406604767 0.47879431399999994 0.34423910099999994 Calling exit ...