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.0006982/0.0006982, allocations: 109.6 kB / 20.46 MB, free: 4.602 MB / 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.0007498/0.0007498, allocations: 205.4 kB / 23.77 MB, free: 2.266 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.8796/0.8796, allocations: 230.6 MB / 257.5 MB, free: 9.832 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.06224/0.06224, allocations: 24.52 MB / 338.5 MB, free: 10.15 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [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.0009339/0.0009339, allocations: 67.89 kB / 476.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09377/0.0947, allocations: 59.72 MB / 0.5239 GB, free: 2.387 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002274/0.09697, allocations: 1.903 MB / 0.5257 GB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003513/0.09733, allocations: 199.1 kB / 0.5259 GB, free: 276 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.879e-05/0.09741, allocations: 3.938 kB / 0.5259 GB, free: 272 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.09755, allocations: 43.53 kB / 0.5259 GB, free: 228 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.0976, allocations: 11.81 kB / 0.526 GB, free: 216 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.09783, allocations: 91.81 kB / 0.526 GB, free: 124 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.09807, allocations: 236.9 kB / 0.5263 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.0982, allocations: 48.48 kB / 0.5263 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.09827, allocations: 83.7 kB / 0.5264 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.09837, allocations: 99.45 kB / 0.5265 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.0984, allocations: 20 kB / 0.5265 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.09842, allocations: 20 kB / 0.5265 GB, free: 15.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.09845, allocations: 47.84 kB / 0.5266 GB, free: 15.58 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.09851, allocations: 87.47 kB / 0.5267 GB, free: 15.49 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.0987, allocations: 207 kB / 0.5269 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.0987, allocations: 4 kB / 0.5269 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.0987, allocations: 0 / 0.5269 GB, free: 15.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.09871, allocations: 0 / 0.5269 GB, free: 15.29 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.0005544/0.09927, allocations: 441.8 kB / 0.5273 GB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.0993, allocations: 8.031 kB / 0.5273 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.09934, allocations: 24.8 kB / 0.5273 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.09954, allocations: 186.8 kB / 0.5275 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.09957, allocations: 16.81 kB / 0.5275 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.09961, allocations: 28.38 kB / 0.5275 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.09987, allocations: 232.9 kB / 0.5278 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.09988, allocations: 4.125 kB / 0.5278 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.0999, allocations: 7.938 kB / 0.5278 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.09991, allocations: 8 kB / 0.5278 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1001, allocations: 157 kB / 0.5279 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1011, allocations: 0.9937 MB / 0.5289 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1013, allocations: 142.6 kB / 0.529 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.22e-05/0.1014, allocations: 68.83 kB / 0.5291 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.1014, allocations: 7.938 kB / 0.5291 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.1015, allocations: 34.56 kB / 0.5291 GB, free: 12.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.1015, allocations: 0 / 0.5291 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003675/0.1018, allocations: 244 kB / 0.5294 GB, free: 12.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1019, allocations: 51.41 kB / 0.5294 GB, free: 12.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.102, allocations: 223.1 kB / 0.5296 GB, free: 12.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.102, allocations: 25.7 kB / 0.5297 GB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.1021, allocations: 164.3 kB / 0.5298 GB, free: 12.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1021, allocations: 79.33 kB / 0.5299 GB, free: 11.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1022, allocations: 69.7 kB / 0.53 GB, free: 11.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.1023, allocations: 338.8 kB / 0.5303 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-05/0.1024, allocations: 79.73 kB / 0.5304 GB, free: 11.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1025, allocations: 155.1 kB / 0.5305 GB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.1032, allocations: 468.8 kB / 0.531 GB, free: 10.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1032, allocations: 0 / 0.531 GB, free: 10.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003009/0.1035, allocations: 305.1 kB / 0.5312 GB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1035, allocations: 8 kB / 0.5312 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1035, allocations: 4 kB / 0.5313 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1036, allocations: 4 kB / 0.5313 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1037, allocations: 75.91 kB / 0.5313 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1037, allocations: 8.359 kB / 0.5313 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.566e-05/0.1038, allocations: 43.73 kB / 0.5314 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1038, allocations: 15.94 kB / 0.5314 GB, free: 10.35 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.0001424/0.1039, allocations: 149.7 kB / 0.5315 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.104, allocations: 27.8 kB / 0.5316 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1042, allocations: 215.4 kB / 0.5318 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1042, allocations: 4 kB / 0.5318 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1042, allocations: 4 kB / 0.5318 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1043, allocations: 0 / 0.5318 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.1045, allocations: 288.5 kB / 0.5321 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1045, allocations: 3.938 kB / 0.5321 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1047, allocations: 55.91 kB / 0.5321 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1047, allocations: 0 / 0.5321 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1047, allocations: 11.94 kB / 0.5321 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1047, allocations: 0 / 0.5321 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1047, allocations: 4 kB / 0.5321 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.105, allocations: 377.1 kB / 0.5325 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.105, allocations: 27.73 kB / 0.5325 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1051, allocations: 4 kB / 0.5325 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.1051, allocations: 11.98 kB / 0.5325 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1052, allocations: 23.95 kB / 0.5325 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1052, allocations: 8 kB / 0.5326 GB, free: 9.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.1053, allocations: 141 kB / 0.5327 GB, free: 8.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1053, allocations: 0 / 0.5327 GB, free: 8.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.1054, allocations: 44 kB / 0.5327 GB, free: 8.891 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 7.677e-05/0.1055, allocations: 111.2 kB / 0.5328 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1058, allocations: 188.4 kB / 0.533 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1058, allocations: 4 kB / 0.533 GB, free: 8.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.178e-05/0.1059, allocations: 95.09 kB / 0.5331 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1061, allocations: 42.53 kB / 0.5332 GB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.1067, allocations: 0.5468 MB / 0.5337 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1069, allocations: 0.7482 MB / 0.5344 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.1069, allocations: 23.44 kB / 0.5344 GB, free: 7.086 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1069, allocations: 0 / 0.5344 GB, free: 7.086 MB / 394.7 MB Notification: Performance of Templates: time 0.002907/0.1098, allocations: 2.681 MB / 0.5371 GB, free: 4.398 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (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 & ./AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.209910014178604] Failed to read output from testmodel.py, exit status != 0: 0.11439851531758904 0.12246485000000001 0.02217606 Calling exit ...