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.001338/0.001338, allocations: 108.2 kB / 17.15 MB, free: 6.02 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.00143/0.00143, allocations: 208.5 kB / 20.11 MB, free: 3.062 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1056/0.1056, allocations: 24.03 MB / 333.6 MB, free: 1.551 MB / 254.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.002076/0.002076, allocations: 64.56 kB / 468.4 MB, free: 31.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.0982, allocations: 59.54 MB / 0.5156 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003211/0.1014, allocations: 1.815 MB / 0.5173 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1027, allocations: 0.6234 MB / 0.5179 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1029, allocations: 7.938 kB / 0.5179 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1032, allocations: 43.69 kB / 0.518 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1034, allocations: 59.69 kB / 0.518 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1037, allocations: 83.88 kB / 0.5181 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.104, allocations: 259.4 kB / 0.5184 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1042, allocations: 37.59 kB / 0.5184 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1043, allocations: 103.7 kB / 0.5185 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1046, allocations: 127.5 kB / 0.5186 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.1046, allocations: 16 kB / 0.5186 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.1046, allocations: 12 kB / 0.5187 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1048, allocations: 63.75 kB / 0.5187 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1049, allocations: 83.45 kB / 0.5188 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1052, allocations: 171.3 kB / 0.519 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1052, allocations: 3.984 kB / 0.519 GB, free: 8.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1052, allocations: 0 / 0.519 GB, free: 8.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1052, allocations: 3.938 kB / 0.519 GB, free: 8.676 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.001692/0.1069, allocations: 0.5803 MB / 0.5195 GB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.107, allocations: 12.62 kB / 0.5195 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.1071, allocations: 34.75 kB / 0.5196 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.1071, allocations: 20.84 kB / 0.5196 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/0.1078, allocations: 311.8 kB / 0.5199 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1078, allocations: 12.38 kB / 0.5199 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1078, allocations: 12.33 kB / 0.5199 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1081, allocations: 133.7 kB / 0.52 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1082, allocations: 0 / 0.52 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1082, allocations: 7.984 kB / 0.5201 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1082, allocations: 0 / 0.5201 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.1084, allocations: 119.9 kB / 0.5202 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1095, allocations: 0.5159 MB / 0.5207 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.1099, allocations: 174.4 kB / 0.5208 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.1101, allocations: 76.75 kB / 0.5209 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.1101, allocations: 4 kB / 0.5209 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1101, allocations: 38.5 kB / 0.521 GB, free: 6.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1101, allocations: 0 / 0.521 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005528/0.1107, allocations: 243.8 kB / 0.5212 GB, free: 6.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.1107, allocations: 55.34 kB / 0.5212 GB, free: 6.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.1113, allocations: 279.1 kB / 0.5215 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1113, allocations: 29.7 kB / 0.5215 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.1114, allocations: 132.3 kB / 0.5217 GB, free: 5.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.1115, allocations: 55.55 kB / 0.5217 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.1116, allocations: 33.7 kB / 0.5217 GB, free: 5.609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1117, allocations: 326.8 kB / 0.5221 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1119, allocations: 63.95 kB / 0.5221 GB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.112, allocations: 57.8 kB / 0.5222 GB, free: 5.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.114, allocations: 469.7 kB / 0.5226 GB, free: 4.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.114, allocations: 0 / 0.5226 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004613/0.1145, allocations: 222.6 kB / 0.5228 GB, free: 4.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.1145, allocations: 8 kB / 0.5228 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1145, allocations: 0 / 0.5228 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1145, allocations: 0 / 0.5228 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1147, allocations: 31.98 kB / 0.5229 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1147, allocations: 7.938 kB / 0.5229 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.115, allocations: 39.84 kB / 0.5229 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.115, allocations: 4 kB / 0.5229 GB, free: 4.387 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.0002914/0.1153, allocations: 151.7 kB / 0.5231 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1154, allocations: 23.89 kB / 0.5231 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.1159, allocations: 219 kB / 0.5233 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1159, allocations: 0 / 0.5233 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.1159, allocations: 3.938 kB / 0.5233 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1159, allocations: 3.938 kB / 0.5233 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1164, allocations: 293.4 kB / 0.5236 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1164, allocations: 4 kB / 0.5236 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.1166, allocations: 27.98 kB / 0.5236 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1166, allocations: 0 / 0.5236 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.1167, allocations: 11.98 kB / 0.5236 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1167, allocations: 0 / 0.5236 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1167, allocations: 7.875 kB / 0.5236 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.1173, allocations: 385.2 kB / 0.524 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.627e-05/0.1174, allocations: 96.97 kB / 0.5241 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1174, allocations: 12.05 kB / 0.5241 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.1177, allocations: 27.91 kB / 0.5241 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.1178, allocations: 11.92 kB / 0.5241 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1178, allocations: 8 kB / 0.5242 GB, free: 3.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004902/0.1183, allocations: 211.1 kB / 0.5244 GB, free: 2.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1183, allocations: 0 / 0.5244 GB, free: 2.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1185, allocations: 35.94 kB / 0.5244 GB, free: 2.789 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.0009759/0.1195, allocations: 0.9152 MB / 0.5253 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.1199, allocations: 161.9 kB / 0.5254 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1199, allocations: 0 / 0.5254 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1201, allocations: 83.89 kB / 0.5255 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1205, allocations: 34.92 kB / 0.5255 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.1249, allocations: 2.472 MB / 0.528 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.1253, allocations: 0.7514 MB / 0.5287 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.1255, allocations: 45.77 kB / 0.5287 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1256, allocations: 55.42 kB / 0.5288 GB, free: 14.15 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1256, allocations: 4 kB / 0.5288 GB, free: 14.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.1542, allocations: 4.284 MB / 0.533 GB, free: 9.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.32, allocations: 4 kB / 0.533 GB, free: 9.957 MB / 398.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard_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_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.183382849907503] Failed to read output from testmodel.py, exit status != 0: 8.388959885807708 8.404166041 8.29596584 Calling exit ...