Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.0008709/0.0008709, allocations: 76.45 kB / 19.95 MB, free: 4.613 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.0008719/0.0008719, allocations: 165.2 kB / 23.22 MB, free: 1.336 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.9017/0.9017, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.06277/0.06277, allocations: 18.14 MB / 278.1 MB, free: 11.56 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_control_structures.FF_compensation,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_control_structures.FF_compensation,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_FF_compensation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.85e-05, allocations: 2.281 kB / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002044/0.002063, allocations: 1.868 MB / 416.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.002775, allocations: 0.5915 MB / 417.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.002863, allocations: 2.625 kB / 417.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.003134, allocations: 58.03 kB / 417.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.003265, allocations: 54.38 kB / 417.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.003511, allocations: 155.3 kB / 417.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.003731, allocations: 247.2 kB / 418 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003841, allocations: 39.88 kB / 418.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.694e-05/0.003938, allocations: 96.77 kB / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.004071, allocations: 100.8 kB / 418.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.004105, allocations: 21.81 kB / 418.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.004125, allocations: 17.88 kB / 418.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.004191, allocations: 66.95 kB / 418.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.004245, allocations: 58.53 kB / 418.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.004458, allocations: 205 kB / 418.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00446, allocations: 3.938 kB / 418.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004461, allocations: 2.094 kB / 418.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.004466, allocations: 0 / 418.6 MB, free: 10.58 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007319/0.005198, allocations: 0.5125 MB / 419.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.005233, allocations: 10.39 kB / 419.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.005266, allocations: 55.27 kB / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.005301, allocations: 25.8 kB / 419.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.005617, allocations: 260 kB / 419.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.005637, allocations: 12.47 kB / 419.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.005666, allocations: 18.97 kB / 419.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.005903, allocations: 192 kB / 419.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.005912, allocations: 192 / 419.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.005927, allocations: 15.19 kB / 419.7 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005933, allocations: 8.297 kB / 419.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.006152, allocations: 149.9 kB / 419.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.006762, allocations: 0.6653 MB / 420.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.007092, allocations: 216.3 kB / 420.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.007186, allocations: 77.67 kB / 420.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.007207, allocations: 2.875 kB / 420.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-06/0.007217, allocations: 36.78 kB / 420.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.007218, allocations: 0.9375 kB / 420.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003633/0.007581, allocations: 273.3 kB / 421.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.007599, allocations: 53.97 kB / 421.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.007884, allocations: 291.8 kB / 421.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.007897, allocations: 31.73 kB / 421.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.00795, allocations: 145.5 kB / 421.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.007985, allocations: 74.22 kB / 421.7 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.008037, allocations: 55.5 kB / 421.8 MB, free: 8.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.008084, allocations: 336.4 kB / 422.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-05/0.008183, allocations: 69.34 kB / 422.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.008299, allocations: 125.4 kB / 422.3 MB, free: 8.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.009092, allocations: 467.1 kB / 422.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009094, allocations: 1.125 kB / 422.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002891/0.009383, allocations: 280.3 kB / 423 MB, free: 7.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.009397, allocations: 13.3 kB / 423 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.009404, allocations: 6.688 kB / 423 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.009419, allocations: 3.031 kB / 423 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.009572, allocations: 61.38 kB / 423.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.009579, allocations: 7.062 kB / 423.1 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.009708, allocations: 50.73 kB / 423.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.009722, allocations: 11.84 kB / 423.2 MB, free: 7.746 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001108/0.009833, allocations: 149 kB / 423.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.00986, allocations: 25.98 kB / 423.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.01013, allocations: 230.6 kB / 423.6 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01014, allocations: 7.609 kB / 423.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01014, allocations: 0 / 423.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01015, allocations: 5.797 kB / 423.6 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.01032, allocations: 244.2 kB / 423.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01033, allocations: 2.047 kB / 423.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.01047, allocations: 47.92 kB / 423.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01047, allocations: 1.781 kB / 423.9 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.01049, allocations: 10.83 kB / 423.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01049, allocations: 5.125 kB / 423.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01049, allocations: 0.6094 kB / 423.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.01086, allocations: 408.4 kB / 424.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.01089, allocations: 27.11 kB / 424.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.01091, allocations: 10.89 kB / 424.3 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01105, allocations: 38.06 kB / 424.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.01109, allocations: 12.98 kB / 424.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.0111, allocations: 9.188 kB / 424.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.01131, allocations: 216.3 kB / 424.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01131, allocations: 0 / 424.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.0115, allocations: 44.14 kB / 424.6 MB, free: 6.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0004438/0.01194, allocations: 0.9381 MB / 425.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.01221, allocations: 180.9 kB / 425.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01221, allocations: 1.219 kB / 425.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01232, allocations: 94.94 kB / 425.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01255, allocations: 34.59 kB / 425.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.01525, allocations: 2.727 MB / 428.6 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.01537, allocations: 151.2 kB / 428.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.578e-05/0.01547, allocations: 38.02 kB / 428.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.01556, allocations: 79.91 kB / 428.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01557, allocations: 0 / 428.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.03356, allocations: 5.471 MB / 434.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.914, allocations: 5.594 kB / 434.3 MB, free: 2.312 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_control_structures_FF_compensation_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_control_structures_FF_compensation.fmu > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.826480854302645] Failed to read output from testmodel.py, exit status != 0: 6.9934816444292665 7.003015271 6.996807951 Calling exit ...