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.00851/0.00851, allocations: 105 kB / 15.74 MB, free: 6.035 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.001804/0.001804, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2255/0.2255, allocations: 22.35 MB / 312.9 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.47 kB / 436.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 54.97 MB / 491.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002623/0.1272, allocations: 1.781 MB / 493.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1286, allocations: 0.5845 MB / 493.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.1288, allocations: 0 / 493.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.1293, allocations: 35.72 kB / 493.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1296, allocations: 67.61 kB / 494 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1299, allocations: 87.88 kB / 494.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.1304, allocations: 255.5 kB / 494.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1306, allocations: 37.67 kB / 494.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.1308, allocations: 107.6 kB / 494.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.1311, allocations: 119.5 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.1312, allocations: 12 kB / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.1312, allocations: 16 kB / 494.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1313, allocations: 63.75 kB / 494.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1314, allocations: 75.53 kB / 494.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.1317, allocations: 180.2 kB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1317, allocations: 0 / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1317, allocations: 0 / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1318, allocations: 7.938 kB / 494.9 MB, free: 14.29 MB / 366.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.00156/0.1333, allocations: 0.5668 MB / 495.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1334, allocations: 8.031 kB / 495.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.1335, allocations: 46.73 kB / 495.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.1335, allocations: 24.66 kB / 495.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.1343, allocations: 312.4 kB / 495.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1344, allocations: 12.38 kB / 495.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1344, allocations: 12.38 kB / 495.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1347, allocations: 136 kB / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1347, allocations: 0 / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1347, allocations: 4 kB / 496 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1348, allocations: 4 kB / 496.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.135, allocations: 119.9 kB / 496.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1361, allocations: 0.5196 MB / 496.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.1365, allocations: 178.4 kB / 496.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.1367, allocations: 76.83 kB / 496.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.1368, allocations: 4 kB / 496.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1368, allocations: 30.56 kB / 497 MB, free: 12.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.1368, allocations: 0 / 497 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005943/0.1374, allocations: 243.7 kB / 497.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1375, allocations: 55.34 kB / 497.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.138, allocations: 279.1 kB / 497.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.138, allocations: 29.7 kB / 497.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.1381, allocations: 128.2 kB / 497.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.1382, allocations: 59.19 kB / 497.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.1383, allocations: 33.7 kB / 497.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1384, allocations: 334.8 kB / 498.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1385, allocations: 59.97 kB / 498.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1386, allocations: 55.91 kB / 498.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.1404, allocations: 461.4 kB / 498.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1405, allocations: 0 / 498.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003735/0.1408, allocations: 222.4 kB / 498.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1409, allocations: 8 kB / 498.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1409, allocations: 0 / 498.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1409, allocations: 4 kB / 498.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1411, allocations: 35.97 kB / 498.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1411, allocations: 3.938 kB / 498.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1414, allocations: 31.91 kB / 499 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1414, allocations: 7.984 kB / 499 MB, free: 10.01 MB / 366.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.0002055/0.1416, allocations: 167.5 kB / 499.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.1417, allocations: 15.81 kB / 499.2 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.1421, allocations: 221.4 kB / 499.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1421, allocations: 0 / 499.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1421, allocations: 7.938 kB / 499.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1421, allocations: 3.984 kB / 499.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1425, allocations: 289.4 kB / 499.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1425, allocations: 0 / 499.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1427, allocations: 35.86 kB / 499.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.1427, allocations: 3.984 kB / 499.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1428, allocations: 8 kB / 499.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1428, allocations: 4 kB / 499.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1428, allocations: 3.938 kB / 499.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1433, allocations: 384.2 kB / 0.4884 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.1434, allocations: 100.8 kB / 0.4885 GB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1435, allocations: 4.062 kB / 0.4885 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1437, allocations: 31.89 kB / 0.4885 GB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.1438, allocations: 11.98 kB / 0.4885 GB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1438, allocations: 4 kB / 0.4885 GB, free: 8.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.1442, allocations: 216.5 kB / 0.4887 GB, free: 8.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1443, allocations: 0 / 0.4887 GB, free: 8.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1445, allocations: 35.94 kB / 0.4888 GB, free: 8.402 MB / 366.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.0008506/0.1454, allocations: 0.9251 MB / 0.4897 GB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.1457, allocations: 160 kB / 0.4898 GB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1458, allocations: 0 / 0.4898 GB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1459, allocations: 79.89 kB / 0.4899 GB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1463, allocations: 43.56 kB / 0.4899 GB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.15, allocations: 2.453 MB / 0.4923 GB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1504, allocations: 0.7436 MB / 0.4931 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1505, allocations: 41.52 kB / 0.4931 GB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1506, allocations: 63.41 kB / 0.4932 GB, free: 3.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1506, allocations: 0 / 0.4932 GB, free: 3.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.1736, allocations: 4.314 MB / 0.4974 GB, free: 15.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.758, allocations: 6.031 kB / 0.4974 GB, free: 15.55 MB / 382.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)