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.001653/0.001653, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001448/0.001448, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1051/0.1051, allocations: 22.94 MB / 336.2 MB, free: 12.61 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.002788/0.002788, allocations: 67.91 kB / 472.3 MB, free: 8.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3647, allocations: 59.29 MB / 0.5191 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003052/0.3677, allocations: 1.831 MB / 0.5209 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3688, allocations: 0.6167 MB / 0.5215 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.3689, allocations: 5.438 kB / 0.5215 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3691, allocations: 44.3 kB / 0.5215 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.3693, allocations: 63.66 kB / 0.5216 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.3695, allocations: 97.56 kB / 0.5217 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.37, allocations: 301.9 kB / 0.522 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3701, allocations: 37.59 kB / 0.522 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3703, allocations: 111.7 kB / 0.5221 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.3705, allocations: 135.1 kB / 0.5222 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.3705, allocations: 13.56 kB / 0.5223 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.3705, allocations: 15.56 kB / 0.5223 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-05/0.3706, allocations: 56.73 kB / 0.5223 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3707, allocations: 82.64 kB / 0.5224 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.371, allocations: 176.6 kB / 0.5226 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.371, allocations: 0 / 0.5226 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.371, allocations: 0 / 0.5226 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.371, allocations: 1.188 kB / 0.5226 GB, free: 8.547 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.001233/0.3722, allocations: 0.5056 MB / 0.5231 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3723, allocations: 11.08 kB / 0.5231 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.731e-05/0.3723, allocations: 10.45 kB / 0.5231 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.3723, allocations: 41.36 kB / 0.5231 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/0.3724, allocations: 18.88 kB / 0.5231 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.373, allocations: 250.6 kB / 0.5234 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.373, allocations: 8.219 kB / 0.5234 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.3731, allocations: 16.94 kB / 0.5234 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.3734, allocations: 141.9 kB / 0.5235 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3734, allocations: 0.6562 kB / 0.5235 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.3734, allocations: 1.344 kB / 0.5235 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3734, allocations: 2.562 kB / 0.5236 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.3737, allocations: 120.5 kB / 0.5237 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.3745, allocations: 495.4 kB / 0.5241 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.375, allocations: 170.7 kB / 0.5243 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.3752, allocations: 81.17 kB / 0.5244 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3752, allocations: 8.75 kB / 0.5244 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.3752, allocations: 31.62 kB / 0.5244 GB, free: 7.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.3752, allocations: 0 / 0.5244 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005879/0.3758, allocations: 239.3 kB / 0.5246 GB, free: 7.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3759, allocations: 56.66 kB / 0.5247 GB, free: 7.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.3764, allocations: 277.9 kB / 0.525 GB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3764, allocations: 29.7 kB / 0.525 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.3765, allocations: 126.2 kB / 0.5251 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.3766, allocations: 60.61 kB / 0.5252 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.3766, allocations: 31.77 kB / 0.5252 GB, free: 6.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.3767, allocations: 340.9 kB / 0.5255 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3768, allocations: 57.59 kB / 0.5256 GB, free: 6.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3769, allocations: 64.45 kB / 0.5256 GB, free: 6.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3787, allocations: 462.2 kB / 0.5261 GB, free: 6.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3787, allocations: 0 / 0.5261 GB, free: 6.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003611/0.3791, allocations: 215 kB / 0.5263 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3791, allocations: 12.16 kB / 0.5263 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.3791, allocations: 1.188 kB / 0.5263 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3791, allocations: 0 / 0.5263 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3793, allocations: 48.25 kB / 0.5263 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3794, allocations: 1.438 kB / 0.5263 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3796, allocations: 37.77 kB / 0.5264 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3796, allocations: 6.172 kB / 0.5264 GB, free: 6.23 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.0002237/0.3798, allocations: 153.6 kB / 0.5265 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.3799, allocations: 20.53 kB / 0.5266 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.3804, allocations: 218.5 kB / 0.5268 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3804, allocations: 6.188 kB / 0.5268 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3804, allocations: 1.641 kB / 0.5268 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3804, allocations: 7.844 kB / 0.5268 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.3807, allocations: 255.8 kB / 0.527 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3807, allocations: 0 / 0.527 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.381, allocations: 34.92 kB / 0.5271 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.381, allocations: 1.125 kB / 0.5271 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.381, allocations: 7.547 kB / 0.5271 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.381, allocations: 5.469 kB / 0.5271 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.381, allocations: 3.938 kB / 0.5271 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.3815, allocations: 381.9 kB / 0.5274 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.3815, allocations: 23 kB / 0.5275 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.3816, allocations: 10.8 kB / 0.5275 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.3818, allocations: 24.62 kB / 0.5275 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.3819, allocations: 14.72 kB / 0.5275 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.3819, allocations: 3.922 kB / 0.5275 GB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004812/0.3824, allocations: 214.4 kB / 0.5277 GB, free: 5.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 0.5277 GB, free: 5.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.3827, allocations: 35.56 kB / 0.5278 GB, free: 5.398 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.0007125/0.3834, allocations: 0.9235 MB / 0.5287 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.3838, allocations: 154.8 kB / 0.5288 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3838, allocations: 0 / 0.5288 GB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3839, allocations: 81.16 kB / 0.5289 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3843, allocations: 39.61 kB / 0.5289 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.388, allocations: 2.466 MB / 0.5313 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.3882, allocations: 0.7458 MB / 0.5321 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.3883, allocations: 41.45 kB / 0.5321 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3885, allocations: 61.14 kB / 0.5321 GB, free: 2.215 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3885, allocations: 0 / 0.5321 GB, free: 2.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.4152, allocations: 4.51 MB / 0.5366 GB, free: 1.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.79, allocations: 9.641 kB / 0.5366 GB, free: 1.613 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.60623560496606] Failed to read output from testmodel.py, exit status != 0: 11.956895494018681 11.981936417 11.606115418 Calling exit ...