Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.001319/0.001319, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001448/0.001448, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.1066/0.1066, allocations: 24.12 MB / 337.3 MB, free: 11.47 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_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") [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.002784/0.002784, allocations: 66.09 kB / 474.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3637, allocations: 59.6 MB / 0.5216 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.00445/0.3681, allocations: 2.036 MB / 0.5236 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3698, allocations: 0.7243 MB / 0.5243 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.37, allocations: 11.66 kB / 0.5243 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.3704, allocations: 73.08 kB / 0.5244 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.3707, allocations: 101.1 kB / 0.5245 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.3711, allocations: 189.4 kB / 0.5247 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.3719, allocations: 0.5324 MB / 0.5252 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.3721, allocations: 54.97 kB / 0.5253 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.3725, allocations: 208.2 kB / 0.5255 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.3729, allocations: 222.9 kB / 0.5257 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.373, allocations: 24.84 kB / 0.5257 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.373, allocations: 24.19 kB / 0.5257 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.3732, allocations: 110.9 kB / 0.5258 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3733, allocations: 132.2 kB / 0.526 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.3738, allocations: 294 kB / 0.5262 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3738, allocations: 0 / 0.5262 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3738, allocations: 0 / 0.5262 GB, free: 7.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3738, allocations: 1.25 kB / 0.5262 GB, free: 7.641 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002019/0.3758, allocations: 0.6953 MB / 0.5269 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3758, allocations: 14.3 kB / 0.5269 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3759, allocations: 36.45 kB / 0.527 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/0.3769, allocations: 377.8 kB / 0.5273 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3769, allocations: 10.39 kB / 0.5273 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.377, allocations: 19.59 kB / 0.5274 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.3774, allocations: 200.7 kB / 0.5275 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3774, allocations: 1.062 kB / 0.5275 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.3774, allocations: 9.094 kB / 0.5276 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3774, allocations: 5.266 kB / 0.5276 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.3779, allocations: 201.5 kB / 0.5278 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3792, allocations: 0.667 MB / 0.5284 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.38, allocations: 319.1 kB / 0.5287 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.3802, allocations: 116.1 kB / 0.5288 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.3802, allocations: 3.125 kB / 0.5288 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3803, allocations: 44.17 kB / 0.5289 GB, free: 6.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.3803, allocations: 1.344 kB / 0.5289 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007702/0.381, allocations: 367.9 kB / 0.5292 GB, free: 6.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.3811, allocations: 53.88 kB / 0.5293 GB, free: 6.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009829/0.3821, allocations: 417.1 kB / 0.5297 GB, free: 5.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3821, allocations: 33.7 kB / 0.5297 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3822, allocations: 165.7 kB / 0.5299 GB, free: 5.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.3823, allocations: 97.41 kB / 0.5299 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.3824, allocations: 48.05 kB / 0.53 GB, free: 5.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.883e-05/0.3825, allocations: 340.8 kB / 0.5303 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.3827, allocations: 90.97 kB / 0.5304 GB, free: 5.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3828, allocations: 92.53 kB / 0.5305 GB, free: 5.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.3855, allocations: 0.6676 MB / 0.5311 GB, free: 5.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3855, allocations: 0 / 0.5311 GB, free: 5.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006258/0.3861, allocations: 339.9 kB / 0.5315 GB, free: 4.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.3861, allocations: 6.062 kB / 0.5315 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3861, allocations: 0 / 0.5315 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3861, allocations: 2.25 kB / 0.5315 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3864, allocations: 52.3 kB / 0.5315 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3864, allocations: 1 kB / 0.5315 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.3868, allocations: 65.55 kB / 0.5316 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.3869, allocations: 9.531 kB / 0.5316 GB, free: 4.836 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 (31): * Single equations (assignments): 31 * 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.0002477/0.3871, allocations: 168.6 kB / 0.5318 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.3872, allocations: 38.25 kB / 0.5318 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/0.3879, allocations: 323 kB / 0.5321 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.3879, allocations: 3.406 kB / 0.5321 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3879, allocations: 3.938 kB / 0.5321 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.388, allocations: 3.234 kB / 0.5321 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3884, allocations: 340.5 kB / 0.5324 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3884, allocations: 1.438 kB / 0.5324 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.3888, allocations: 49.7 kB / 0.5325 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.3888, allocations: 5.109 kB / 0.5325 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3888, allocations: 10.38 kB / 0.5325 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3888, allocations: 1.25 kB / 0.5325 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3888, allocations: 0 / 0.5325 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.3895, allocations: 0.5212 MB / 0.533 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.3896, allocations: 40.38 kB / 0.5331 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.3897, allocations: 11.7 kB / 0.5331 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.3901, allocations: 51.69 kB / 0.5331 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.3902, allocations: 18.27 kB / 0.5331 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3902, allocations: 5.484 kB / 0.5331 GB, free: 3.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007814/0.391, allocations: 331.4 kB / 0.5334 GB, free: 3.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.391, allocations: 0 / 0.5334 GB, free: 3.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.3913, allocations: 63.86 kB / 0.5335 GB, free: 3.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * 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.0001201/0.3914, allocations: 109.3 kB / 0.5336 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.392, allocations: 249.4 kB / 0.5339 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.392, allocations: 0 / 0.5339 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.3922, allocations: 123.2 kB / 0.534 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.3927, allocations: 57.38 kB / 0.534 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3941, allocations: 0.7357 MB / 0.5347 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3944, allocations: 0.8081 MB / 0.5355 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3945, allocations: 27.05 kB / 0.5356 GB, free: 2.438 MB / 382.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3945, allocations: 0 / 0.5356 GB, free: 2.438 MB / 382.1 MB Notification: Performance of Templates: time 0.00848/0.403, allocations: 3.91 MB / 0.5394 GB, free: 1.387 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.746251511853188] Failed to read output from testmodel.py, exit status != 0: 0.41424230695702136 0.42924165400000003 0.051844882 Calling exit ...