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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 107.4 kB / 15.34 MB, free: 0.5195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 192.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1773/0.1773, allocations: 22.35 MB / 312.4 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 380.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2167, allocations: 54.93 MB / 435.3 MB, free: 39.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002216/0.219, allocations: 1.858 MB / 437.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006715/0.2197, allocations: 0.5704 MB / 437.8 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.2197, allocations: 2.438 kB / 437.8 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.22, allocations: 29.36 kB / 437.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.2201, allocations: 57.14 kB / 437.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.2203, allocations: 85.02 kB / 437.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.2205, allocations: 251.8 kB / 438.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2206, allocations: 43.06 kB / 438.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.2207, allocations: 103.1 kB / 438.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2208, allocations: 119.5 kB / 438.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.2209, allocations: 14.09 kB / 438.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.2209, allocations: 15.12 kB / 438.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.221, allocations: 64.2 kB / 438.5 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.221, allocations: 85.41 kB / 438.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2212, allocations: 177.2 kB / 438.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2212, allocations: 0 / 438.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2212, allocations: 0 / 438.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.2212, allocations: 0 / 438.8 MB, free: 37.61 MB / 350.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.0009808/0.2222, allocations: 0.5689 MB / 439.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.2222, allocations: 8.531 kB / 439.4 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.2223, allocations: 44.31 kB / 439.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.2223, allocations: 21.41 kB / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.2227, allocations: 311.7 kB / 439.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2228, allocations: 2.844 kB / 439.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.2228, allocations: 12.09 kB / 439.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.223, allocations: 141.7 kB / 439.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.223, allocations: 3.906 kB / 439.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.223, allocations: 4 kB / 439.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.223, allocations: 2.594 kB / 439.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.2232, allocations: 121 kB / 440 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.2239, allocations: 0.5091 MB / 440.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.2242, allocations: 184.1 kB / 440.7 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2244, allocations: 71.44 kB / 440.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2244, allocations: 6.906 kB / 440.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.189e-05/0.2244, allocations: 38.5 kB / 440.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.2244, allocations: 3.938 kB / 440.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003862/0.2248, allocations: 241.7 kB / 441.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.2248, allocations: 58.12 kB / 441.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/0.2252, allocations: 269.2 kB / 441.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2253, allocations: 29.7 kB / 441.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.2253, allocations: 132.3 kB / 441.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2254, allocations: 53.23 kB / 441.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.2254, allocations: 32.86 kB / 441.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.2255, allocations: 331.8 kB / 441.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-05/0.2256, allocations: 62.06 kB / 442 MB, free: 35.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.2257, allocations: 65.56 kB / 442.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.2272, allocations: 473.6 kB / 442.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2273, allocations: 0 / 442.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002868/0.2276, allocations: 221.2 kB / 442.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2276, allocations: 5.781 kB / 442.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.2276, allocations: 0 / 442.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2276, allocations: 0 / 442.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2278, allocations: 39.69 kB / 442.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2278, allocations: 7.938 kB / 442.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.228, allocations: 38.78 kB / 442.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.228, allocations: 2.875 kB / 442.8 MB, free: 35.11 MB / 350.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.0001399/0.2282, allocations: 157.1 kB / 443 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.2282, allocations: 16.34 kB / 443 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.2286, allocations: 225.3 kB / 443.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2286, allocations: 3 kB / 443.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2286, allocations: 3.938 kB / 443.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2286, allocations: 0 / 443.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2288, allocations: 288 kB / 443.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2288, allocations: 4 kB / 443.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.2291, allocations: 31.22 kB / 443.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2291, allocations: 2.906 kB / 443.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.2291, allocations: 4 kB / 443.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2291, allocations: 2.688 kB / 443.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2291, allocations: 7.875 kB / 443.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.2295, allocations: 377.6 kB / 443.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.2296, allocations: 104.1 kB / 444 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.2296, allocations: 6.844 kB / 444 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2298, allocations: 25.7 kB / 444.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2299, allocations: 12.94 kB / 444.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2299, allocations: 13.25 kB / 444.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003412/0.2303, allocations: 217.1 kB / 444.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2303, allocations: 0 / 444.3 MB, free: 34.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.2305, allocations: 36.03 kB / 444.3 MB, free: 34.16 MB / 350.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.0005215/0.231, allocations: 0.9155 MB / 445.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.2313, allocations: 174 kB / 445.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2313, allocations: 0 / 445.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2315, allocations: 90.64 kB / 445.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2318, allocations: 43.77 kB / 445.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.2345, allocations: 2.503 MB / 448.1 MB, free: 31.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.2347, allocations: 0.7529 MB / 448.8 MB, free: 30.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2348, allocations: 40.88 kB / 448.9 MB, free: 30.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.2349, allocations: 59.8 kB / 448.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2349, allocations: 0 / 448.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.2479, allocations: 4.083 MB / 453 MB, free: 30.5 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001297/0.2481, allocations: 200.2 kB / 453.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.883, allocations: 3.938 kB / 453.2 MB, free: 30.25 MB / 350.1 MB (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 --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)