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.001408/0.001408, allocations: 108 kB / 15.61 MB, free: 152 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.001734/0.001734, allocations: 197 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2013/0.2013, allocations: 22.34 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.89 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2659, allocations: 54.93 MB / 435.9 MB, free: 39.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002788/0.2687, allocations: 1.791 MB / 437.7 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.2696, allocations: 0.5881 MB / 438.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.2697, allocations: 2.906 kB / 438.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.2699, allocations: 35.41 kB / 438.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2701, allocations: 63.75 kB / 438.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2703, allocations: 95.84 kB / 438.4 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2705, allocations: 265 kB / 438.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2707, allocations: 41.92 kB / 438.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2708, allocations: 108.7 kB / 438.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.271, allocations: 118.2 kB / 439 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.271, allocations: 13.88 kB / 439 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.271, allocations: 15.56 kB / 439 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.2711, allocations: 65.88 kB / 439.1 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.572e-05/0.2712, allocations: 83.64 kB / 439.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.2714, allocations: 173.2 kB / 439.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2714, allocations: 2.75 kB / 439.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2714, allocations: 0 / 439.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.2714, allocations: 0 / 439.3 MB, free: 37.57 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.001084/0.2725, allocations: 0.5818 MB / 439.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2725, allocations: 11.44 kB / 439.9 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.2726, allocations: 41.12 kB / 439.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.2726, allocations: 23.81 kB / 440 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.2732, allocations: 312.6 kB / 440.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2732, allocations: 9.703 kB / 440.3 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.2732, allocations: 12.38 kB / 440.3 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.2735, allocations: 151.6 kB / 440.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2735, allocations: 2.469 kB / 440.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.2735, allocations: 4 kB / 440.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2735, allocations: 11 kB / 440.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.2737, allocations: 130 kB / 440.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.2745, allocations: 0.5408 MB / 441.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.2749, allocations: 196.5 kB / 441.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.275, allocations: 86.38 kB / 441.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.275, allocations: 2.906 kB / 441.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2751, allocations: 34.56 kB / 441.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2751, allocations: 0 / 441.4 MB, free: 36.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005106/0.2756, allocations: 269.2 kB / 441.7 MB, free: 36.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2756, allocations: 54.73 kB / 441.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.2761, allocations: 266 kB / 442 MB, free: 35.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2761, allocations: 33.7 kB / 442 MB, free: 35.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.2762, allocations: 127.3 kB / 442.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.2763, allocations: 62.77 kB / 442.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.2763, allocations: 32.94 kB / 442.3 MB, free: 35.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.2764, allocations: 336.3 kB / 442.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2765, allocations: 58.23 kB / 442.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.2766, allocations: 67 kB / 442.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.2783, allocations: 474 kB / 443.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2783, allocations: 0 / 443.2 MB, free: 35.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003457/0.2786, allocations: 231 kB / 443.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.2787, allocations: 9.906 kB / 443.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2787, allocations: 0 / 443.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2787, allocations: 3.031 kB / 443.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.2789, allocations: 37.73 kB / 443.4 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2789, allocations: 2.656 kB / 443.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.2791, allocations: 38.38 kB / 443.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.2792, allocations: 3.531 kB / 443.5 MB, free: 35.03 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.00016/0.2793, allocations: 157.8 kB / 443.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.2794, allocations: 15.69 kB / 443.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.2798, allocations: 253.6 kB / 443.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2798, allocations: 0 / 443.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2798, allocations: 6.875 kB / 443.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2798, allocations: 3.188 kB / 443.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.28, allocations: 298.1 kB / 444.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2801, allocations: 0 / 444.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.2803, allocations: 32.41 kB / 444.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2803, allocations: 0 / 444.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2803, allocations: 6.875 kB / 444.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2803, allocations: 11.27 kB / 444.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2803, allocations: 3.094 kB / 444.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.2808, allocations: 395.1 kB / 444.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.2809, allocations: 102.4 kB / 444.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.2809, allocations: 11.19 kB / 444.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.2812, allocations: 32.48 kB / 444.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.2812, allocations: 8.734 kB / 444.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2812, allocations: 6.094 kB / 444.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.2816, allocations: 208.3 kB / 445 MB, free: 34.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2816, allocations: 0 / 445 MB, free: 34.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.2819, allocations: 33.09 kB / 445 MB, free: 34.05 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.0006013/0.2825, allocations: 0.9424 MB / 446 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.2828, allocations: 188.5 kB / 446.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2829, allocations: 0 / 446.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.283, allocations: 86.7 kB / 446.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.2834, allocations: 39.89 kB / 446.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.2864, allocations: 2.487 MB / 448.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2865, allocations: 0.7592 MB / 449.5 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.2867, allocations: 45.17 kB / 449.6 MB, free: 30.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2868, allocations: 61.89 kB / 449.6 MB, free: 30.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2868, allocations: 0 / 449.6 MB, free: 30.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.3055, allocations: 4.103 MB / 453.7 MB, free: 30.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.983/10.29, allocations: 9.016 kB / 453.8 MB, free: 30.3 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)