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.001286/0.001286, allocations: 114.5 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.001458/0.001458, allocations: 217 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.448/1.448, 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.1118/0.1118, allocations: 24.13 MB / 336.6 MB, free: 11.44 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_cascadeLoops",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.002046/0.002046, allocations: 67.89 kB / 473.3 MB, free: 6.414 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3152, allocations: 59.61 MB / 0.5204 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002693/0.3179, allocations: 2.036 MB / 0.5224 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.319, allocations: 0.7318 MB / 0.5231 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3191, allocations: 7.594 kB / 0.5231 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.3194, allocations: 73.28 kB / 0.5232 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.3196, allocations: 105.3 kB / 0.5233 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.32, allocations: 184.8 kB / 0.5235 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.3206, allocations: 0.5336 MB / 0.524 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3208, allocations: 58.69 kB / 0.524 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.321, allocations: 201 kB / 0.5242 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.3213, allocations: 224.4 kB / 0.5245 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.3214, allocations: 23.97 kB / 0.5245 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.467e-05/0.3214, allocations: 24.62 kB / 0.5245 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3215, allocations: 105.9 kB / 0.5246 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3216, allocations: 135.8 kB / 0.5247 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.3219, allocations: 293.1 kB / 0.525 GB, free: 7.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3219, allocations: 1.094 kB / 0.525 GB, free: 7.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3219, allocations: 0 / 0.525 GB, free: 7.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.322, allocations: 0 / 0.525 GB, free: 7.352 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.001809/0.3238, allocations: 0.7007 MB / 0.5257 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3238, allocations: 10.55 kB / 0.5257 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.3238, allocations: 51.94 kB / 0.5258 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.3239, allocations: 37.83 kB / 0.5258 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.3248, allocations: 371.1 kB / 0.5261 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3248, allocations: 11.08 kB / 0.5262 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.3249, allocations: 21.73 kB / 0.5262 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.3252, allocations: 207.6 kB / 0.5264 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3252, allocations: 0 / 0.5264 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3252, allocations: 6.188 kB / 0.5264 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3252, allocations: 4.312 kB / 0.5264 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.3256, allocations: 201.2 kB / 0.5266 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3267, allocations: 0.6629 MB / 0.5272 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.3275, allocations: 304.9 kB / 0.5275 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3277, allocations: 123.7 kB / 0.5276 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3277, allocations: 8.016 kB / 0.5276 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.3277, allocations: 32.81 kB / 0.5277 GB, free: 5.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3277, allocations: 0 / 0.5277 GB, free: 5.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006876/0.3284, allocations: 371.1 kB / 0.528 GB, free: 5.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.3284, allocations: 53.97 kB / 0.5281 GB, free: 5.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.3293, allocations: 430 kB / 0.5285 GB, free: 5.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3293, allocations: 26.67 kB / 0.5285 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.3294, allocations: 164.4 kB / 0.5287 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/0.3295, allocations: 97.61 kB / 0.5288 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.3296, allocations: 52.19 kB / 0.5288 GB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.3297, allocations: 341.1 kB / 0.5291 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3298, allocations: 91.48 kB / 0.5292 GB, free: 4.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.33, allocations: 91.59 kB / 0.5293 GB, free: 4.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.3324, allocations: 0.6588 MB / 0.53 GB, free: 4.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3324, allocations: 0 / 0.53 GB, free: 4.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005256/0.3329, allocations: 340.1 kB / 0.5303 GB, free: 4.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.333, allocations: 6.672 kB / 0.5303 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.333, allocations: 0 / 0.5303 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.333, allocations: 1.125 kB / 0.5303 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.3333, allocations: 60.36 kB / 0.5303 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3333, allocations: 2.766 kB / 0.5303 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.3337, allocations: 60.72 kB / 0.5304 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3337, allocations: 5.438 kB / 0.5304 GB, free: 4.508 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.0002212/0.3339, allocations: 174 kB / 0.5306 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.334, allocations: 38.58 kB / 0.5306 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.3346, allocations: 333.3 kB / 0.5309 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3346, allocations: 3.312 kB / 0.5309 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3346, allocations: 0 / 0.5309 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3346, allocations: 1.781 kB / 0.5309 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.335, allocations: 336.1 kB / 0.5313 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.335, allocations: 4.562 kB / 0.5313 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.3353, allocations: 52.28 kB / 0.5313 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3353, allocations: 1.5 kB / 0.5313 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.3354, allocations: 7.938 kB / 0.5313 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3354, allocations: 1.188 kB / 0.5313 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3354, allocations: 4.594 kB / 0.5313 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.3361, allocations: 0.5152 MB / 0.5318 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.3362, allocations: 46.22 kB / 0.5319 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.3362, allocations: 4.797 kB / 0.5319 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.3366, allocations: 54.77 kB / 0.5319 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.3367, allocations: 19.39 kB / 0.5319 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3367, allocations: 10.44 kB / 0.532 GB, free: 3.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007231/0.3374, allocations: 334.4 kB / 0.5323 GB, free: 3.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3374, allocations: 0 / 0.5323 GB, free: 3.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003276/0.3377, allocations: 60.02 kB / 0.5323 GB, free: 3.477 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.000839/0.3386, allocations: 1.059 MB / 0.5334 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.3391, allocations: 249.2 kB / 0.5336 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3391, allocations: 0 / 0.5336 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.3393, allocations: 123 kB / 0.5337 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.3397, allocations: 61.88 kB / 0.5338 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005144/0.3449, allocations: 3.379 MB / 0.5371 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3452, allocations: 0.796 MB / 0.5379 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.3454, allocations: 66.09 kB / 0.5379 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3455, allocations: 105.9 kB / 0.538 GB, free: 15.87 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3455, allocations: 0 / 0.538 GB, free: 15.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.3811, allocations: 6.46 MB / 0.5443 GB, free: 13.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.85, allocations: 1.344 kB / 0.5443 GB, free: 13.41 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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 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.573604066994449] Failed to read output from testmodel.py, exit status != 0: 11.954825719003566 11.969592508 11.644539116 Calling exit ...