Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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.001293/0.001293, 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.001432/0.001432, allocations: 218.5 kB / 23.04 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.1047/0.1047, allocations: 22.93 MB / 336.2 MB, free: 12.61 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_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",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.002108/0.002108, allocations: 71.89 kB / 472.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3712, allocations: 59.29 MB / 0.5191 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002895/0.3741, allocations: 1.974 MB / 0.521 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3753, allocations: 0.712 MB / 0.5217 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3754, allocations: 7.625 kB / 0.5217 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.3757, allocations: 72.08 kB / 0.5218 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.376, allocations: 95.33 kB / 0.5219 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.3764, allocations: 178.6 kB / 0.5221 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006931/0.3771, allocations: 0.5209 MB / 0.5226 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.3772, allocations: 42.38 kB / 0.5226 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.3775, allocations: 197.1 kB / 0.5228 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.3778, allocations: 208.8 kB / 0.523 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.3778, allocations: 21.25 kB / 0.523 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.3779, allocations: 23.31 kB / 0.523 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.378, allocations: 100.7 kB / 0.5231 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3781, allocations: 114.8 kB / 0.5232 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.3785, allocations: 276.5 kB / 0.5235 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3785, allocations: 0 / 0.5235 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3785, allocations: 5.094 kB / 0.5235 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3785, allocations: 0 / 0.5235 GB, free: 8.109 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001729/0.3802, allocations: 0.6779 MB / 0.5242 GB, free: 7.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3803, allocations: 10.48 kB / 0.5242 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.098e-05/0.3803, allocations: 3.438 kB / 0.5242 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.3803, allocations: 45.61 kB / 0.5242 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.3804, allocations: 33.53 kB / 0.5243 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.3813, allocations: 363.5 kB / 0.5246 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3813, allocations: 8.75 kB / 0.5246 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.3813, allocations: 21.97 kB / 0.5246 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.3816, allocations: 174.6 kB / 0.5248 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3817, allocations: 5.312 kB / 0.5248 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3817, allocations: 8 kB / 0.5248 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3817, allocations: 3.969 kB / 0.5248 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.382, allocations: 179.1 kB / 0.525 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3831, allocations: 0.6086 MB / 0.5256 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.3837, allocations: 238.5 kB / 0.5258 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.3839, allocations: 101.1 kB / 0.5259 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3839, allocations: 6.062 kB / 0.5259 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.384, allocations: 37.7 kB / 0.526 GB, free: 6.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.384, allocations: 0 / 0.526 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006941/0.3846, allocations: 343.9 kB / 0.5263 GB, free: 6.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3847, allocations: 54.48 kB / 0.5263 GB, free: 6.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009868/0.3857, allocations: 420 kB / 0.5267 GB, free: 6.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3857, allocations: 29.7 kB / 0.5268 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.3858, allocations: 163.6 kB / 0.5269 GB, free: 6.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.3859, allocations: 83.25 kB / 0.527 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.386, allocations: 41.88 kB / 0.527 GB, free: 6.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.386, allocations: 345.9 kB / 0.5274 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.3862, allocations: 90.84 kB / 0.5275 GB, free: 5.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3864, allocations: 87.14 kB / 0.5275 GB, free: 5.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3889, allocations: 0.6361 MB / 0.5282 GB, free: 5.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3889, allocations: 0.75 kB / 0.5282 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005249/0.3894, allocations: 306.1 kB / 0.5284 GB, free: 5.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3895, allocations: 13.77 kB / 0.5285 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3895, allocations: 1.312 kB / 0.5285 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.3895, allocations: 5.25 kB / 0.5285 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.3898, allocations: 47.69 kB / 0.5285 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3898, allocations: 1.406 kB / 0.5285 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.3902, allocations: 64.39 kB / 0.5286 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3902, allocations: 14.44 kB / 0.5286 GB, free: 5.398 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] FA2.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 (28): * Single equations (assignments): 28 * 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.0002106/0.3904, allocations: 169.5 kB / 0.5288 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.3905, allocations: 33.22 kB / 0.5288 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.3911, allocations: 304.8 kB / 0.5291 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3911, allocations: 2.031 kB / 0.5291 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3911, allocations: 1.188 kB / 0.5291 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3911, allocations: 6.062 kB / 0.5291 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.3915, allocations: 324.5 kB / 0.5294 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3915, allocations: 0 / 0.5294 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.3918, allocations: 44.14 kB / 0.5294 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3918, allocations: 5.25 kB / 0.5294 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.3918, allocations: 7.984 kB / 0.5294 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3918, allocations: 2.031 kB / 0.5294 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3918, allocations: 0 / 0.5294 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.3925, allocations: 0.4916 MB / 0.5299 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.3925, allocations: 39.61 kB / 0.53 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.3926, allocations: 13.06 kB / 0.53 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.393, allocations: 45.52 kB / 0.53 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.3931, allocations: 17.58 kB / 0.53 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3931, allocations: 5.906 kB / 0.53 GB, free: 4.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008108/0.3939, allocations: 330.1 kB / 0.5304 GB, free: 4.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3939, allocations: 0 / 0.5304 GB, free: 4.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.3942, allocations: 52.61 kB / 0.5304 GB, free: 4.434 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,FA2.x_scaled[1],FA1.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 (23): * Single equations (assignments): 23 * 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.0009225/0.3952, allocations: 1.045 MB / 0.5314 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004828/0.3956, allocations: 225.1 kB / 0.5316 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3956, allocations: 0.9062 kB / 0.5316 GB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.3959, allocations: 115.9 kB / 0.5318 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.3964, allocations: 71.16 kB / 0.5318 GB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/0.4018, allocations: 3.294 MB / 0.535 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.402, allocations: 0.7897 MB / 0.5358 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.4022, allocations: 64.45 kB / 0.5359 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.4024, allocations: 95.39 kB / 0.536 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4024, allocations: 1.094 kB / 0.536 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.4312, allocations: 6.281 MB / 0.5421 GB, free: 14.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.07, allocations: 2.75 kB / 0.5421 GB, free: 14.77 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.836197077995166] Failed to read output from testmodel.py, exit status != 0: 12.243682188971434 12.268642271 11.885629188 Calling exit ...