Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",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.001488/0.001488, 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.001664/0.001664, allocations: 195 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.36 MB / 312.7 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.88 kB / 380.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 54.93 MB / 435.9 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002405/0.2579, allocations: 1.804 MB / 437.7 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.2587, allocations: 0.5658 MB / 438.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.2588, allocations: 2.312 kB / 438.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.259, allocations: 48.25 kB / 438.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.2592, allocations: 60.19 kB / 438.4 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.2593, allocations: 84.14 kB / 438.4 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2596, allocations: 254.1 kB / 438.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2597, allocations: 44.67 kB / 438.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2598, allocations: 97.61 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.26, allocations: 122.4 kB / 438.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.26, allocations: 17.44 kB / 439 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.26, allocations: 15.88 kB / 439 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.2601, allocations: 61.2 kB / 439 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.2602, allocations: 78.02 kB / 439.1 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2603, allocations: 179 kB / 439.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2604, allocations: 3.938 kB / 439.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2604, allocations: 3.938 kB / 439.3 MB, free: 37.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2604, allocations: 0 / 439.3 MB, free: 37.44 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001087/0.2615, allocations: 0.5703 MB / 439.9 MB, free: 37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2615, allocations: 8.406 kB / 439.9 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.2615, allocations: 48.62 kB / 439.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.2616, allocations: 24 kB / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.2621, allocations: 304.4 kB / 440.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2621, allocations: 9.562 kB / 440.2 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2622, allocations: 8.875 kB / 440.3 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.2624, allocations: 137.1 kB / 440.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2624, allocations: 7.906 kB / 440.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2624, allocations: 4 kB / 440.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2624, allocations: 2.625 kB / 440.4 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.2627, allocations: 120.3 kB / 440.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.2634, allocations: 0.5087 MB / 441 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.2637, allocations: 179.5 kB / 441.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2639, allocations: 74.22 kB / 441.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2639, allocations: 6.594 kB / 441.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.2639, allocations: 37.84 kB / 441.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.2639, allocations: 0 / 441.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.000436/0.2644, allocations: 244.7 kB / 441.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.2644, allocations: 55.34 kB / 441.6 MB, free: 35.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.2649, allocations: 275.6 kB / 441.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2649, allocations: 29.7 kB / 441.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.2649, allocations: 126.6 kB / 442 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.265, allocations: 53.48 kB / 442.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.265, allocations: 36.48 kB / 442.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.2651, allocations: 335 kB / 442.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2652, allocations: 64.2 kB / 442.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.2653, allocations: 62.52 kB / 442.6 MB, free: 35.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.2671, allocations: 461.2 kB / 443 MB, free: 35.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2671, allocations: 0 / 443 MB, free: 35.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003074/0.2674, allocations: 222 kB / 443.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2674, allocations: 2.906 kB / 443.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2674, allocations: 2.875 kB / 443.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2674, allocations: 7.422 kB / 443.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.2676, allocations: 31.75 kB / 443.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2676, allocations: 7.875 kB / 443.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2679, allocations: 42.7 kB / 443.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2679, allocations: 2.844 kB / 443.3 MB, free: 34.95 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 (20): * Single equations (assignments): 20 * 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.0001457/0.2681, allocations: 156.6 kB / 443.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.2681, allocations: 16.25 kB / 443.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.2685, allocations: 221.7 kB / 443.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2685, allocations: 5.594 kB / 443.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2685, allocations: 11.88 kB / 443.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2685, allocations: 0 / 443.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.2688, allocations: 285.9 kB / 444 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2688, allocations: 0 / 444 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.269, allocations: 33.25 kB / 444.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.269, allocations: 0 / 444.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.269, allocations: 6.719 kB / 444.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.269, allocations: 3.375 kB / 444.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.269, allocations: 3.938 kB / 444.1 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.2695, allocations: 383.3 kB / 444.4 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.2695, allocations: 101 kB / 444.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.2696, allocations: 6.938 kB / 444.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.2698, allocations: 28.12 kB / 444.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.2699, allocations: 13.69 kB / 444.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2699, allocations: 10.11 kB / 444.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003936/0.2703, allocations: 218.4 kB / 444.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2703, allocations: 0 / 444.8 MB, free: 33.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.2706, allocations: 35.84 kB / 444.8 MB, free: 33.98 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 (17): * Single equations (assignments): 17 * 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.0005762/0.2712, allocations: 0.9159 MB / 445.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.2715, allocations: 179.9 kB / 445.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2715, allocations: 0 / 445.9 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2716, allocations: 88.42 kB / 446 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.272, allocations: 41.12 kB / 446.1 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.2751, allocations: 2.447 MB / 448.5 MB, free: 31.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2752, allocations: 0.7479 MB / 449.3 MB, free: 30.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.2754, allocations: 38.23 kB / 449.3 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2755, allocations: 61.44 kB / 449.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2755, allocations: 0 / 449.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.2951, allocations: 4.182 MB / 453.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.388/9.683, allocations: 19.81 kB / 453.6 MB, free: 30.26 MB / 350.1 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)