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.001453/0.001453, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001604/0.001604, allocations: 212.2 kB / 22.25 MB, free: 5.082 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.466/1.466, allocations: 230.6 MB / 256 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.1072/0.1072, allocations: 24.13 MB / 336.6 MB, free: 11.42 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="me",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.002097/0.002097, allocations: 67.91 kB / 473.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 59.6 MB / 0.5204 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002759/0.3424, allocations: 1.964 MB / 0.5223 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3436, allocations: 0.7133 MB / 0.523 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3437, allocations: 3.406 kB / 0.523 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.3441, allocations: 72.14 kB / 0.5231 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.3443, allocations: 100 kB / 0.5232 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3447, allocations: 182.5 kB / 0.5234 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007391/0.3455, allocations: 0.5174 MB / 0.5239 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3456, allocations: 45.69 kB / 0.5239 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.3459, allocations: 189.8 kB / 0.5241 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.3462, allocations: 211.7 kB / 0.5243 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.3462, allocations: 25.56 kB / 0.5243 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.653e-05/0.3463, allocations: 22.69 kB / 0.5243 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3464, allocations: 97.7 kB / 0.5244 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3465, allocations: 124 kB / 0.5246 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.3468, allocations: 267.1 kB / 0.5248 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3468, allocations: 0 / 0.5248 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3468, allocations: 1.125 kB / 0.5248 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3468, allocations: 0.6562 kB / 0.5248 GB, free: 7.453 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.00176/0.3486, allocations: 0.6718 MB / 0.5255 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3486, allocations: 11.17 kB / 0.5255 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.3487, allocations: 46.11 kB / 0.5255 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.3488, allocations: 35.34 kB / 0.5256 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.3497, allocations: 365.5 kB / 0.5259 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3497, allocations: 14.25 kB / 0.5259 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.3498, allocations: 16.53 kB / 0.5259 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.3501, allocations: 182 kB / 0.5261 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3501, allocations: 1.969 kB / 0.5261 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.3501, allocations: 4 kB / 0.5261 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3501, allocations: 2.969 kB / 0.5261 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.3505, allocations: 178.9 kB / 0.5263 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3515, allocations: 0.614 MB / 0.5269 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.3521, allocations: 242.2 kB / 0.5271 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.3522, allocations: 104.8 kB / 0.5272 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3523, allocations: 7.219 kB / 0.5272 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.3523, allocations: 36.42 kB / 0.5273 GB, free: 6.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.3523, allocations: 0 / 0.5273 GB, free: 6.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.000649/0.3529, allocations: 341.6 kB / 0.5276 GB, free: 5.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.353, allocations: 53.78 kB / 0.5276 GB, free: 5.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.3538, allocations: 420.3 kB / 0.528 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3538, allocations: 30.31 kB / 0.5281 GB, free: 5.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.3539, allocations: 159.8 kB / 0.5282 GB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.354, allocations: 90.72 kB / 0.5283 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.354, allocations: 42.08 kB / 0.5284 GB, free: 5.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.3541, allocations: 341.7 kB / 0.5287 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3543, allocations: 85.95 kB / 0.5288 GB, free: 5.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3544, allocations: 92.41 kB / 0.5288 GB, free: 5.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.3567, allocations: 0.6305 MB / 0.5295 GB, free: 4.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3567, allocations: 0 / 0.5295 GB, free: 4.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00048/0.3572, allocations: 313.9 kB / 0.5298 GB, free: 4.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3572, allocations: 6.031 kB / 0.5298 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3572, allocations: 3.938 kB / 0.5298 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3573, allocations: 5.344 kB / 0.5298 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.3575, allocations: 52.61 kB / 0.5298 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3575, allocations: 5.906 kB / 0.5298 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.3579, allocations: 59.48 kB / 0.5299 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3579, allocations: 6.156 kB / 0.5299 GB, free: 4.738 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.0001973/0.3581, allocations: 170 kB / 0.5301 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.3582, allocations: 29.69 kB / 0.5301 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.3588, allocations: 315.7 kB / 0.5304 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.3588, allocations: 3.109 kB / 0.5304 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3588, allocations: 0 / 0.5304 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3588, allocations: 1.266 kB / 0.5304 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004086/0.3592, allocations: 320.9 kB / 0.5307 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3592, allocations: 0 / 0.5307 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.3595, allocations: 47.58 kB / 0.5307 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3595, allocations: 5.953 kB / 0.5307 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3595, allocations: 13.06 kB / 0.5308 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3595, allocations: 4.719 kB / 0.5308 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3595, allocations: 0.5156 kB / 0.5308 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007453/0.3603, allocations: 0.4885 MB / 0.5312 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.3604, allocations: 35.75 kB / 0.5313 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.3604, allocations: 13.72 kB / 0.5313 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.3608, allocations: 52.48 kB / 0.5313 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3609, allocations: 16.62 kB / 0.5314 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3609, allocations: 8.5 kB / 0.5314 GB, free: 3.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007573/0.3617, allocations: 327.4 kB / 0.5317 GB, free: 3.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3617, allocations: 0 / 0.5317 GB, free: 3.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.362, allocations: 50.66 kB / 0.5317 GB, free: 3.766 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.0007731/0.3627, allocations: 1.042 MB / 0.5327 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.3632, allocations: 226.8 kB / 0.533 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3632, allocations: 0 / 0.533 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.3634, allocations: 113.6 kB / 0.5331 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.3638, allocations: 64.8 kB / 0.5331 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/0.3693, allocations: 3.296 MB / 0.5363 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3696, allocations: 0.7879 MB / 0.5371 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.3698, allocations: 58.23 kB / 0.5372 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.37, allocations: 99.23 kB / 0.5373 GB, free: 204 kB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.37, allocations: 4 kB / 0.5373 GB, free: 200 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04155/0.4115, allocations: 6.247 MB / 0.5434 GB, free: 13.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.92, allocations: 6.844 kB / 0.5434 GB, free: 13.93 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.585022306069732] Failed to read output from testmodel.py, exit status != 0: 12.03179034520872 12.059786854 11.707899679 Calling exit ...