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.000891/0.0008911, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008563/0.0008563, allocations: 168.7 kB / 15.95 MB, free: 204 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2456/0.2456, allocations: 22.36 MB / 313.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003745, allocations: 8 kB / 382 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, allocations: 55.98 MB / 438 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001727/0.3429, allocations: 1.459 MB / 439.5 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.3437, allocations: 0.5565 MB / 440 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.3437, allocations: 2.906 kB / 440 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.344, allocations: 30.38 kB / 440.1 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.3442, allocations: 49.83 kB / 440.1 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.3443, allocations: 77 kB / 440.2 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.3446, allocations: 223.7 kB / 440.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3447, allocations: 40.92 kB / 440.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3448, allocations: 107.8 kB / 440.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.345, allocations: 119.4 kB / 440.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.345, allocations: 7.094 kB / 440.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.3451, allocations: 6.906 kB / 440.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.3451, allocations: 48.72 kB / 440.7 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.3452, allocations: 47.52 kB / 440.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3453, allocations: 129.2 kB / 440.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3453, allocations: 0 / 440.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3453, allocations: 0 / 440.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.3453, allocations: 0 / 440.9 MB, free: 37.42 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.001009/0.3464, allocations: 0.5569 MB / 441.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3464, allocations: 10.91 kB / 441.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.3465, allocations: 44.3 kB / 441.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3465, allocations: 22.84 kB / 441.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.347, allocations: 300.6 kB / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.347, allocations: 7.109 kB / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.3471, allocations: 21.31 kB / 441.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.3473, allocations: 153.1 kB / 442 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3473, allocations: 6.641 kB / 442 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3473, allocations: 4 kB / 442 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3473, allocations: 3 kB / 442 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.3476, allocations: 127.8 kB / 442.1 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.3483, allocations: 0.5428 MB / 442.7 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3487, allocations: 198.8 kB / 442.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3488, allocations: 88.2 kB / 443 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3489, allocations: 2.781 kB / 443 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3489, allocations: 30.56 kB / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.3489, allocations: 0 / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004469/0.3493, allocations: 262.4 kB / 443.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.3494, allocations: 58.12 kB / 443.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.3498, allocations: 263.9 kB / 443.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3498, allocations: 29.7 kB / 443.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.3499, allocations: 132.6 kB / 443.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.3499, allocations: 61.11 kB / 443.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.3499, allocations: 8 kB / 443.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.35, allocations: 337.4 kB / 444.1 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3501, allocations: 54.58 kB / 444.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3502, allocations: 72.77 kB / 444.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3503, allocations: 74.53 kB / 444.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3504, allocations: 3.938 kB / 444.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003034/0.3507, allocations: 228.5 kB / 444.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3507, allocations: 5.812 kB / 444.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3507, allocations: 3.938 kB / 444.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3507, allocations: 7.156 kB / 444.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.3509, allocations: 34.81 kB / 444.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3509, allocations: 0 / 444.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3511, allocations: 42.39 kB / 444.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3512, allocations: 5.875 kB / 444.7 MB, free: 35.01 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.0001581/0.3513, allocations: 151 kB / 444.8 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3514, allocations: 20.59 kB / 444.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.3518, allocations: 240.5 kB / 445.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3518, allocations: 6.312 kB / 445.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3518, allocations: 0 / 445.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3518, allocations: 0 / 445.1 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3521, allocations: 290 kB / 445.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3521, allocations: 0 / 445.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.3523, allocations: 40.19 kB / 445.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3523, allocations: 6.094 kB / 445.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3523, allocations: 7.031 kB / 445.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3523, allocations: 0 / 445.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3523, allocations: 4 kB / 445.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.3528, allocations: 409.1 kB / 445.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.3528, allocations: 101.1 kB / 445.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3529, allocations: 4.062 kB / 445.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.3531, allocations: 28.48 kB / 445.9 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.3532, allocations: 23.86 kB / 446 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.3532, allocations: 2.75 kB / 446 MB, free: 34.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.3535, allocations: 211.5 kB / 446.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.3535, allocations: 0 / 446.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3538, allocations: 43.38 kB / 446.2 MB, free: 34.02 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.0006133/0.3544, allocations: 0.9373 MB / 447.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.3547, allocations: 169.6 kB / 447.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3548, allocations: 3.938 kB / 447.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3549, allocations: 88.56 kB / 447.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3552, allocations: 38.19 kB / 447.4 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.3577, allocations: 1.528 MB / 449 MB, free: 32.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.3578, allocations: 0.7488 MB / 449.7 MB, free: 31.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.358, allocations: 43.91 kB / 449.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3581, allocations: 65.92 kB / 449.8 MB, free: 31.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3581, allocations: 0 / 449.8 MB, free: 31.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.3732, allocations: 3.804 MB / 453.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.3735, allocations: 183.5 kB / 453.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.098, allocations: 0 / 453.8 MB, free: 31.14 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: