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.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.001536/0.001536, allocations: 108.5 kB / 16.45 MB, free: 6.457 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.001422/0.001422, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.09783/0.09783, allocations: 22.7 MB / 325.4 MB, free: 3.539 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.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: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.89 kB / 457.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1311, allocations: 58.02 MB / 0.5036 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003199/0.1343, allocations: 1.803 MB / 0.5053 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1355, allocations: 0.5806 MB / 0.5059 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.1355, allocations: 3.938 kB / 0.5059 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.1358, allocations: 43.7 kB / 0.506 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.136, allocations: 67.62 kB / 0.506 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1363, allocations: 87.86 kB / 0.5061 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.1366, allocations: 247.5 kB / 0.5063 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1367, allocations: 41.58 kB / 0.5064 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1369, allocations: 99.61 kB / 0.5065 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1371, allocations: 131.5 kB / 0.5066 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.1372, allocations: 16 kB / 0.5066 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.1372, allocations: 16 kB / 0.5066 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1373, allocations: 63.81 kB / 0.5067 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.979e-05/0.1374, allocations: 79.47 kB / 0.5068 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1377, allocations: 175.2 kB / 0.5069 GB, free: 3.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1377, allocations: 0 / 0.5069 GB, free: 3.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1377, allocations: 0 / 0.5069 GB, free: 3.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1377, allocations: 0 / 0.5069 GB, free: 3.699 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001376/0.1391, allocations: 0.5764 MB / 0.5075 GB, free: 3.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1391, allocations: 11.97 kB / 0.5075 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.1392, allocations: 20.8 kB / 0.5075 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.1399, allocations: 316.5 kB / 0.5078 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.1399, allocations: 12.31 kB / 0.5078 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.1399, allocations: 16.36 kB / 0.5079 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.1402, allocations: 129.9 kB / 0.508 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1402, allocations: 0 / 0.508 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1402, allocations: 8 kB / 0.508 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1402, allocations: 4 kB / 0.508 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1405, allocations: 115.9 kB / 0.5081 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1416, allocations: 0.5119 MB / 0.5086 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.142, allocations: 178.5 kB / 0.5088 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1422, allocations: 72.77 kB / 0.5088 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1422, allocations: 0 / 0.5088 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1422, allocations: 38.56 kB / 0.5089 GB, free: 1.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 9.31e-07/0.1422, allocations: 0 / 0.5089 GB, free: 1.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005591/0.1428, allocations: 240.2 kB / 0.5091 GB, free: 1.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1428, allocations: 63.39 kB / 0.5092 GB, free: 1.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.1435, allocations: 275 kB / 0.5094 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1435, allocations: 25.7 kB / 0.5095 GB, free: 0.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1436, allocations: 128.3 kB / 0.5096 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.1437, allocations: 55.55 kB / 0.5096 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.1437, allocations: 41.64 kB / 0.5097 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.144, allocations: 330.8 kB / 0.51 GB, free: 360 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1441, allocations: 63.91 kB / 0.5101 GB, free: 296 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1443, allocations: 61.16 kB / 0.5101 GB, free: 236 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2355/0.3797, allocations: 454.6 kB / 0.5105 GB, free: 16.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3797, allocations: 1.531 kB / 0.5105 GB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004771/0.3802, allocations: 217.5 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3802, allocations: 5.562 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3802, allocations: 1.312 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3803, allocations: 1.438 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3805, allocations: 39.47 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3805, allocations: 6.281 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.3808, allocations: 38.7 kB / 0.5108 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3808, allocations: 6.281 kB / 0.5108 GB, free: 16.32 MB / 382.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.0002447/0.381, allocations: 147.5 kB / 0.511 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.3811, allocations: 21.45 kB / 0.511 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.3816, allocations: 225 kB / 0.5112 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3816, allocations: 4.094 kB / 0.5112 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3816, allocations: 2.188 kB / 0.5112 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3816, allocations: 4.969 kB / 0.5112 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.3819, allocations: 291.2 kB / 0.5115 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3819, allocations: 0 / 0.5115 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.3822, allocations: 29.77 kB / 0.5115 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3822, allocations: 4.281 kB / 0.5115 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3822, allocations: 5.031 kB / 0.5116 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3822, allocations: 1.594 kB / 0.5116 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3822, allocations: 0 / 0.5116 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.3827, allocations: 393.1 kB / 0.5119 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.3828, allocations: 98.77 kB / 0.512 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.3828, allocations: 8.984 kB / 0.512 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.3831, allocations: 31.39 kB / 0.5121 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.3832, allocations: 9.938 kB / 0.5121 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3832, allocations: 6.781 kB / 0.5121 GB, free: 15.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004435/0.3836, allocations: 222.1 kB / 0.5123 GB, free: 15.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 0.5123 GB, free: 15.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3839, allocations: 36.23 kB / 0.5123 GB, free: 15.66 MB / 382.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 9.616e-05/0.384, allocations: 101.1 kB / 0.5124 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003361/0.3843, allocations: 159.9 kB / 0.5126 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3843, allocations: 1.625 kB / 0.5126 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3845, allocations: 76.25 kB / 0.5126 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.3849, allocations: 41.19 kB / 0.5127 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/0.3858, allocations: 490.2 kB / 0.5132 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.386, allocations: 0.746 MB / 0.5139 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.3861, allocations: 41.41 kB / 0.5139 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.3862, allocations: 21.53 kB / 0.5139 GB, free: 14.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3862, allocations: 1.094 kB / 0.5139 GB, free: 14.64 MB / 382.1 MB Notification: Performance of Templates: time 0.006191/0.3924, allocations: 2.05 MB / 0.5159 GB, free: 14.55 MB / 382.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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.064168490935117] Failed to read output from testmodel.py, exit status != 0: 0.40122755197808146 0.415932042 0.27463554700000004 Calling exit ...