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.001413/0.001413, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 189.2 kB / 16.62 MB, free: 6.613 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2434/0.2434, allocations: 22.36 MB / 312.8 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001199, allocations: 71.89 kB / 381.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2905, allocations: 54.94 MB / 436.1 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.0028/0.2933, allocations: 1.788 MB / 437.8 MB, free: 38.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.2942, allocations: 0.5905 MB / 438.4 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.2943, allocations: 6.812 kB / 438.4 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.2946, allocations: 32.61 kB / 438.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.2948, allocations: 61.98 kB / 438.5 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.295, allocations: 95.31 kB / 438.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.2953, allocations: 257 kB / 438.9 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2954, allocations: 52.98 kB / 438.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2955, allocations: 108.2 kB / 439 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2957, allocations: 122.1 kB / 439.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2957, allocations: 14.12 kB / 439.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.678e-05/0.2958, allocations: 16.69 kB / 439.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.2959, allocations: 61.84 kB / 439.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.2959, allocations: 82.39 kB / 439.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.2961, allocations: 186.7 kB / 439.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2961, allocations: 0 / 439.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2961, allocations: 0 / 439.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2961, allocations: 0 / 439.5 MB, free: 37.73 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.001074/0.2972, allocations: 0.5792 MB / 440.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2972, allocations: 11.41 kB / 440.1 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.2973, allocations: 41.17 kB / 440.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.2974, allocations: 23.84 kB / 440.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.2979, allocations: 314.9 kB / 440.5 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2979, allocations: 7.484 kB / 440.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.298, allocations: 16.33 kB / 440.5 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.2982, allocations: 150.9 kB / 440.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2982, allocations: 3.938 kB / 440.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2983, allocations: 4 kB / 440.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2983, allocations: 9.156 kB / 440.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.2985, allocations: 127.7 kB / 440.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.2993, allocations: 0.5348 MB / 441.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.2997, allocations: 196.8 kB / 441.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.2998, allocations: 88.78 kB / 441.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2999, allocations: 3.812 kB / 441.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2999, allocations: 34.5 kB / 441.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2999, allocations: 0 / 441.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004817/0.3004, allocations: 262.8 kB / 441.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3004, allocations: 61.41 kB / 441.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3009, allocations: 265.3 kB / 442.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3009, allocations: 29.7 kB / 442.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.301, allocations: 124.7 kB / 442.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.301, allocations: 66.62 kB / 442.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3011, allocations: 40.47 kB / 442.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.3011, allocations: 328.2 kB / 442.8 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3013, allocations: 63.56 kB / 442.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3014, allocations: 67.88 kB / 442.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.3029, allocations: 478.8 kB / 443.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.303, allocations: 0 / 443.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003114/0.3033, allocations: 232.3 kB / 443.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3033, allocations: 5.938 kB / 443.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3033, allocations: 4 kB / 443.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3033, allocations: 0 / 443.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.3035, allocations: 39.58 kB / 443.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3035, allocations: 2.75 kB / 443.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3038, allocations: 39.72 kB / 443.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3038, allocations: 9.328 kB / 443.7 MB, free: 35.17 MB / 350.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.0001542/0.304, allocations: 151.9 kB / 443.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.304, allocations: 20.27 kB / 443.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.3044, allocations: 247.9 kB / 444.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3044, allocations: 2.719 kB / 444.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3045, allocations: 0 / 444.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3045, allocations: 0 / 444.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3047, allocations: 293.7 kB / 444.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3047, allocations: 2.906 kB / 444.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.305, allocations: 41 kB / 444.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.305, allocations: 0 / 444.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.305, allocations: 6.422 kB / 444.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.305, allocations: 0 / 444.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.305, allocations: 0 / 444.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.3055, allocations: 402.3 kB / 444.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.3055, allocations: 105.5 kB / 444.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3056, allocations: 10.41 kB / 445 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.3058, allocations: 25.67 kB / 445 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3059, allocations: 13.22 kB / 445 MB, free: 34.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3059, allocations: 3.219 kB / 445 MB, free: 34.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000363/0.3063, allocations: 215.7 kB / 445.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.3063, allocations: 0 / 445.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3065, allocations: 35.09 kB / 445.2 MB, free: 34.2 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 (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.0005978/0.3071, allocations: 0.9358 MB / 446.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.3075, allocations: 179.9 kB / 446.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3075, allocations: 2.625 kB / 446.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3076, allocations: 85.55 kB / 446.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.308, allocations: 36.36 kB / 446.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.311, allocations: 2.486 MB / 449 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.3112, allocations: 0.756 MB / 449.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3113, allocations: 39.7 kB / 449.8 MB, free: 31.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3115, allocations: 65.8 kB / 449.8 MB, free: 31 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3115, allocations: 0 / 449.8 MB, free: 31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.3313, allocations: 4.124 MB / 453.9 MB, free: 30.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.787, allocations: 5.156 kB / 454 MB, free: 30.48 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/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)