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.00105/0.00105, allocations: 97.64 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.001573/0.001574, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2077/0.2077, allocations: 22.34 MB / 313.8 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 11.98 kB / 382.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2414, allocations: 55.98 MB / 438.7 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.001392/0.2428, allocations: 1.502 MB / 440.2 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000678/0.2435, allocations: 0.5596 MB / 440.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.2436, allocations: 2.969 kB / 440.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.2439, allocations: 36.59 kB / 440.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.244, allocations: 47.75 kB / 440.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.2442, allocations: 85.16 kB / 440.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.2444, allocations: 240.8 kB / 441.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2445, allocations: 44.41 kB / 441.2 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.2446, allocations: 83.8 kB / 441.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.2448, allocations: 110.5 kB / 441.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2448, allocations: 8.562 kB / 441.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.096e-05/0.2448, allocations: 5.562 kB / 441.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.2449, allocations: 57.77 kB / 441.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.245, allocations: 89.41 kB / 441.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2451, allocations: 167.6 kB / 441.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2451, allocations: 0 / 441.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2451, allocations: 0 / 441.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2451, allocations: 0 / 441.7 MB, free: 37.58 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.001008/0.2461, allocations: 0.5461 MB / 442.2 MB, free: 37.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2462, allocations: 12.94 kB / 442.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.2462, allocations: 49.72 kB / 442.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.2463, allocations: 26.7 kB / 442.3 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.2467, allocations: 312.3 kB / 442.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2468, allocations: 7.375 kB / 442.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.2468, allocations: 12.69 kB / 442.7 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.247, allocations: 140.2 kB / 442.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.247, allocations: 0 / 442.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2471, allocations: 3.984 kB / 442.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2471, allocations: 3 kB / 442.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.2473, allocations: 123.1 kB / 442.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006774/0.248, allocations: 0.5172 MB / 443.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.2483, allocations: 181.6 kB / 443.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2485, allocations: 71.69 kB / 443.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2485, allocations: 2.594 kB / 443.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.2485, allocations: 45.19 kB / 443.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.2485, allocations: 0 / 443.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004183/0.2489, allocations: 234.8 kB / 444 MB, free: 36.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.249, allocations: 65.44 kB / 444 MB, free: 36.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.2494, allocations: 272.9 kB / 444.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2494, allocations: 25.7 kB / 444.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.2495, allocations: 129.2 kB / 444.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.2495, allocations: 51.34 kB / 444.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2496, allocations: 19.09 kB / 444.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.2496, allocations: 337.8 kB / 444.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2497, allocations: 61.66 kB / 444.9 MB, free: 35.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.2498, allocations: 66.3 kB / 445 MB, free: 35.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.2516, allocations: 479.8 kB / 445.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2516, allocations: 0 / 445.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003/0.2519, allocations: 217.4 kB / 445.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2519, allocations: 8.484 kB / 445.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2519, allocations: 3.312 kB / 445.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.2519, allocations: 0 / 445.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.2521, allocations: 34.27 kB / 445.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2521, allocations: 3.938 kB / 445.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2524, allocations: 47.27 kB / 445.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2524, allocations: 2.969 kB / 445.7 MB, free: 35.09 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.0001402/0.2525, allocations: 152.5 kB / 445.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2526, allocations: 17.34 kB / 445.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.253, allocations: 225.5 kB / 446.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.253, allocations: 2.812 kB / 446.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.253, allocations: 3.938 kB / 446.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.253, allocations: 0 / 446.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2532, allocations: 291.3 kB / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2532, allocations: 0 / 446.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2535, allocations: 29.75 kB / 446.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2535, allocations: 10.16 kB / 446.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2535, allocations: 6.938 kB / 446.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2535, allocations: 4 kB / 446.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2535, allocations: 7.922 kB / 446.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.2539, allocations: 376.1 kB / 446.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.254, allocations: 98.89 kB / 446.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.254, allocations: 3.609 kB / 446.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.2543, allocations: 40.16 kB / 447 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2543, allocations: 8.859 kB / 447 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2543, allocations: 7.094 kB / 447 MB, free: 34.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003775/0.2547, allocations: 219.5 kB / 447.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2547, allocations: 0 / 447.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.255, allocations: 40.12 kB / 447.3 MB, free: 34.12 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.0005451/0.2556, allocations: 0.9098 MB / 448.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.2558, allocations: 170.9 kB / 448.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2558, allocations: 3.938 kB / 448.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.256, allocations: 83.62 kB / 448.4 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.2564, allocations: 41.91 kB / 448.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.2594, allocations: 2.521 MB / 451 MB, free: 31.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2595, allocations: 0.7448 MB / 451.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.2596, allocations: 48 kB / 451.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2598, allocations: 55.39 kB / 451.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2598, allocations: 2.719 kB / 451.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1844/0.4442, allocations: 3.841 MB / 455.7 MB, free: 30.61 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.4443, allocations: 204.5 kB / 455.9 MB, free: 30.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.527, allocations: 0 / 455.9 MB, free: 30.35 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)