Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.0009687/0.0009687, allocations: 96.36 kB / 19.72 MB, free: 432 kB / 13.93 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.001222/0.001222, allocations: 217.6 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9753/0.9753, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.06868/0.06868, allocations: 24.53 MB / 337.7 MB, free: 9.957 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.Cascade_basic,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_Cascade_basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_control_structures.Cascade_basic,fileNamePrefix="AES_AES_Coursework_Typical_control_structures_Cascade_basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.91 kB / 475.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09719, allocations: 59.72 MB / 0.5225 GB, free: 2.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002276/0.09946, allocations: 1.814 MB / 0.5243 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003597/0.09982, allocations: 191.2 kB / 0.5245 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.0999, allocations: 7.875 kB / 0.5245 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1, allocations: 39.59 kB / 0.5245 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.1001, allocations: 11.81 kB / 0.5245 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.1003, allocations: 87.88 kB / 0.5246 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1005, allocations: 244.7 kB / 0.5249 GB, free: 444 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1006, allocations: 40.56 kB / 0.5249 GB, free: 408 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.1007, allocations: 83.7 kB / 0.525 GB, free: 324 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.1008, allocations: 87.52 kB / 0.5251 GB, free: 236 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1008, allocations: 23.94 kB / 0.5251 GB, free: 212 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.1008, allocations: 20 kB / 0.5251 GB, free: 192 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.1009, allocations: 51.78 kB / 0.5252 GB, free: 140 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.1009, allocations: 79.56 kB / 0.5252 GB, free: 60 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.1011, allocations: 195.1 kB / 0.5254 GB, free: 15.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1011, allocations: 3.938 kB / 0.5254 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1011, allocations: 0 / 0.5254 GB, free: 15.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.1011, allocations: 0 / 0.5254 GB, free: 15.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005443/0.1016, allocations: 441.8 kB / 0.5258 GB, free: 15.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1017, allocations: 15.97 kB / 0.5259 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1017, allocations: 50.73 kB / 0.5259 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.1018, allocations: 24.8 kB / 0.5259 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.102, allocations: 182.8 kB / 0.5261 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.102, allocations: 16.81 kB / 0.5261 GB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.102, allocations: 24.38 kB / 0.5261 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.1023, allocations: 248.7 kB / 0.5264 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1023, allocations: 3.938 kB / 0.5264 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1023, allocations: 8 kB / 0.5264 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1023, allocations: 7.984 kB / 0.5264 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1025, allocations: 157 kB / 0.5266 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.1038, allocations: 0.943 MB / 0.5275 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.104, allocations: 146.6 kB / 0.5276 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.102e-05/0.1041, allocations: 68.78 kB / 0.5277 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1041, allocations: 4 kB / 0.5277 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1041, allocations: 30.56 kB / 0.5277 GB, free: 13.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.1041, allocations: 0 / 0.5277 GB, free: 13.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003391/0.1044, allocations: 240.3 kB / 0.5279 GB, free: 13.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1045, allocations: 55.41 kB / 0.528 GB, free: 13.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1046, allocations: 223 kB / 0.5282 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1046, allocations: 29.7 kB / 0.5282 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.1047, allocations: 160.3 kB / 0.5284 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1047, allocations: 83.33 kB / 0.5285 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.1048, allocations: 69.64 kB / 0.5285 GB, free: 12.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.1049, allocations: 334.8 kB / 0.5289 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.105, allocations: 79.67 kB / 0.5289 GB, free: 12.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1051, allocations: 163.1 kB / 0.5291 GB, free: 11.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.1058, allocations: 461.2 kB / 0.5295 GB, free: 11.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1058, allocations: 0 / 0.5295 GB, free: 11.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003055/0.1061, allocations: 305.2 kB / 0.5298 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1062, allocations: 8 kB / 0.5298 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1062, allocations: 4 kB / 0.5298 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1062, allocations: 4 kB / 0.5298 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.1063, allocations: 83.83 kB / 0.5299 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1064, allocations: 4.375 kB / 0.5299 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/0.1064, allocations: 43.72 kB / 0.53 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1064, allocations: 16 kB / 0.53 GB, free: 10.9 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.000138/0.1066, allocations: 141.7 kB / 0.5301 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1066, allocations: 23.84 kB / 0.5301 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.1069, allocations: 223.3 kB / 0.5303 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1069, allocations: 0 / 0.5303 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1069, allocations: 8 kB / 0.5304 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1069, allocations: 3.984 kB / 0.5304 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.1072, allocations: 264.5 kB / 0.5306 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1072, allocations: 0 / 0.5306 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.1073, allocations: 59.91 kB / 0.5307 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1073, allocations: 0 / 0.5307 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1074, allocations: 8 kB / 0.5307 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1074, allocations: 3.938 kB / 0.5307 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1074, allocations: 0 / 0.5307 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.1077, allocations: 376.2 kB / 0.531 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.1077, allocations: 23.8 kB / 0.5311 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1077, allocations: 8 kB / 0.5311 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1078, allocations: 11.98 kB / 0.5311 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.1079, allocations: 23.95 kB / 0.5311 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1079, allocations: 4.094 kB / 0.5311 GB, free: 9.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.1079, allocations: 153 kB / 0.5312 GB, free: 9.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1079, allocations: 0 / 0.5312 GB, free: 9.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.1082, allocations: 43.95 kB / 0.5313 GB, free: 9.469 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0004952/0.1086, allocations: 0.9156 MB / 0.5322 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.1089, allocations: 191.7 kB / 0.5324 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1089, allocations: 3.938 kB / 0.5324 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.109, allocations: 87.91 kB / 0.5325 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.1092, allocations: 30.94 kB / 0.5325 GB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.1115, allocations: 2.633 MB / 0.5351 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.191e-05/0.1116, allocations: 138.5 kB / 0.5352 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.387e-05/0.1116, allocations: 30.28 kB / 0.5352 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.1117, allocations: 71.41 kB / 0.5353 GB, free: 5.199 MB / 394.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1117, allocations: 0 / 0.5353 GB, free: 5.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.1278, allocations: 5.196 MB / 0.5404 GB, free: 132 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/6.784, allocations: 11.91 kB / 0.5404 GB, free: 120 kB / 394.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_control_structures_Cascade_basic_fmu --startTime=0 --stopTime=200 --stepSize=0.4 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_control_structures_Cascade_basic.fmu > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.816286232322454] Failed to read output from testmodel.py, exit status != 0: 6.866218429990113 6.880516737 6.776364825 Calling exit ...