Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising",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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001177/0.001177, allocations: 194 kB / 16.14 MB, free: 6.711 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.157/1.157, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1674/0.1674, allocations: 22.36 MB / 312.3 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.91 kB / 380.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2016, allocations: 54.94 MB / 435.1 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002195/0.2038, allocations: 1.986 MB / 437.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000708/0.2045, allocations: 0.664 MB / 437.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.2046, allocations: 3.938 kB / 437.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.2049, allocations: 57.52 kB / 437.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.2051, allocations: 92.19 kB / 437.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.2053, allocations: 141.3 kB / 438.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.2055, allocations: 412.2 kB / 438.5 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2056, allocations: 49.66 kB / 438.5 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2058, allocations: 162.7 kB / 438.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.2059, allocations: 183.8 kB / 438.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.206, allocations: 15.41 kB / 438.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.206, allocations: 17.06 kB / 438.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.732e-05/0.2061, allocations: 88.06 kB / 439 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.2062, allocations: 112 kB / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.2064, allocations: 258.5 kB / 439.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2064, allocations: 0 / 439.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.2064, allocations: 0 / 439.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2064, allocations: 0 / 439.4 MB, free: 37.02 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001473/0.2079, allocations: 0.7477 MB / 440.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.2079, allocations: 14 kB / 440.1 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.2079, allocations: 46.98 kB / 440.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.208, allocations: 32.06 kB / 440.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.2087, allocations: 415.2 kB / 440.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2087, allocations: 10.16 kB / 440.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.2088, allocations: 15.75 kB / 440.6 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.209, allocations: 182.5 kB / 440.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.209, allocations: 3.938 kB / 440.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2091, allocations: 7.938 kB / 440.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2091, allocations: 4 kB / 440.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.2094, allocations: 179.1 kB / 441 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.2102, allocations: 0.6486 MB / 441.6 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2106, allocations: 250.3 kB / 441.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2108, allocations: 104.8 kB / 442 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2108, allocations: 7.172 kB / 442 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.2108, allocations: 37.12 kB / 442 MB, free: 35.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2108, allocations: 0 / 442 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005013/0.2113, allocations: 338.9 kB / 442.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.2113, allocations: 62.44 kB / 442.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.2121, allocations: 420.6 kB / 442.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2121, allocations: 29.7 kB / 442.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.2121, allocations: 160.6 kB / 443 MB, free: 34.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.2122, allocations: 82.16 kB / 443.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.2123, allocations: 42.12 kB / 443.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.2123, allocations: 345.1 kB / 443.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2124, allocations: 83.42 kB / 443.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.2126, allocations: 91.16 kB / 443.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.2146, allocations: 0.6327 MB / 444.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2146, allocations: 0 / 444.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003725/0.215, allocations: 310 kB / 444.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.215, allocations: 10.97 kB / 444.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.215, allocations: 0 / 444.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.215, allocations: 2.844 kB / 444.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.2152, allocations: 49.83 kB / 444.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2153, allocations: 2.906 kB / 444.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.2156, allocations: 67.64 kB / 444.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2156, allocations: 5.5 kB / 444.7 MB, free: 34.12 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (28): * Single equations (assignments): 28 * 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.0001445/0.2158, allocations: 168.4 kB / 444.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.2158, allocations: 31.06 kB / 444.9 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.2163, allocations: 305.9 kB / 445.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2163, allocations: 2.656 kB / 445.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2163, allocations: 2.625 kB / 445.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2163, allocations: 0 / 445.2 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.2165, allocations: 347.5 kB / 445.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2166, allocations: 3.984 kB / 445.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.2168, allocations: 51.67 kB / 445.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2168, allocations: 6.875 kB / 445.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.2169, allocations: 10.11 kB / 445.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2169, allocations: 0 / 445.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2169, allocations: 0 / 445.6 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.2174, allocations: 498.4 kB / 446.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.2175, allocations: 116.5 kB / 446.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.2175, allocations: 9.594 kB / 446.2 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2179, allocations: 57 kB / 446.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2179, allocations: 16.36 kB / 446.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.218, allocations: 10.09 kB / 446.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006201/0.2186, allocations: 329.6 kB / 446.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2186, allocations: 0 / 446.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2189, allocations: 49 kB / 446.7 MB, free: 33.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.x_scaled[1]) * 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 (23): * Single equations (assignments): 23 * 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.0006288/0.2195, allocations: 1.036 MB / 447.7 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.2198, allocations: 237 kB / 448 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2198, allocations: 0 / 448 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.22, allocations: 120 kB / 448.1 MB, free: 32.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2204, allocations: 54.73 kB / 448.1 MB, free: 32.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.2243, allocations: 3.37 MB / 451.5 MB, free: 30.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.2245, allocations: 0.7858 MB / 452.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.2247, allocations: 67.81 kB / 452.3 MB, free: 29.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.2248, allocations: 96 kB / 452.4 MB, free: 29.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2248, allocations: 0 / 452.4 MB, free: 29.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.2388, allocations: 5.571 MB / 458 MB, free: 28.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.239, allocations: 209.8 kB / 458.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.889, allocations: 0 / 458.2 MB, free: 28.65 MB / 350.1 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_equalising.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)