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.0008208/0.0008209, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009118/0.0009119, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2373/0.2373, allocations: 22.35 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003479, allocations: 8 kB / 382 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 55.97 MB / 438 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00185/0.3286, allocations: 1.48 MB / 439.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008987/0.3295, allocations: 0.5324 MB / 440 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.3296, allocations: 2.156 kB / 440 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003022/0.3299, allocations: 32.33 kB / 440.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.3301, allocations: 53.23 kB / 440.1 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.3303, allocations: 76.3 kB / 440.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.3305, allocations: 217.5 kB / 440.4 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3307, allocations: 37.25 kB / 440.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3308, allocations: 99.83 kB / 440.5 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3309, allocations: 109.3 kB / 440.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.331, allocations: 7.688 kB / 440.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.331, allocations: 2.906 kB / 440.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.198e-05/0.3311, allocations: 56.95 kB / 440.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.3312, allocations: 53.52 kB / 440.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.3313, allocations: 122.2 kB / 440.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3313, allocations: 0 / 440.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3313, allocations: 4 kB / 440.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3313, allocations: 2.469 kB / 440.9 MB, free: 37.57 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.00106/0.3324, allocations: 0.5387 MB / 441.4 MB, free: 37.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3324, allocations: 8.125 kB / 441.4 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.3325, allocations: 43.22 kB / 441.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.3325, allocations: 24.38 kB / 441.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.333, allocations: 312.9 kB / 441.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3331, allocations: 6.594 kB / 441.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3331, allocations: 14.77 kB / 441.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.3333, allocations: 131.3 kB / 442 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3334, allocations: 3.953 kB / 442 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3334, allocations: 0 / 442 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3334, allocations: 2.906 kB / 442 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.3336, allocations: 129.5 kB / 442.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.3344, allocations: 0.5182 MB / 442.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.3348, allocations: 176.7 kB / 442.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3349, allocations: 74.25 kB / 442.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.335, allocations: 3.156 kB / 442.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.335, allocations: 34.56 kB / 442.9 MB, free: 36.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.335, allocations: 4 kB / 442.9 MB, free: 36.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004486/0.3354, allocations: 242.3 kB / 443.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3355, allocations: 57.92 kB / 443.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.3359, allocations: 267.9 kB / 443.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3359, allocations: 25.7 kB / 443.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.336, allocations: 132.1 kB / 443.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3361, allocations: 60.2 kB / 443.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.3361, allocations: 0 / 443.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3362, allocations: 332.2 kB / 444 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3363, allocations: 61.52 kB / 444 MB, free: 35.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.126e-05/0.3364, allocations: 53.22 kB / 444.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3365, allocations: 79.72 kB / 444.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3365, allocations: 0 / 444.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003023/0.3368, allocations: 222.2 kB / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3368, allocations: 5.469 kB / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3368, allocations: 3.938 kB / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3369, allocations: 0 / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.337, allocations: 35.64 kB / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3371, allocations: 0 / 444.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3373, allocations: 42.5 kB / 444.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3373, allocations: 6.125 kB / 444.5 MB, free: 35.21 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.3375, allocations: 158.2 kB / 444.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.3375, allocations: 20.38 kB / 444.7 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.3379, allocations: 223.8 kB / 444.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3379, allocations: 0 / 444.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3379, allocations: 2.469 kB / 444.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.338, allocations: 0 / 444.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.3382, allocations: 287.3 kB / 445.2 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3382, allocations: 0 / 445.2 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.3384, allocations: 36.91 kB / 445.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3384, allocations: 2.844 kB / 445.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3385, allocations: 4 kB / 445.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3385, allocations: 7.625 kB / 445.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3385, allocations: 0 / 445.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.3389, allocations: 388 kB / 445.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.339, allocations: 95.92 kB / 445.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.339, allocations: 10.42 kB / 445.7 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3392, allocations: 31.33 kB / 445.7 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.3393, allocations: 14.31 kB / 445.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3393, allocations: 5.594 kB / 445.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003295/0.3396, allocations: 214.8 kB / 446 MB, free: 34.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3397, allocations: 0 / 446 MB, free: 34.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3399, allocations: 34.5 kB / 446 MB, free: 34.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006099/0.3405, allocations: 0.9235 MB / 446.9 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.3408, allocations: 154.2 kB / 447.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3408, allocations: 0 / 447.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.341, allocations: 87.41 kB / 447.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3413, allocations: 44.23 kB / 447.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3439, allocations: 1.517 MB / 448.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.3441, allocations: 0.7454 MB / 449.4 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3442, allocations: 41.08 kB / 449.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3443, allocations: 58.55 kB / 449.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3443, allocations: 0 / 449.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.3614, allocations: 3.893 MB / 453.4 MB, free: 31.62 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.3616, allocations: 190.9 kB / 453.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.17, allocations: 2.109 kB / 453.6 MB, free: 31.38 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/linux/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) Environment - environmentSimulation: