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.0008763/0.0008763, allocations: 80.53 kB / 19.95 MB, free: 4.609 MB / 18.57 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.001264/0.001264, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8984/0.8984, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.06162/0.06162, allocations: 18.13 MB / 278.1 MB, free: 11.55 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.992e-05, allocations: 2.281 kB / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002303/0.002323, allocations: 1.773 MB / 416.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.003344, allocations: 0.5736 MB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.00345, allocations: 2.438 kB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.003838, allocations: 39.38 kB / 417.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.004029, allocations: 67.06 kB / 417.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.004336, allocations: 131.3 kB / 417.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.004636, allocations: 190.3 kB / 417.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.004803, allocations: 30.42 kB / 417.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.00495, allocations: 77.62 kB / 417.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.00519, allocations: 104 kB / 418 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.005246, allocations: 15.03 kB / 418 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.952e-05/0.005275, allocations: 18.81 kB / 418.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.005386, allocations: 65.84 kB / 418.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.00546, allocations: 51.45 kB / 418.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.005728, allocations: 182.7 kB / 418.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.005733, allocations: 1.375 kB / 418.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.005735, allocations: 0 / 418.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.005741, allocations: 0 / 418.4 MB, free: 10.78 MB / 330.7 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.0008696/0.006611, allocations: 0.4887 MB / 418.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.006656, allocations: 11.08 kB / 418.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.006691, allocations: 45.16 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.006731, allocations: 22.02 kB / 418.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.007119, allocations: 259.3 kB / 419.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.007136, allocations: 8.875 kB / 419.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.007165, allocations: 11.25 kB / 419.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.00738, allocations: 134.2 kB / 419.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.007392, allocations: 4.141 kB / 419.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.007408, allocations: 10.27 kB / 419.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.007413, allocations: 5.719 kB / 419.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.007616, allocations: 119.4 kB / 419.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.008211, allocations: 456.3 kB / 419.9 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.008544, allocations: 175.8 kB / 420.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.00864, allocations: 77.02 kB / 420.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.008667, allocations: 2.234 kB / 420.2 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.008682, allocations: 33.12 kB / 420.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.008684, allocations: 0 / 420.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000382/0.009066, allocations: 245.6 kB / 420.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.00909, allocations: 56.56 kB / 420.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.009398, allocations: 277.5 kB / 420.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.009411, allocations: 31.14 kB / 420.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.009464, allocations: 122.8 kB / 420.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.009508, allocations: 58.47 kB / 421 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.009552, allocations: 33.59 kB / 421 MB, free: 9.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.009594, allocations: 334.1 kB / 421.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.009678, allocations: 60.03 kB / 421.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.009754, allocations: 61.23 kB / 421.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.01081, allocations: 471.8 kB / 421.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01081, allocations: 3.938 kB / 421.9 MB, free: 8.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002573/0.01107, allocations: 214.4 kB / 422.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01108, allocations: 10.25 kB / 422.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01109, allocations: 0 / 422.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01111, allocations: 1.281 kB / 422.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.01122, allocations: 34.09 kB / 422.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01123, allocations: 4.594 kB / 422.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.01135, allocations: 43.03 kB / 422.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01136, allocations: 9.625 kB / 422.2 MB, free: 8.488 MB / 330.7 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.0001475/0.01151, allocations: 149.6 kB / 422.4 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.01154, allocations: 16.66 kB / 422.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.01185, allocations: 227.3 kB / 422.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01186, allocations: 2.672 kB / 422.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01186, allocations: 0 / 422.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01187, allocations: 2.188 kB / 422.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.01206, allocations: 230.8 kB / 422.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01207, allocations: 1.781 kB / 422.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.01219, allocations: 34.67 kB / 422.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.0122, allocations: 2.125 kB / 422.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01221, allocations: 3.375 kB / 422.9 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01221, allocations: 5.734 kB / 422.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01221, allocations: 0 / 422.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.01258, allocations: 394.1 kB / 423.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.01262, allocations: 25.86 kB / 423.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.01264, allocations: 7.078 kB / 423.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01277, allocations: 32.97 kB / 423.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.01281, allocations: 10.7 kB / 423.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01282, allocations: 7.922 kB / 423.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002413/0.01306, allocations: 217 kB / 423.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01306, allocations: 5.125 kB / 423.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.01325, allocations: 32.14 kB / 423.6 MB, free: 7.66 MB / 330.7 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.0004706/0.01372, allocations: 0.9115 MB / 424.5 MB, free: 6.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.01397, allocations: 163.1 kB / 424.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01398, allocations: 1.031 kB / 424.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.01407, allocations: 81.11 kB / 424.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.01437, allocations: 40.81 kB / 424.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.01676, allocations: 2.455 MB / 427.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.01688, allocations: 139.5 kB / 427.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.017, allocations: 44.03 kB / 427.4 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.705e-05/0.0171, allocations: 61.34 kB / 427.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/0.0171, allocations: 1.125 kB / 427.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.03818, allocations: 5.052 MB / 432.5 MB, free: 3.562 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.919, allocations: 8.594 kB / 432.5 MB, free: 3.559 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.821772500872612] Failed to read output from testmodel.py, exit status != 0: 7.000001814216375 7.008506624 7.000925161 Calling exit ...