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.001615/0.001615, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002046/0.002046, allocations: 218.6 kB / 23.05 MB, free: 5.074 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1041/0.1041, allocations: 22.93 MB / 336.2 MB, free: 12.7 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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",fmuType="cs",version="2.0",platforms={"static"}) [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.002039/0.002039, allocations: 59.91 kB / 472.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 59.3 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002848/0.3615, allocations: 2.037 MB / 0.5211 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3626, allocations: 0.723 MB / 0.5218 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3628, allocations: 7.062 kB / 0.5218 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.3631, allocations: 73.75 kB / 0.5219 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.3634, allocations: 100.7 kB / 0.522 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.3638, allocations: 189.7 kB / 0.5222 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.3645, allocations: 0.5317 MB / 0.5227 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3646, allocations: 58.97 kB / 0.5227 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.3649, allocations: 197.2 kB / 0.5229 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.3652, allocations: 227.4 kB / 0.5231 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/0.3653, allocations: 27.72 kB / 0.5232 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.3653, allocations: 25.03 kB / 0.5232 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.3655, allocations: 108.1 kB / 0.5233 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3656, allocations: 132.1 kB / 0.5234 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.366, allocations: 292.7 kB / 0.5237 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.366, allocations: 0 / 0.5237 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.366, allocations: 0 / 0.5237 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.366, allocations: 1.281 kB / 0.5237 GB, free: 7.98 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.001812/0.3678, allocations: 0.7046 MB / 0.5244 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3678, allocations: 10.73 kB / 0.5244 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/0.3678, allocations: 4.859 kB / 0.5244 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.3679, allocations: 62.88 kB / 0.5245 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.368, allocations: 36.83 kB / 0.5245 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/0.3689, allocations: 375.6 kB / 0.5249 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3689, allocations: 11.67 kB / 0.5249 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3689, allocations: 15.75 kB / 0.5249 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.3693, allocations: 204.6 kB / 0.5251 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3693, allocations: 5.328 kB / 0.5251 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3693, allocations: 5.219 kB / 0.5251 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3693, allocations: 3.75 kB / 0.5251 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.3697, allocations: 201.2 kB / 0.5253 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3708, allocations: 0.6628 MB / 0.5259 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.3715, allocations: 306 kB / 0.5262 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3717, allocations: 119.3 kB / 0.5263 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.3717, allocations: 3.484 kB / 0.5263 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3718, allocations: 40.56 kB / 0.5264 GB, free: 6.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.3718, allocations: 0 / 0.5264 GB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006985/0.3725, allocations: 370.8 kB / 0.5267 GB, free: 6.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3725, allocations: 55.25 kB / 0.5268 GB, free: 6.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.3734, allocations: 416.8 kB / 0.5272 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3734, allocations: 35.52 kB / 0.5272 GB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.3735, allocations: 168 kB / 0.5274 GB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.3735, allocations: 93.44 kB / 0.5275 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.3736, allocations: 44.42 kB / 0.5275 GB, free: 5.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.3737, allocations: 345.7 kB / 0.5278 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3739, allocations: 91.2 kB / 0.5279 GB, free: 5.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.374, allocations: 96.22 kB / 0.528 GB, free: 5.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.3764, allocations: 0.6575 MB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3764, allocations: 1.094 kB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005743/0.377, allocations: 336.5 kB / 0.529 GB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.377, allocations: 8.562 kB / 0.529 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.377, allocations: 1.188 kB / 0.529 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3771, allocations: 2.203 kB / 0.529 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.3773, allocations: 51.89 kB / 0.529 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3774, allocations: 1.828 kB / 0.529 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.3778, allocations: 64.66 kB / 0.5291 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3778, allocations: 10 kB / 0.5291 GB, free: 5.129 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.0002777/0.3781, allocations: 174.7 kB / 0.5293 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.3782, allocations: 38.59 kB / 0.5293 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007232/0.3789, allocations: 333 kB / 0.5296 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3789, allocations: 2.75 kB / 0.5296 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3789, allocations: 1.094 kB / 0.5296 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3789, allocations: 1.688 kB / 0.5296 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3794, allocations: 343 kB / 0.53 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3794, allocations: 0.5625 kB / 0.53 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.3797, allocations: 47.73 kB / 0.53 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3797, allocations: 6.062 kB / 0.53 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.3798, allocations: 8.844 kB / 0.53 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3798, allocations: 1.656 kB / 0.53 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3798, allocations: 0 / 0.53 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.3806, allocations: 0.5297 MB / 0.5305 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.3807, allocations: 39.8 kB / 0.5306 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.3807, allocations: 12.61 kB / 0.5306 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.3811, allocations: 46.11 kB / 0.5306 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.3812, allocations: 18.83 kB / 0.5307 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.3812, allocations: 5.859 kB / 0.5307 GB, free: 4.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008782/0.3821, allocations: 334.9 kB / 0.531 GB, free: 4.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3821, allocations: 0 / 0.531 GB, free: 4.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00036/0.3825, allocations: 56.08 kB / 0.531 GB, free: 4.098 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.001088/0.3836, allocations: 1.065 MB / 0.5321 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.3841, allocations: 247.9 kB / 0.5323 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3841, allocations: 0 / 0.5323 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.3844, allocations: 127.5 kB / 0.5324 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.3849, allocations: 66.58 kB / 0.5325 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/0.3916, allocations: 3.369 MB / 0.5358 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.3921, allocations: 0.804 MB / 0.5366 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003314/0.3924, allocations: 65.88 kB / 0.5366 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3926, allocations: 101.7 kB / 0.5367 GB, free: 496 kB / 382.1 MB Notification: Performance of SimCode: time 1.472e-06/0.3926, allocations: 1.062 kB / 0.5367 GB, free: 496 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.4223, allocations: 6.484 MB / 0.5431 GB, free: 14.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.06, allocations: 15.12 kB / 0.5431 GB, free: 14.19 MB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.936270612990484] Failed to read output from testmodel.py, exit status != 0: 12.230280096002389 12.246549536 11.877216834 Calling exit ...