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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 80.53 kB / 19.95 MB, free: 4.609 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8967/0.8967, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0617/0.0617, allocations: 18.12 MB / 278.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.299e-05, allocations: 2.281 kB / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002694/0.002717, allocations: 1.772 MB / 416.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.003571, allocations: 0.5759 MB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.003666, allocations: 10.5 kB / 417.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.003965, allocations: 38.77 kB / 417.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.004125, allocations: 62.8 kB / 417.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.00437, allocations: 127.5 kB / 417.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.004597, allocations: 190.6 kB / 417.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004712, allocations: 30.44 kB / 417.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.004819, allocations: 77 kB / 417.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.004984, allocations: 104.5 kB / 418 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.005025, allocations: 18.44 kB / 418 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.005046, allocations: 15.38 kB / 418.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.00513, allocations: 67.23 kB / 418.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.005183, allocations: 49.45 kB / 418.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.005391, allocations: 184.1 kB / 418.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005395, allocations: 0 / 418.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.005396, allocations: 0 / 418.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005403, allocations: 0 / 418.4 MB, free: 10.78 MB / 330.7 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.0008188/0.006221, allocations: 0.4902 MB / 418.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.006267, allocations: 13.83 kB / 418.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.006306, allocations: 41.58 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.006353, allocations: 26.86 kB / 418.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.00673, allocations: 254.4 kB / 419.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.006746, allocations: 7.469 kB / 419.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.006773, allocations: 13.08 kB / 419.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.006972, allocations: 140.7 kB / 419.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.006984, allocations: 5.359 kB / 419.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.006997, allocations: 8.875 kB / 419.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.007002, allocations: 2.594 kB / 419.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.007184, allocations: 116.2 kB / 419.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.007762, allocations: 459.9 kB / 419.9 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.008069, allocations: 171.7 kB / 420.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.008162, allocations: 70.12 kB / 420.1 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.008187, allocations: 7.453 kB / 420.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.0082, allocations: 37.67 kB / 420.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.008201, allocations: 0 / 420.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.000367/0.008568, allocations: 242.5 kB / 420.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.008591, allocations: 56.72 kB / 420.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.008889, allocations: 277.1 kB / 420.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.008902, allocations: 30.77 kB / 420.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.008948, allocations: 122.9 kB / 420.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.008992, allocations: 58.78 kB / 421 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.009038, allocations: 33.92 kB / 421 MB, free: 9.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.009079, allocations: 334.1 kB / 421.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.009163, allocations: 59.8 kB / 421.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.009238, allocations: 61.3 kB / 421.4 MB, free: 8.727 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.01027, allocations: 471.3 kB / 421.9 MB, free: 8.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.01027, allocations: 1.406 kB / 421.9 MB, free: 8.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002608/0.01053, allocations: 214.3 kB / 422.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01055, allocations: 6.172 kB / 422.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01055, allocations: 0 / 422.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01057, allocations: 5.031 kB / 422.1 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01068, allocations: 38.52 kB / 422.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01069, allocations: 5.984 kB / 422.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01081, allocations: 34.16 kB / 422.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01082, allocations: 8.906 kB / 422.2 MB, free: 8.492 MB / 330.7 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.0001553/0.01098, allocations: 156.4 kB / 422.4 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.011, allocations: 20.62 kB / 422.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.01134, allocations: 223.5 kB / 422.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01135, allocations: 2.844 kB / 422.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01135, allocations: 0.9688 kB / 422.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.01136, allocations: 1.406 kB / 422.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.01157, allocations: 235.8 kB / 422.8 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01157, allocations: 0.75 kB / 422.8 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.0117, allocations: 39.03 kB / 422.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.01171, allocations: 1.906 kB / 422.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.01172, allocations: 3.484 kB / 422.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01172, allocations: 0 / 422.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.01173, allocations: 5.703 kB / 422.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.01212, allocations: 389 kB / 423.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.01215, allocations: 25.89 kB / 423.3 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.01218, allocations: 6.969 kB / 423.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01231, allocations: 30.08 kB / 423.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.01235, allocations: 13.86 kB / 423.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01235, allocations: 8.078 kB / 423.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.01259, allocations: 210.4 kB / 423.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01259, allocations: 3.938 kB / 423.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.01278, allocations: 35.34 kB / 423.6 MB, free: 7.656 MB / 330.7 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.0004596/0.01324, allocations: 0.916 MB / 424.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.01347, allocations: 158.6 kB / 424.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01348, allocations: 1.188 kB / 424.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.01357, allocations: 80.11 kB / 424.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.01384, allocations: 40.81 kB / 424.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.01632, allocations: 2.455 MB / 427.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.01643, allocations: 134.7 kB / 427.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.01654, allocations: 49.42 kB / 427.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.01662, allocations: 61 kB / 427.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01663, allocations: 1.094 kB / 427.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.03747, allocations: 5.05 MB / 432.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.795, allocations: 18.06 kB / 432.5 MB, free: 3.543 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.824004771187901] Failed to read output from testmodel.py, exit status != 0: 6.874958535656333 6.882823223 6.87569866 Calling exit ...