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.006989/0.006989, allocations: 99 kB / 15.73 MB, free: 6.441 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.001762/0.001762, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2034/0.2034, allocations: 22.35 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.89 kB / 436.6 MB, free: 33.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.0887, allocations: 54.97 MB / 491.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002229/0.09096, allocations: 1.797 MB / 493.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.09199, allocations: 0.5845 MB / 493.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.09208, allocations: 4 kB / 493.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.09238, allocations: 35.72 kB / 494 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.09257, allocations: 59.62 kB / 494 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.09278, allocations: 91.86 kB / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.09309, allocations: 255.5 kB / 494.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.09324, allocations: 49.88 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.09339, allocations: 103.6 kB / 494.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.09359, allocations: 115.6 kB / 494.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.09364, allocations: 16 kB / 494.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.09368, allocations: 12 kB / 494.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.09378, allocations: 63.8 kB / 494.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.676e-05/0.09388, allocations: 71.53 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.0941, allocations: 183.2 kB / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.09411, allocations: 0 / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09412, allocations: 3.938 kB / 495 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.09413, allocations: 0 / 495 MB, free: 14.26 MB / 366.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.001222/0.09536, allocations: 0.5764 MB / 495.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.0954, allocations: 12.03 kB / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.09547, allocations: 38.73 kB / 495.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.09553, allocations: 28.73 kB / 495.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.09615, allocations: 316.5 kB / 495.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.09617, allocations: 8.375 kB / 495.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.09621, allocations: 12.31 kB / 495.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.09647, allocations: 136 kB / 496.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.09649, allocations: 0 / 496.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.09651, allocations: 8 kB / 496.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.09652, allocations: 3.938 kB / 496.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.09678, allocations: 115.9 kB / 496.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.09763, allocations: 0.5197 MB / 496.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.09805, allocations: 174.5 kB / 496.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.0982, allocations: 76.81 kB / 497 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.09824, allocations: 7.938 kB / 497 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.09827, allocations: 34.56 kB / 497 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.09828, allocations: 0 / 497 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004943/0.09878, allocations: 237.7 kB / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.09884, allocations: 63.34 kB / 497.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.09936, allocations: 267.1 kB / 497.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.09939, allocations: 29.7 kB / 497.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.09948, allocations: 128.3 kB / 497.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.09956, allocations: 55.55 kB / 497.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.09963, allocations: 37.7 kB / 497.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.09982, allocations: 330.8 kB / 498.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.09996, allocations: 59.91 kB / 498.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1001, allocations: 67.91 kB / 498.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.1019, allocations: 459.9 kB / 498.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1019, allocations: 0 / 498.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003655/0.1023, allocations: 218 kB / 498.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1023, allocations: 4 kB / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1023, allocations: 0 / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1023, allocations: 0 / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1025, allocations: 39.92 kB / 499 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1025, allocations: 7.922 kB / 499 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.1027, allocations: 35.86 kB / 499 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1028, allocations: 4 kB / 499 MB, free: 9.977 MB / 366.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.0001849/0.103, allocations: 167.6 kB / 499.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.103, allocations: 19.86 kB / 499.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.1034, allocations: 219 kB / 499.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1035, allocations: 4 kB / 499.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1035, allocations: 7.938 kB / 499.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1035, allocations: 3.984 kB / 499.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.1038, allocations: 289.4 kB / 499.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1038, allocations: 3.938 kB / 499.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.1041, allocations: 31.92 kB / 499.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1041, allocations: 0 / 499.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.1041, allocations: 11.98 kB / 499.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1041, allocations: 0 / 499.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1041, allocations: 3.938 kB / 499.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.1046, allocations: 386 kB / 0.4884 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.1047, allocations: 93.02 kB / 0.4885 GB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.1048, allocations: 8.047 kB / 0.4885 GB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.1051, allocations: 27.91 kB / 0.4885 GB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1051, allocations: 11.98 kB / 0.4885 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1051, allocations: 7.984 kB / 0.4886 GB, free: 8.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.1056, allocations: 220.5 kB / 0.4888 GB, free: 8.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1056, allocations: 0 / 0.4888 GB, free: 8.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1058, allocations: 43.89 kB / 0.4888 GB, free: 8.355 MB / 366.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.0008322/0.1067, allocations: 0.9126 MB / 0.4897 GB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.107, allocations: 164.9 kB / 0.4899 GB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.107, allocations: 0 / 0.4899 GB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1072, allocations: 85.45 kB / 0.4899 GB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1076, allocations: 40.94 kB / 0.49 GB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.1112, allocations: 2.466 MB / 0.4924 GB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1116, allocations: 0.7436 MB / 0.4931 GB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1117, allocations: 45.77 kB / 0.4932 GB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1119, allocations: 59.42 kB / 0.4932 GB, free: 3.715 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1119, allocations: 0 / 0.4932 GB, free: 3.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.1375, allocations: 4.242 MB / 0.4974 GB, free: 15.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.794, allocations: 10.77 kB / 0.4974 GB, free: 15.57 MB / 382.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)