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.00098/0.00098, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007375/0.007375, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.282/1.282, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.184/0.184, allocations: 22.34 MB / 313.8 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 382.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2566, allocations: 55.98 MB / 438.7 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.001499/0.2582, allocations: 1.494 MB / 440.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.259, allocations: 0.5757 MB / 440.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2592, allocations: 6.812 kB / 440.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.2595, allocations: 33.64 kB / 440.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.2597, allocations: 48.78 kB / 440.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.2599, allocations: 85.73 kB / 440.9 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.2602, allocations: 251.5 kB / 441.2 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2603, allocations: 47.77 kB / 441.2 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2604, allocations: 87.22 kB / 441.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.2606, allocations: 111.5 kB / 441.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.2607, allocations: 5.156 kB / 441.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.808e-05/0.2607, allocations: 5.5 kB / 441.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.2608, allocations: 54.58 kB / 441.5 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.2609, allocations: 101.5 kB / 441.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.261, allocations: 163.1 kB / 441.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2611, allocations: 0 / 441.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2611, allocations: 3.969 kB / 441.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2611, allocations: 4 kB / 441.7 MB, free: 37.4 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.001026/0.2621, allocations: 0.5522 MB / 442.3 MB, free: 36.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2622, allocations: 13 kB / 442.3 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.2622, allocations: 47.77 kB / 442.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.2622, allocations: 20.91 kB / 442.4 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.2627, allocations: 315.6 kB / 442.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2628, allocations: 9.828 kB / 442.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.2628, allocations: 16.88 kB / 442.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.263, allocations: 150.5 kB / 442.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2631, allocations: 0 / 442.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2631, allocations: 10.33 kB / 442.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2631, allocations: 6.688 kB / 442.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.2633, allocations: 129.1 kB / 443 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007116/0.2641, allocations: 0.5451 MB / 443.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.2645, allocations: 191.3 kB / 443.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2646, allocations: 90.02 kB / 443.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2646, allocations: 3.938 kB / 443.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.2647, allocations: 33.53 kB / 443.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2647, allocations: 4 kB / 443.9 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004512/0.2651, allocations: 258.2 kB / 444.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.2652, allocations: 55.41 kB / 444.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.2656, allocations: 262 kB / 444.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2656, allocations: 25.7 kB / 444.4 MB, free: 35.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.2657, allocations: 142 kB / 444.6 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.2657, allocations: 60.64 kB / 444.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.2658, allocations: 19.94 kB / 444.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.2658, allocations: 328.7 kB / 445 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2659, allocations: 67.19 kB / 445 MB, free: 35.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.937e-05/0.266, allocations: 68.64 kB / 445.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.2676, allocations: 469.3 kB / 445.6 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2676, allocations: 3.422 kB / 445.6 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003215/0.268, allocations: 228.2 kB / 445.8 MB, free: 34.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.268, allocations: 5.906 kB / 445.8 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.268, allocations: 0 / 445.8 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.268, allocations: 0 / 445.8 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.2682, allocations: 48.42 kB / 445.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2682, allocations: 0 / 445.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.2685, allocations: 34.89 kB / 445.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.2685, allocations: 13 kB / 445.9 MB, free: 34.88 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.0001535/0.2686, allocations: 156.7 kB / 446 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.2687, allocations: 16.66 kB / 446.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.2691, allocations: 246.9 kB / 446.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2691, allocations: 3 kB / 446.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2691, allocations: 0 / 446.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2691, allocations: 3.281 kB / 446.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.2694, allocations: 292.7 kB / 446.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2694, allocations: 2.781 kB / 446.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.2696, allocations: 40.31 kB / 446.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2696, allocations: 0 / 446.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2696, allocations: 6.844 kB / 446.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2696, allocations: 0 / 446.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2697, allocations: 0 / 446.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.2701, allocations: 408.6 kB / 447 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.2702, allocations: 100.4 kB / 447.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.2702, allocations: 6.781 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.2705, allocations: 25.42 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2705, allocations: 12.69 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2705, allocations: 11 kB / 447.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000375/0.2709, allocations: 215.1 kB / 447.4 MB, free: 33.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2709, allocations: 0 / 447.4 MB, free: 33.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.2712, allocations: 37 kB / 447.4 MB, free: 33.9 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.0005798/0.2718, allocations: 0.9395 MB / 448.4 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2721, allocations: 177.3 kB / 448.6 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2721, allocations: 0 / 448.6 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.2722, allocations: 88.83 kB / 448.6 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.2726, allocations: 35.67 kB / 448.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.2756, allocations: 2.559 MB / 451.2 MB, free: 31.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2757, allocations: 0.7548 MB / 452 MB, free: 30.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2758, allocations: 50.09 kB / 452 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.276, allocations: 60.61 kB / 452.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.276, allocations: 0 / 452.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3026, allocations: 3.784 MB / 455.9 MB, free: 30.33 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.3028, allocations: 194.7 kB / 456.1 MB, free: 30.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.094, allocations: 3.391 kB / 456.1 MB, free: 30.07 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)