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.0007137/0.0007137, allocations: 84.44 kB / 20.7 MB, free: 3.844 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.0007308/0.0007308, allocations: 169.2 kB / 23.97 MB, free: 0.5703 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.8498/0.8498, allocations: 177.2 MB / 204.4 MB, free: 5.75 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.05844/0.05844, allocations: 18.03 MB / 278.8 MB, free: 11.64 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: 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.0009246/0.0009246, allocations: 66.88 kB / 417.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09123, allocations: 59.65 MB / 476.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002255/0.09349, allocations: 1.824 MB / 478.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.09389, allocations: 187.2 kB / 478.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.094, allocations: 7.938 kB / 478.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.09413, allocations: 31.59 kB / 478.8 MB, free: 10 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.09419, allocations: 27.73 kB / 478.8 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.09439, allocations: 87.89 kB / 478.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.09463, allocations: 240.8 kB / 479.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.09475, allocations: 52.36 kB / 479.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.09483, allocations: 83.7 kB / 479.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.09493, allocations: 83.53 kB / 479.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.09495, allocations: 16 kB / 479.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.09497, allocations: 20 kB / 479.4 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.09501, allocations: 51.78 kB / 479.4 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.09506, allocations: 83.56 kB / 479.5 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.09525, allocations: 207 kB / 479.7 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.09525, allocations: 4 kB / 479.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09525, allocations: 4 kB / 479.7 MB, free: 9.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.09526, allocations: 0 / 479.7 MB, free: 9.062 MB / 378.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.0005701/0.09583, allocations: 449.8 kB / 480.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.09587, allocations: 8.922 kB / 480.1 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.09591, allocations: 24.8 kB / 480.2 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.09616, allocations: 181.2 kB / 480.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.09618, allocations: 20.88 kB / 480.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.09622, allocations: 28.31 kB / 480.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.09678, allocations: 233.7 kB / 480.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.09679, allocations: 4.125 kB / 480.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.09681, allocations: 15.94 kB / 480.6 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.09682, allocations: 4 kB / 480.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.09702, allocations: 153 kB / 480.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.09805, allocations: 0.9085 MB / 481.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.09825, allocations: 153.9 kB / 481.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.09833, allocations: 64.84 kB / 481.9 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.09836, allocations: 4 kB / 481.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.09838, allocations: 34.55 kB / 482 MB, free: 6.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.09838, allocations: 0 / 482 MB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003404/0.09872, allocations: 237.7 kB / 482.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.09875, allocations: 59.33 kB / 482.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.09888, allocations: 207.8 kB / 482.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.0989, allocations: 33.7 kB / 482.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.09898, allocations: 156.3 kB / 482.6 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.09902, allocations: 83.31 kB / 482.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.09909, allocations: 69.66 kB / 482.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.09918, allocations: 330.8 kB / 483.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.09929, allocations: 79.7 kB / 483.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.09942, allocations: 163.1 kB / 483.3 MB, free: 5.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/0.1002, allocations: 464.8 kB / 483.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1002, allocations: 0 / 483.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003332/0.1005, allocations: 305.1 kB / 484.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1006, allocations: 15.88 kB / 484.1 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1006, allocations: 8.312 kB / 484.1 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1006, allocations: 8 kB / 484.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1008, allocations: 75.91 kB / 484.2 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1008, allocations: 7.984 kB / 484.2 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.1009, allocations: 31.78 kB / 484.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1009, allocations: 16 kB / 484.3 MB, free: 4.219 MB / 378.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.0001596/0.101, allocations: 153.6 kB / 484.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1011, allocations: 27.8 kB / 484.4 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.1013, allocations: 214.1 kB / 484.6 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1013, allocations: 4 kB / 484.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1013, allocations: 0 / 484.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1013, allocations: 4 kB / 484.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.1016, allocations: 229.1 kB / 484.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1016, allocations: 0 / 484.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1018, allocations: 55.91 kB / 484.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1018, allocations: 4 kB / 484.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1018, allocations: 7.938 kB / 484.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1018, allocations: 4 kB / 484.9 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1018, allocations: 4 kB / 484.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1022, allocations: 378.5 kB / 485.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.1022, allocations: 15.84 kB / 485.3 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1022, allocations: 11.94 kB / 485.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.1023, allocations: 7.984 kB / 485.3 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.1024, allocations: 23.95 kB / 485.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1024, allocations: 8 kB / 485.4 MB, free: 3.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.1024, allocations: 137.5 kB / 485.5 MB, free: 2.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1024, allocations: 0 / 485.5 MB, free: 2.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.1027, allocations: 47.95 kB / 485.6 MB, free: 2.848 MB / 378.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 9.5e-05/0.1028, allocations: 103.3 kB / 485.7 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1031, allocations: 191.7 kB / 485.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1031, allocations: 0 / 485.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1032, allocations: 88.59 kB / 485.9 MB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1034, allocations: 20 kB / 486 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.1043, allocations: 0.5488 MB / 486.5 MB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.754e-05/0.1043, allocations: 142.7 kB / 486.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.243e-05/0.1044, allocations: 22.3 kB / 486.7 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.1045, allocations: 28.44 kB / 486.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1045, allocations: 0 / 486.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of Templates: time 0.004316/0.1088, allocations: 2.029 MB / 488.7 MB, free: 15.65 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 -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7775466819293797] Failed to read output from testmodel.py, exit status != 0: 0.11441950802691281 0.122500988 0.025588335 Calling exit ...