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.001348/0.001348, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001671/0.001671, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.98 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.1167/0.1167, allocations: 24.12 MB / 336.6 MB, free: 11.43 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_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",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.002101/0.002101, allocations: 67.89 kB / 473.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 59.59 MB / 0.5204 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002793/0.327, allocations: 1.834 MB / 0.5222 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3282, allocations: 0.6177 MB / 0.5228 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.703e-05/0.3283, allocations: 6.5 kB / 0.5228 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.3286, allocations: 47.25 kB / 0.5229 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.3288, allocations: 54.77 kB / 0.5229 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.329, allocations: 102 kB / 0.523 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.3295, allocations: 302.2 kB / 0.5233 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3296, allocations: 42.11 kB / 0.5233 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3298, allocations: 107.7 kB / 0.5234 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.33, allocations: 130.6 kB / 0.5236 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.33, allocations: 14.03 kB / 0.5236 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.3301, allocations: 15.16 kB / 0.5236 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.768e-05/0.3302, allocations: 60.34 kB / 0.5236 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.3302, allocations: 82.58 kB / 0.5237 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3305, allocations: 177.2 kB / 0.5239 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3305, allocations: 0 / 0.5239 GB, free: 7.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3305, allocations: 4 kB / 0.5239 GB, free: 7.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3305, allocations: 3.938 kB / 0.5239 GB, free: 7.914 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.001148/0.3317, allocations: 0.5042 MB / 0.5244 GB, free: 7.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3317, allocations: 11.08 kB / 0.5244 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.3317, allocations: 40.2 kB / 0.5244 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.3318, allocations: 19.31 kB / 0.5245 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.3324, allocations: 253.9 kB / 0.5247 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3324, allocations: 8.844 kB / 0.5247 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.3324, allocations: 14.7 kB / 0.5247 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3327, allocations: 139.2 kB / 0.5249 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3327, allocations: 0 / 0.5249 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3327, allocations: 1.281 kB / 0.5249 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3327, allocations: 2.25 kB / 0.5249 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.333, allocations: 121.5 kB / 0.525 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009238/0.3339, allocations: 489.9 kB / 0.5254 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.3344, allocations: 179.1 kB / 0.5256 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.3345, allocations: 77.98 kB / 0.5257 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3346, allocations: 10.2 kB / 0.5257 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3346, allocations: 32.5 kB / 0.5257 GB, free: 6.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.3346, allocations: 0 / 0.5257 GB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005696/0.3351, allocations: 242.1 kB / 0.526 GB, free: 6.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3352, allocations: 58.83 kB / 0.526 GB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.3358, allocations: 277.5 kB / 0.5263 GB, free: 6.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3358, allocations: 30.83 kB / 0.5263 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.3359, allocations: 124.3 kB / 0.5264 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.336, allocations: 55.66 kB / 0.5265 GB, free: 6.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.336, allocations: 33.16 kB / 0.5265 GB, free: 6.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.3361, allocations: 332.7 kB / 0.5268 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3363, allocations: 67.73 kB / 0.5269 GB, free: 5.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3364, allocations: 55.81 kB / 0.5269 GB, free: 5.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.3384, allocations: 466.5 kB / 0.5274 GB, free: 5.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3384, allocations: 0 / 0.5274 GB, free: 5.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003899/0.3387, allocations: 221.3 kB / 0.5276 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3388, allocations: 6.141 kB / 0.5276 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3388, allocations: 0 / 0.5276 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3388, allocations: 5.344 kB / 0.5276 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.339, allocations: 34.28 kB / 0.5276 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.339, allocations: 5.062 kB / 0.5277 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3392, allocations: 42.12 kB / 0.5277 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3393, allocations: 4.328 kB / 0.5277 GB, free: 5.613 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.00018/0.3394, allocations: 159 kB / 0.5278 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.3395, allocations: 17.58 kB / 0.5279 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.3399, allocations: 218.9 kB / 0.5281 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3399, allocations: 1.859 kB / 0.5281 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3399, allocations: 8.969 kB / 0.5281 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3399, allocations: 4.641 kB / 0.5281 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3402, allocations: 258.7 kB / 0.5283 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3402, allocations: 1.031 kB / 0.5283 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3404, allocations: 30.28 kB / 0.5284 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3404, allocations: 1.688 kB / 0.5284 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.3405, allocations: 7.109 kB / 0.5284 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3405, allocations: 1.094 kB / 0.5284 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3405, allocations: 9.031 kB / 0.5284 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.341, allocations: 392.2 kB / 0.5288 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.341, allocations: 21.38 kB / 0.5288 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.341, allocations: 8.156 kB / 0.5288 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.3413, allocations: 28.56 kB / 0.5288 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.3414, allocations: 14.73 kB / 0.5288 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3414, allocations: 4.281 kB / 0.5288 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.3418, allocations: 213.3 kB / 0.529 GB, free: 4.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3418, allocations: 0 / 0.529 GB, free: 4.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.3421, allocations: 36.25 kB / 0.5291 GB, free: 4.77 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.0006465/0.3427, allocations: 0.9212 MB / 0.53 GB, free: 4.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.343, allocations: 156.4 kB / 0.5301 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.343, allocations: 1.312 kB / 0.5301 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3432, allocations: 80.22 kB / 0.5302 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3436, allocations: 37.17 kB / 0.5302 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.3472, allocations: 2.466 MB / 0.5326 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3475, allocations: 0.7448 MB / 0.5334 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.3476, allocations: 41.42 kB / 0.5334 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3477, allocations: 60.31 kB / 0.5335 GB, free: 1.586 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3477, allocations: 0 / 0.5335 GB, free: 1.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.3814, allocations: 4.486 MB / 0.5378 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 6.688 kB / 0.5378 GB, free: 0.8984 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.39120483607985] Failed to read output from testmodel.py, exit status != 0: 11.811813049018383 11.8377381 11.502313011 Calling exit ...