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.005465/0.005465, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001332/0.001332, allocations: 198.9 kB / 16.68 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2054/0.2054, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 64.88 kB / 436.6 MB, free: 34.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09393, allocations: 54.96 MB / 491.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002312/0.09628, allocations: 1.798 MB / 493.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.09732, allocations: 0.5767 MB / 493.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.09742, allocations: 4 kB / 493.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.09773, allocations: 47.64 kB / 494 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.09792, allocations: 59.69 kB / 494 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.09815, allocations: 95.78 kB / 494.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.09849, allocations: 259.5 kB / 494.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.09863, allocations: 45.89 kB / 494.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.09878, allocations: 107.6 kB / 494.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.09899, allocations: 119.6 kB / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.09903, allocations: 15.94 kB / 494.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.09907, allocations: 16 kB / 494.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.09918, allocations: 63.84 kB / 494.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.09927, allocations: 87.41 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.0995, allocations: 179.2 kB / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09951, allocations: 0 / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09952, allocations: 4 kB / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.09953, allocations: 0 / 495 MB, free: 14.27 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.001234/0.1008, allocations: 0.5805 MB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1008, allocations: 16.03 kB / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.1009, allocations: 42.73 kB / 495.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1009, allocations: 24.73 kB / 495.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.1016, allocations: 315.6 kB / 496 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1016, allocations: 8.609 kB / 496 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.1016, allocations: 16.38 kB / 496 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.1019, allocations: 151.6 kB / 496.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1019, allocations: 0 / 496.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.102, allocations: 11.98 kB / 496.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.102, allocations: 0 / 496.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.1022, allocations: 132.6 kB / 496.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.1032, allocations: 0.5364 MB / 496.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.1036, allocations: 194.4 kB / 497 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1038, allocations: 89.09 kB / 497.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1038, allocations: 0 / 497.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1038, allocations: 42.5 kB / 497.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 8.72e-07/0.1038, allocations: 0 / 497.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005378/0.1044, allocations: 263.4 kB / 497.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1044, allocations: 55.41 kB / 497.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.105, allocations: 262.9 kB / 497.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.105, allocations: 37.7 kB / 497.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.1051, allocations: 128 kB / 497.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.1052, allocations: 59.44 kB / 497.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.1053, allocations: 37.7 kB / 498 MB, free: 11.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1054, allocations: 334.8 kB / 498.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1056, allocations: 55.97 kB / 498.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1057, allocations: 63.95 kB / 498.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.1074, allocations: 470.6 kB / 498.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1074, allocations: 4 kB / 498.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003884/0.1078, allocations: 242.6 kB / 499.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1078, allocations: 4 kB / 499.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1078, allocations: 0 / 499.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1079, allocations: 4 kB / 499.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1081, allocations: 43.97 kB / 499.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1081, allocations: 0 / 499.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1083, allocations: 39.8 kB / 499.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1083, allocations: 4 kB / 499.2 MB, free: 9.828 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.000203/0.1085, allocations: 165.3 kB / 499.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.1086, allocations: 15.91 kB / 499.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.1091, allocations: 243.2 kB / 499.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1091, allocations: 4 kB / 499.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1091, allocations: 0 / 499.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1091, allocations: 3.984 kB / 499.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1094, allocations: 289.4 kB / 499.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1095, allocations: 0 / 499.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1097, allocations: 39.97 kB / 499.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1097, allocations: 0 / 499.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1097, allocations: 8 kB / 499.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1097, allocations: 0 / 499.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1097, allocations: 0 / 499.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.1103, allocations: 407.1 kB / 0.4886 GB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.1104, allocations: 104.9 kB / 0.4887 GB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.1104, allocations: 4.062 kB / 0.4887 GB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.1107, allocations: 27.95 kB / 0.4887 GB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1108, allocations: 15.98 kB / 0.4888 GB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1108, allocations: 8 kB / 0.4888 GB, free: 8.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004214/0.1112, allocations: 204.5 kB / 0.489 GB, free: 8.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1112, allocations: 0 / 0.489 GB, free: 8.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1115, allocations: 39.89 kB / 0.489 GB, free: 8.188 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.0008461/0.1123, allocations: 0.9431 MB / 0.4899 GB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.1127, allocations: 175.8 kB / 0.4901 GB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1127, allocations: 0 / 0.4901 GB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.1128, allocations: 89.77 kB / 0.4902 GB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1132, allocations: 39.91 kB / 0.4902 GB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.1169, allocations: 2.511 MB / 0.4927 GB, free: 4.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1174, allocations: 0.7475 MB / 0.4934 GB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1175, allocations: 45.52 kB / 0.4934 GB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1176, allocations: 63.42 kB / 0.4935 GB, free: 3.461 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1176, allocations: 0 / 0.4935 GB, free: 3.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1432, allocations: 4.152 MB / 0.4976 GB, free: 15.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/7.746, allocations: 8 kB / 0.4976 GB, free: 15.38 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)