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.001213/0.001218, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001481/0.001481, allocations: 173.3 kB / 15.95 MB, free: 212 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.733/1.733, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2644/0.2644, allocations: 22.35 MB / 313.3 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.000329, allocations: 8 kB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 55.98 MB / 437.9 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001478/0.2903, allocations: 1.461 MB / 439.4 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007478/0.2911, allocations: 0.554 MB / 439.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.2912, allocations: 3.938 kB / 439.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.2915, allocations: 36.59 kB / 439.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2916, allocations: 46.91 kB / 440 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.2918, allocations: 78.42 kB / 440.1 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.292, allocations: 156.4 kB / 440.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2922, allocations: 29.47 kB / 440.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2923, allocations: 110 kB / 440.4 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.2925, allocations: 111.3 kB / 440.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.2925, allocations: 10.22 kB / 440.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.2926, allocations: 5.781 kB / 440.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.2927, allocations: 56.33 kB / 440.5 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.2927, allocations: 45.08 kB / 440.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2928, allocations: 122.5 kB / 440.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2928, allocations: 2.812 kB / 440.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2929, allocations: 3.938 kB / 440.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2929, allocations: 0 / 440.7 MB, free: 37.49 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001116/0.294, allocations: 0.56 MB / 441.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.294, allocations: 8.406 kB / 441.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.2941, allocations: 43.58 kB / 441.3 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.2941, allocations: 20.12 kB / 441.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.2947, allocations: 303.3 kB / 441.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2947, allocations: 9.578 kB / 441.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.2947, allocations: 16.41 kB / 441.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.295, allocations: 151.1 kB / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.295, allocations: 3.953 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.295, allocations: 4 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.295, allocations: 2.75 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.2952, allocations: 129.3 kB / 441.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.296, allocations: 0.544 MB / 442.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.2964, allocations: 197 kB / 442.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2964, allocations: 0 / 442.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.2964, allocations: 42.19 kB / 442.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.2964, allocations: 0 / 442.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004361/0.2969, allocations: 257.7 kB / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.2969, allocations: 51.41 kB / 443 MB, free: 35.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.2973, allocations: 270.4 kB / 443.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2974, allocations: 28.7 kB / 443.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.2974, allocations: 128.2 kB / 443.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.2975, allocations: 63.42 kB / 443.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.2975, allocations: 4 kB / 443.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.2975, allocations: 332.9 kB / 443.8 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2977, allocations: 69.53 kB / 443.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.2978, allocations: 65.09 kB / 444 MB, free: 35.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.2979, allocations: 78.98 kB / 444 MB, free: 35.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2979, allocations: 0 / 444 MB, free: 35.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002986/0.2982, allocations: 233.8 kB / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2982, allocations: 7.344 kB / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2982, allocations: 0 / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2982, allocations: 6.141 kB / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.2984, allocations: 36.12 kB / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2985, allocations: 7.984 kB / 444.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.2987, allocations: 39.89 kB / 444.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2987, allocations: 3.812 kB / 444.4 MB, free: 35.11 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 (21): * Single equations (assignments): 21 * 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.0001494/0.2988, allocations: 160.4 kB / 444.5 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2989, allocations: 21.59 kB / 444.5 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.2993, allocations: 235.2 kB / 444.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2993, allocations: 0 / 444.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2993, allocations: 4 kB / 444.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2993, allocations: 7.094 kB / 444.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.2996, allocations: 292.4 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2996, allocations: 0 / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.2998, allocations: 34.41 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2998, allocations: 3.281 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.2998, allocations: 6.531 kB / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2998, allocations: 0 / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2998, allocations: 2.656 kB / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.3003, allocations: 405.2 kB / 445.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.3003, allocations: 97.72 kB / 445.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.3004, allocations: 6.844 kB / 445.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3006, allocations: 28.53 kB / 445.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3007, allocations: 12.44 kB / 445.7 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3007, allocations: 2.875 kB / 445.7 MB, free: 34.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.301, allocations: 219.2 kB / 445.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3011, allocations: 0 / 445.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.3013, allocations: 41.12 kB / 445.9 MB, free: 34.14 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 (18): * Single equations (assignments): 18 * 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.0005544/0.3019, allocations: 0.9424 MB / 446.9 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.3021, allocations: 169.4 kB / 447 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3022, allocations: 0 / 447 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3023, allocations: 94.41 kB / 447.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3025, allocations: 35.77 kB / 447.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.305, allocations: 1.519 MB / 448.7 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.3052, allocations: 0.7598 MB / 449.4 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3053, allocations: 42.38 kB / 449.5 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.3054, allocations: 64 kB / 449.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3054, allocations: 0 / 449.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.318, allocations: 3.775 MB / 453.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001234/0.3182, allocations: 176.3 kB / 453.5 MB, free: 31.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.134, allocations: 0 / 453.5 MB, free: 31.25 MB / 350.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/linux/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) Environment - environmentSimulation: