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.0053/0.0053, allocations: 103 kB / 15.73 MB, free: 6.059 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.001292/0.001293, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08812/0.08812, allocations: 22.33 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 436.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 54.95 MB / 491.5 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00308/0.1126, allocations: 1.793 MB / 493.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1136, allocations: 0.5731 MB / 493.9 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1138, allocations: 4 kB / 493.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.1141, allocations: 31.72 kB / 493.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1143, allocations: 67.67 kB / 494 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1145, allocations: 83.88 kB / 494 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.1149, allocations: 259.4 kB / 494.3 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.115, allocations: 49.59 kB / 494.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1152, allocations: 99.66 kB / 494.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.1154, allocations: 119.5 kB / 494.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.1154, allocations: 16 kB / 494.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.1155, allocations: 12 kB / 494.6 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.905e-05/0.1156, allocations: 63.75 kB / 494.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.269e-05/0.1157, allocations: 79.47 kB / 494.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1159, allocations: 179.4 kB / 494.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1159, allocations: 0 / 494.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1159, allocations: 0 / 494.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1159, allocations: 3.938 kB / 494.9 MB, free: 1.805 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.00126/0.1172, allocations: 0.5725 MB / 495.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1172, allocations: 12.03 kB / 495.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1173, allocations: 34.75 kB / 495.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1173, allocations: 24.66 kB / 495.5 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.118, allocations: 316.4 kB / 495.9 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.118, allocations: 12.36 kB / 495.9 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.118, allocations: 8.375 kB / 495.9 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1183, allocations: 131.4 kB / 496 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1183, allocations: 3.906 kB / 496 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1183, allocations: 12 kB / 496 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1183, allocations: 0 / 496 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.1186, allocations: 123.8 kB / 496.1 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.1194, allocations: 0.5081 MB / 496.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.1198, allocations: 190.3 kB / 496.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.12, allocations: 76.81 kB / 496.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.12, allocations: 0 / 496.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.12, allocations: 30.56 kB / 496.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.021e-06/0.12, allocations: 4 kB / 496.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004763/0.1205, allocations: 237.5 kB / 497.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.1206, allocations: 63.34 kB / 497.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.1211, allocations: 271.1 kB / 497.5 MB, free: 15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1211, allocations: 29.7 kB / 497.5 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.1212, allocations: 124.3 kB / 497.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.1212, allocations: 63.17 kB / 497.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.1213, allocations: 41.7 kB / 497.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1214, allocations: 326.8 kB / 498.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1216, allocations: 59.95 kB / 498.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1217, allocations: 59.97 kB / 498.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.1235, allocations: 465.6 kB / 498.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1235, allocations: 0 / 498.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003532/0.1238, allocations: 225.2 kB / 498.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1239, allocations: 7.984 kB / 498.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1239, allocations: 0 / 498.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1239, allocations: 0 / 498.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.1241, allocations: 31.98 kB / 498.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1241, allocations: 3.938 kB / 498.9 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1243, allocations: 35.86 kB / 498.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1244, allocations: 4 kB / 498.9 MB, free: 13.52 MB / 382.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.0001767/0.1245, allocations: 155.7 kB / 499.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.1246, allocations: 15.81 kB / 499.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.125, allocations: 231 kB / 499.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.125, allocations: 3.984 kB / 499.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.125, allocations: 7.938 kB / 499.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.125, allocations: 3.938 kB / 499.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1253, allocations: 281.4 kB / 499.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1254, allocations: 0 / 499.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.1256, allocations: 31.97 kB / 499.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1256, allocations: 0 / 499.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1256, allocations: 8 kB / 499.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1256, allocations: 4 kB / 499.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1256, allocations: 3.938 kB / 499.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.1262, allocations: 385.1 kB / 0.4883 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.1263, allocations: 104.7 kB / 0.4884 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1263, allocations: 4.188 kB / 0.4884 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.1266, allocations: 35.89 kB / 0.4885 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1267, allocations: 15.98 kB / 0.4885 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1267, allocations: 4 kB / 0.4885 GB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004269/0.1271, allocations: 212.5 kB / 0.4887 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1271, allocations: 4 kB / 0.4887 GB, free: 11.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1274, allocations: 36 kB / 0.4887 GB, free: 11.91 MB / 382.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.0007979/0.1282, allocations: 0.9198 MB / 0.4896 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.1285, allocations: 163.9 kB / 0.4898 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1286, allocations: 0 / 0.4898 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1287, allocations: 79.91 kB / 0.4899 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1291, allocations: 51.91 kB / 0.4899 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.1326, allocations: 2.453 MB / 0.4923 GB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1329, allocations: 0.7475 MB / 0.493 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1331, allocations: 33.53 kB / 0.4931 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1332, allocations: 63.41 kB / 0.4931 GB, free: 7.281 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1332, allocations: 0 / 0.4931 GB, free: 7.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.1564, allocations: 4.204 MB / 0.4972 GB, free: 3.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.48, allocations: 10.69 kB / 0.4972 GB, free: 3.172 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)