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.001429/0.001429, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001819/0.001819, allocations: 177.3 kB / 15.94 MB, free: 228 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2558/0.2558, allocations: 22.34 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004991, allocations: 8 kB / 381.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4007, allocations: 55.97 MB / 437.9 MB, free: 39.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002351/0.4031, allocations: 1.476 MB / 439.4 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.4043, allocations: 0.5362 MB / 439.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.4044, allocations: 2.812 kB / 439.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.4048, allocations: 34.28 kB / 439.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.405, allocations: 59.14 kB / 440 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.4053, allocations: 69.72 kB / 440.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.4056, allocations: 146.6 kB / 440.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.4057, allocations: 32.3 kB / 440.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.4059, allocations: 106 kB / 440.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.4062, allocations: 105.1 kB / 440.4 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.4062, allocations: 6.344 kB / 440.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.4063, allocations: 5.188 kB / 440.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.4064, allocations: 48.14 kB / 440.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.4065, allocations: 53.42 kB / 440.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.4067, allocations: 124.4 kB / 440.7 MB, free: 37.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4067, allocations: 4 kB / 440.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4067, allocations: 0 / 440.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.4067, allocations: 0 / 440.7 MB, free: 37.32 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.001448/0.4081, allocations: 0.5427 MB / 441.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.4082, allocations: 8 kB / 441.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.393e-05/0.4083, allocations: 47.12 kB / 441.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.4084, allocations: 21.47 kB / 441.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.4091, allocations: 312.2 kB / 441.6 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4091, allocations: 6.875 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.4092, allocations: 16.77 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.4095, allocations: 130.1 kB / 441.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.4096, allocations: 3.953 kB / 441.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.4096, allocations: 8 kB / 441.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4096, allocations: 6.375 kB / 441.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.41, allocations: 119.1 kB / 441.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.4111, allocations: 0.5168 MB / 442.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.4116, allocations: 179.1 kB / 442.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.4117, allocations: 0 / 442.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4117, allocations: 45.47 kB / 442.6 MB, free: 36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4117, allocations: 0 / 442.6 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006145/0.4123, allocations: 236.9 kB / 442.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.4124, allocations: 54.28 kB / 442.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.4129, allocations: 266.8 kB / 443.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.413, allocations: 32.67 kB / 443.2 MB, free: 35.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.4131, allocations: 131.3 kB / 443.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.4131, allocations: 52.25 kB / 443.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.4131, allocations: 0 / 443.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.4132, allocations: 335.7 kB / 443.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4134, allocations: 61.5 kB / 443.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4135, allocations: 55.78 kB / 443.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.4137, allocations: 74.52 kB / 443.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4137, allocations: 7.938 kB / 443.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004244/0.4141, allocations: 214.1 kB / 444.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4142, allocations: 5.656 kB / 444.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4142, allocations: 0 / 444.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4142, allocations: 2.781 kB / 444.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.4144, allocations: 32.42 kB / 444.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4145, allocations: 7.906 kB / 444.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.4148, allocations: 39.23 kB / 444.2 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.4148, allocations: 14.72 kB / 444.2 MB, free: 34.99 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.00019/0.415, allocations: 145.2 kB / 444.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.4151, allocations: 19.06 kB / 444.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.4156, allocations: 232.5 kB / 444.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4156, allocations: 0 / 444.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4156, allocations: 0 / 444.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4156, allocations: 2.969 kB / 444.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.416, allocations: 282.5 kB / 444.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.416, allocations: 0 / 444.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.4163, allocations: 33.22 kB / 444.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4163, allocations: 3.984 kB / 444.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.4163, allocations: 11.88 kB / 444.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4163, allocations: 0 / 444.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4163, allocations: 0 / 444.9 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.4169, allocations: 391.1 kB / 445.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.4169, allocations: 101.7 kB / 445.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.417, allocations: 6.875 kB / 445.4 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4172, allocations: 31.8 kB / 445.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.4173, allocations: 12.67 kB / 445.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.4173, allocations: 3.094 kB / 445.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.4177, allocations: 215.5 kB / 445.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4177, allocations: 0 / 445.7 MB, free: 34.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.418, allocations: 37.62 kB / 445.7 MB, free: 34.03 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.0006216/0.4186, allocations: 0.9166 MB / 446.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.4189, allocations: 162.3 kB / 446.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4189, allocations: 0 / 446.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.419, allocations: 83.92 kB / 446.9 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4193, allocations: 34.36 kB / 446.9 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.422, allocations: 1.509 MB / 448.4 MB, free: 32.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4222, allocations: 0.7575 MB / 449.2 MB, free: 31.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.4224, allocations: 38.98 kB / 449.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.4225, allocations: 60.56 kB / 449.3 MB, free: 31.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4225, allocations: 0 / 449.3 MB, free: 31.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.4372, allocations: 3.871 MB / 453.1 MB, free: 31.41 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.4374, allocations: 180.6 kB / 453.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.189, allocations: 0 / 453.3 MB, free: 31.18 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: