Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",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.00855/0.00855, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001186/0.001187, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2345/0.2345, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 58.12 kB / 436.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1068, allocations: 54.97 MB / 491.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002554/0.1094, allocations: 1.795 MB / 493.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1104, allocations: 0.5806 MB / 493.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1106, allocations: 4 kB / 493.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1109, allocations: 43.66 kB / 493.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1112, allocations: 59.69 kB / 494 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1115, allocations: 99.78 kB / 494.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.1119, allocations: 259.5 kB / 494.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1121, allocations: 41.67 kB / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1123, allocations: 107.6 kB / 494.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1126, allocations: 115.6 kB / 494.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.1126, allocations: 15.94 kB / 494.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.1127, allocations: 20 kB / 494.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1128, allocations: 59.88 kB / 494.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1129, allocations: 91.38 kB / 494.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1132, allocations: 180.2 kB / 495 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1132, allocations: 7.938 kB / 495 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1132, allocations: 0 / 495 MB, free: 14.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1132, allocations: 0 / 495 MB, free: 14.15 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001286/0.1145, allocations: 0.5728 MB / 495.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1145, allocations: 12.03 kB / 495.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.1146, allocations: 46.73 kB / 495.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1147, allocations: 24.69 kB / 495.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.1153, allocations: 315.4 kB / 495.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1153, allocations: 8.609 kB / 495.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.1154, allocations: 16.36 kB / 496 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.1156, allocations: 147.6 kB / 496.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1157, allocations: 4 kB / 496.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1157, allocations: 8 kB / 496.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1157, allocations: 0 / 496.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.116, allocations: 132.6 kB / 496.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009548/0.1169, allocations: 0.5441 MB / 496.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.1174, allocations: 198.3 kB / 497 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1176, allocations: 84.81 kB / 497.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1176, allocations: 4 kB / 497.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1176, allocations: 34.56 kB / 497.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1176, allocations: 4 kB / 497.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005537/0.1182, allocations: 261.4 kB / 497.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1182, allocations: 55.41 kB / 497.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.1188, allocations: 266.9 kB / 497.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1188, allocations: 29.7 kB / 497.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.1189, allocations: 136 kB / 497.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.119, allocations: 63.09 kB / 497.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.1191, allocations: 33.7 kB / 497.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1192, allocations: 330.8 kB / 498.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1194, allocations: 59.97 kB / 498.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1195, allocations: 65.08 kB / 498.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.1213, allocations: 468.5 kB / 498.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1214, allocations: 0 / 498.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000412/0.1218, allocations: 242.6 kB / 499.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1218, allocations: 4 kB / 499.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1218, allocations: 0 / 499.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.1219, allocations: 0 / 499.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1221, allocations: 39.98 kB / 499.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1221, allocations: 4 kB / 499.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.1224, allocations: 39.77 kB / 499.2 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.1224, allocations: 8 kB / 499.2 MB, free: 9.719 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 (21): * Single equations (assignments): 21 * 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.0002083/0.1226, allocations: 155.6 kB / 499.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1227, allocations: 19.81 kB / 499.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.1231, allocations: 241.6 kB / 499.6 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1231, allocations: 4 kB / 499.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1231, allocations: 4 kB / 499.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1231, allocations: 0 / 499.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.1235, allocations: 289.4 kB / 499.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1235, allocations: 0 / 499.9 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.1237, allocations: 31.98 kB / 499.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1237, allocations: 3.984 kB / 499.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.1238, allocations: 11.98 kB / 499.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1238, allocations: 0 / 499.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1238, allocations: 0 / 499.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.1244, allocations: 410.9 kB / 0.4886 GB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.1245, allocations: 104.9 kB / 0.4887 GB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1245, allocations: 4 kB / 0.4887 GB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1248, allocations: 27.95 kB / 0.4887 GB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.1249, allocations: 11.98 kB / 0.4887 GB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1249, allocations: 8 kB / 0.4887 GB, free: 8.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005028/0.1254, allocations: 208.5 kB / 0.4889 GB, free: 8.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1254, allocations: 0 / 0.4889 GB, free: 8.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1257, allocations: 35.91 kB / 0.489 GB, free: 8.086 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 (18): * Single equations (assignments): 18 * 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.0008927/0.1266, allocations: 0.9425 MB / 0.4899 GB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.127, allocations: 171.9 kB / 0.4901 GB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.127, allocations: 0 / 0.4901 GB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1272, allocations: 87.89 kB / 0.4901 GB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1275, allocations: 43.66 kB / 0.4902 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.1314, allocations: 2.501 MB / 0.4926 GB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1317, allocations: 0.7514 MB / 0.4934 GB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1318, allocations: 41.52 kB / 0.4934 GB, free: 3.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.132, allocations: 59.42 kB / 0.4935 GB, free: 3.375 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.132, allocations: 0 / 0.4935 GB, free: 3.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.1535, allocations: 4.234 MB / 0.4976 GB, free: 15.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.715, allocations: 7.875 kB / 0.4976 GB, free: 15.21 MB / 382.1 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_DaisyChain_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)