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.00132/0.00132, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001465/0.001465, allocations: 211.1 kB / 23.01 MB, free: 4.992 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.112/0.112, allocations: 24.05 MB / 337.2 MB, free: 11.32 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.003159/0.003159, allocations: 63.89 kB / 473.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3196, allocations: 59.58 MB / 0.5209 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002756/0.3223, allocations: 1.764 MB / 0.5226 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3233, allocations: 0.5768 MB / 0.5232 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.3234, allocations: 2.656 kB / 0.5232 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.3237, allocations: 42.59 kB / 0.5232 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.3239, allocations: 59.75 kB / 0.5233 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3241, allocations: 101 kB / 0.5234 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.3245, allocations: 297.8 kB / 0.5237 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3246, allocations: 34 kB / 0.5237 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3248, allocations: 108.5 kB / 0.5238 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.325, allocations: 121.9 kB / 0.5239 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.325, allocations: 13.94 kB / 0.5239 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.45e-05/0.3251, allocations: 15.69 kB / 0.5239 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.3252, allocations: 61.48 kB / 0.524 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.3252, allocations: 70.45 kB / 0.5241 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3254, allocations: 173.3 kB / 0.5242 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3255, allocations: 1.219 kB / 0.5242 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3255, allocations: 0 / 0.5242 GB, free: 8.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3255, allocations: 0 / 0.5242 GB, free: 8.074 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.001141/0.3266, allocations: 0.5083 MB / 0.5247 GB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3266, allocations: 10.27 kB / 0.5247 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.658e-05/0.3267, allocations: 46.48 kB / 0.5248 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3267, allocations: 18.59 kB / 0.5248 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.3273, allocations: 252.8 kB / 0.5251 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3273, allocations: 16.67 kB / 0.5251 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.3273, allocations: 15.53 kB / 0.5251 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3276, allocations: 131.8 kB / 0.5252 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3276, allocations: 0 / 0.5252 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3276, allocations: 5.25 kB / 0.5252 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3276, allocations: 2.531 kB / 0.5252 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.3279, allocations: 118.8 kB / 0.5253 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.3287, allocations: 468.5 kB / 0.5258 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.3291, allocations: 175.5 kB / 0.5259 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3292, allocations: 69.23 kB / 0.526 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.3292, allocations: 2.938 kB / 0.526 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.3292, allocations: 36.44 kB / 0.526 GB, free: 6.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3292, allocations: 4 kB / 0.526 GB, free: 6.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004943/0.3297, allocations: 237.4 kB / 0.5263 GB, free: 6.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.3298, allocations: 66.34 kB / 0.5263 GB, free: 6.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.3303, allocations: 272.8 kB / 0.5266 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3303, allocations: 26.73 kB / 0.5266 GB, free: 6.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.3303, allocations: 131.4 kB / 0.5267 GB, free: 6.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.3304, allocations: 62.92 kB / 0.5268 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.3304, allocations: 33.28 kB / 0.5268 GB, free: 6.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.3305, allocations: 330.7 kB / 0.5272 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3306, allocations: 63.36 kB / 0.5272 GB, free: 6.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3307, allocations: 59.17 kB / 0.5273 GB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.3326, allocations: 460.1 kB / 0.5277 GB, free: 5.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3326, allocations: 1.125 kB / 0.5277 GB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003545/0.3329, allocations: 225 kB / 0.5279 GB, free: 5.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3329, allocations: 12.25 kB / 0.5279 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3329, allocations: 0 / 0.5279 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.333, allocations: 1 kB / 0.5279 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.3332, allocations: 34.55 kB / 0.528 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3332, allocations: 6 kB / 0.528 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.3334, allocations: 34.39 kB / 0.528 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.3334, allocations: 4.312 kB / 0.528 GB, free: 5.773 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.0001527/0.3336, allocations: 156.9 kB / 0.5282 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.3336, allocations: 16.5 kB / 0.5282 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.334, allocations: 222.3 kB / 0.5284 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.334, allocations: 9.875 kB / 0.5284 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.334, allocations: 5.031 kB / 0.5284 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3341, allocations: 1.594 kB / 0.5284 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.3343, allocations: 235.9 kB / 0.5286 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3343, allocations: 0 / 0.5286 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.3345, allocations: 34.7 kB / 0.5287 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3345, allocations: 1.156 kB / 0.5287 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3346, allocations: 7.5 kB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3346, allocations: 1.062 kB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3346, allocations: 5.906 kB / 0.5287 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.335, allocations: 381.9 kB / 0.529 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.3351, allocations: 21.61 kB / 0.5291 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3351, allocations: 11.23 kB / 0.5291 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3354, allocations: 34.45 kB / 0.5291 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3355, allocations: 13.19 kB / 0.5291 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3355, allocations: 5.359 kB / 0.5291 GB, free: 5.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004292/0.3359, allocations: 219.4 kB / 0.5293 GB, free: 4.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3359, allocations: 0 / 0.5293 GB, free: 4.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3362, allocations: 36.12 kB / 0.5294 GB, free: 4.93 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.0006076/0.3368, allocations: 0.9159 MB / 0.5303 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.3371, allocations: 149.8 kB / 0.5304 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3371, allocations: 0 / 0.5304 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.3372, allocations: 80.08 kB / 0.5305 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3376, allocations: 49.55 kB / 0.5305 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.3412, allocations: 2.463 MB / 0.5329 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3413, allocations: 138.4 kB / 0.5331 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.3415, allocations: 41.5 kB / 0.5331 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3416, allocations: 65.17 kB / 0.5332 GB, free: 2.371 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.3416, allocations: 4 kB / 0.5332 GB, free: 2.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.3759, allocations: 4.89 MB / 0.538 GB, free: 1.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.58, allocations: 8.438 kB / 0.538 GB, free: 1.289 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.345759314019233] Failed to read output from testmodel.py, exit status != 0: 11.694516838993877 11.709295008 11.380524425 Calling exit ...