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.001318/0.001318, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001421/0.001421, allocations: 216.2 kB / 23.03 MB, free: 4.922 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1027/0.1027, allocations: 22.94 MB / 336.1 MB, free: 12.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",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.003085/0.003085, allocations: 63.91 kB / 472.2 MB, free: 7.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3719, allocations: 59.29 MB / 0.519 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002937/0.3749, allocations: 1.769 MB / 0.5207 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.376, allocations: 0.5702 MB / 0.5213 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3761, allocations: 6.281 kB / 0.5213 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.3764, allocations: 40.44 kB / 0.5213 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3765, allocations: 62.75 kB / 0.5214 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.3768, allocations: 98.55 kB / 0.5215 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.3772, allocations: 305.5 kB / 0.5218 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3773, allocations: 41.06 kB / 0.5218 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3775, allocations: 116.5 kB / 0.5219 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3777, allocations: 126.8 kB / 0.5221 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.3777, allocations: 13.38 kB / 0.5221 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.341e-05/0.3778, allocations: 19.41 kB / 0.5221 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3779, allocations: 61.44 kB / 0.5221 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.3779, allocations: 62.5 kB / 0.5222 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3782, allocations: 178.2 kB / 0.5224 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3782, allocations: 4 kB / 0.5224 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3782, allocations: 0 / 0.5224 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3782, allocations: 0 / 0.5224 GB, free: 8.641 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.001262/0.3795, allocations: 0.4993 MB / 0.5229 GB, free: 8.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3795, allocations: 14.92 kB / 0.5229 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.3795, allocations: 7.312 kB / 0.5229 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.3796, allocations: 41.09 kB / 0.5229 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.3796, allocations: 18.34 kB / 0.5229 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.3802, allocations: 255.2 kB / 0.5232 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3802, allocations: 9 kB / 0.5232 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.3803, allocations: 20.22 kB / 0.5232 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3805, allocations: 130.2 kB / 0.5233 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3805, allocations: 0.9688 kB / 0.5233 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.3805, allocations: 5.031 kB / 0.5233 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3805, allocations: 2.531 kB / 0.5233 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.3808, allocations: 120.9 kB / 0.5235 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.3816, allocations: 465.4 kB / 0.5239 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.382, allocations: 175.2 kB / 0.5241 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3821, allocations: 73.33 kB / 0.5241 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.3821, allocations: 2.156 kB / 0.5241 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.3821, allocations: 36.06 kB / 0.5242 GB, free: 7.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3821, allocations: 0 / 0.5242 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004904/0.3826, allocations: 245.5 kB / 0.5244 GB, free: 7.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.3827, allocations: 57.31 kB / 0.5245 GB, free: 7.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.3831, allocations: 274.6 kB / 0.5247 GB, free: 7.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3832, allocations: 34.62 kB / 0.5248 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.3832, allocations: 123 kB / 0.5249 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.3833, allocations: 56.39 kB / 0.5249 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.3833, allocations: 33.36 kB / 0.525 GB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.3834, allocations: 333.9 kB / 0.5253 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3835, allocations: 62.94 kB / 0.5253 GB, free: 6.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3836, allocations: 62.41 kB / 0.5254 GB, free: 6.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/0.3854, allocations: 461.9 kB / 0.5258 GB, free: 6.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3854, allocations: 0 / 0.5258 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000345/0.3858, allocations: 227.5 kB / 0.5261 GB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3858, allocations: 4.906 kB / 0.5261 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3858, allocations: 1.156 kB / 0.5261 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3858, allocations: 1.062 kB / 0.5261 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.386, allocations: 38.23 kB / 0.5261 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.386, allocations: 5.094 kB / 0.5261 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.3862, allocations: 36.28 kB / 0.5261 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3863, allocations: 3.375 kB / 0.5261 GB, free: 6.344 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.0001584/0.3864, allocations: 158.5 kB / 0.5263 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.3865, allocations: 15.94 kB / 0.5263 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.3869, allocations: 225.2 kB / 0.5265 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3869, allocations: 6.344 kB / 0.5265 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3869, allocations: 0.7969 kB / 0.5265 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3869, allocations: 0.75 kB / 0.5265 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3871, allocations: 236.2 kB / 0.5268 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3872, allocations: 4 kB / 0.5268 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3874, allocations: 39.5 kB / 0.5268 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3874, allocations: 1.406 kB / 0.5268 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3874, allocations: 4.234 kB / 0.5268 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3874, allocations: 3.938 kB / 0.5268 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3874, allocations: 1.312 kB / 0.5268 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.3879, allocations: 383.4 kB / 0.5272 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.388, allocations: 26.3 kB / 0.5272 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.388, allocations: 6.25 kB / 0.5272 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.3883, allocations: 33.25 kB / 0.5272 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.3884, allocations: 10.81 kB / 0.5272 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3884, allocations: 8.203 kB / 0.5273 GB, free: 5.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004277/0.3888, allocations: 213.3 kB / 0.5275 GB, free: 5.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3888, allocations: 0 / 0.5275 GB, free: 5.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3891, allocations: 35.59 kB / 0.5275 GB, free: 5.512 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.0006561/0.3897, allocations: 0.9261 MB / 0.5284 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.3901, allocations: 146.1 kB / 0.5285 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3901, allocations: 0 / 0.5285 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3902, allocations: 80.2 kB / 0.5286 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.3906, allocations: 42.23 kB / 0.5287 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.3942, allocations: 2.461 MB / 0.5311 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3944, allocations: 130.9 kB / 0.5312 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.3945, allocations: 41.64 kB / 0.5312 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3946, allocations: 63.95 kB / 0.5313 GB, free: 2.965 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3946, allocations: 3.938 kB / 0.5313 GB, free: 2.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.4214, allocations: 4.59 MB / 0.5358 GB, free: 2.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 8.391 kB / 0.5358 GB, free: 2.27 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.686534306034446] Failed to read output from testmodel.py, exit status != 0: 12.085977855953388 12.115043768 11.731468631 Calling exit ...