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.001872/0.001872, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.002218/0.002218, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1037/0.1037, allocations: 24.03 MB / 333.6 MB, free: 1.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.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.002047/0.002047, allocations: 72.41 kB / 468.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 59.54 MB / 0.516 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00319/0.1078, allocations: 1.811 MB / 0.5178 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1089, allocations: 0.6118 MB / 0.5184 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.109, allocations: 3.938 kB / 0.5184 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1093, allocations: 39.7 kB / 0.5185 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1095, allocations: 63.69 kB / 0.5185 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.1097, allocations: 91.84 kB / 0.5186 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.11, allocations: 259.4 kB / 0.5188 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1101, allocations: 33.61 kB / 0.5189 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1103, allocations: 103.7 kB / 0.519 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.1105, allocations: 127.5 kB / 0.5191 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.1105, allocations: 16 kB / 0.5191 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.22e-05/0.1106, allocations: 16 kB / 0.5191 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.1107, allocations: 63.75 kB / 0.5192 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.1108, allocations: 87.45 kB / 0.5193 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.111, allocations: 167.3 kB / 0.5194 GB, free: 8.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.111, allocations: 0 / 0.5194 GB, free: 8.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.111, allocations: 0 / 0.5194 GB, free: 8.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.111, allocations: 0 / 0.5194 GB, free: 8.293 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.001343/0.1123, allocations: 0.5802 MB / 0.52 GB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1124, allocations: 12.62 kB / 0.52 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.1124, allocations: 20.83 kB / 0.52 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.1131, allocations: 315.8 kB / 0.5203 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1131, allocations: 8.375 kB / 0.5203 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.1132, allocations: 12.33 kB / 0.5204 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.1134, allocations: 137.9 kB / 0.5205 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1134, allocations: 0 / 0.5205 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1135, allocations: 4 kB / 0.5205 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1135, allocations: 8 kB / 0.5205 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.1137, allocations: 107.9 kB / 0.5206 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.1147, allocations: 0.5158 MB / 0.5211 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.1151, allocations: 178.4 kB / 0.5213 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.1153, allocations: 82.92 kB / 0.5214 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1153, allocations: 3.938 kB / 0.5214 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1153, allocations: 34.56 kB / 0.5214 GB, free: 6.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.1153, allocations: 0 / 0.5214 GB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005465/0.1159, allocations: 237.7 kB / 0.5216 GB, free: 5.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1159, allocations: 63.34 kB / 0.5217 GB, free: 5.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.1165, allocations: 275 kB / 0.5219 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1165, allocations: 25.7 kB / 0.522 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.1166, allocations: 128.3 kB / 0.5221 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.1167, allocations: 55.55 kB / 0.5221 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.1167, allocations: 41.7 kB / 0.5222 GB, free: 5.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1169, allocations: 326.8 kB / 0.5225 GB, free: 4.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.117, allocations: 63.89 kB / 0.5226 GB, free: 4.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1172, allocations: 63.91 kB / 0.5226 GB, free: 4.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.1192, allocations: 459.1 kB / 0.5231 GB, free: 4.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1192, allocations: 0 / 0.5231 GB, free: 4.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004415/0.1196, allocations: 226.6 kB / 0.5233 GB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1196, allocations: 4 kB / 0.5233 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1196, allocations: 3.984 kB / 0.5233 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1197, allocations: 0 / 0.5233 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1199, allocations: 31.98 kB / 0.5233 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1199, allocations: 3.938 kB / 0.5233 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.1201, allocations: 43.84 kB / 0.5234 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1201, allocations: 0 / 0.5234 GB, free: 4.051 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.0002072/0.1203, allocations: 155.7 kB / 0.5235 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.1204, allocations: 15.91 kB / 0.5235 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1209, allocations: 223 kB / 0.5237 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1209, allocations: 4 kB / 0.5237 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1209, allocations: 3.938 kB / 0.5237 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1209, allocations: 0 / 0.5237 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.1213, allocations: 289.4 kB / 0.524 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1213, allocations: 0 / 0.524 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.1215, allocations: 31.92 kB / 0.524 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1215, allocations: 0 / 0.524 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1215, allocations: 11.98 kB / 0.5241 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1215, allocations: 0 / 0.5241 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1215, allocations: 11.92 kB / 0.5241 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.1221, allocations: 384.9 kB / 0.5244 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.1222, allocations: 96.97 kB / 0.5245 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.1222, allocations: 15.98 kB / 0.5245 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.1225, allocations: 28.03 kB / 0.5246 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1226, allocations: 19.98 kB / 0.5246 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1226, allocations: 3.984 kB / 0.5246 GB, free: 2.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004761/0.1231, allocations: 215.1 kB / 0.5248 GB, free: 2.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1231, allocations: 0 / 0.5248 GB, free: 2.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1233, allocations: 35.94 kB / 0.5248 GB, free: 2.441 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 0.0001195/0.1235, allocations: 99.25 kB / 0.5249 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.1238, allocations: 159.8 kB / 0.5251 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1238, allocations: 0 / 0.5251 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.124, allocations: 75.91 kB / 0.5251 GB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1244, allocations: 43.14 kB / 0.5252 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1254, allocations: 489.4 kB / 0.5257 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.1258, allocations: 0.7475 MB / 0.5264 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1259, allocations: 41.52 kB / 0.5264 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.126, allocations: 19.44 kB / 0.5264 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.126, allocations: 0 / 0.5264 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of Templates: time 0.005593/0.1316, allocations: 2.052 MB / 0.5284 GB, free: 14.68 MB / 398.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: 4.676728514954448] Failed to read output from testmodel.py, exit status != 0: 0.13925729505717754 0.15395018500000002 0.039329017 Calling exit ...