Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.0009223/0.0009223, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001172/0.001172, allocations: 177.3 kB / 24.08 MB, free: 432 kB / 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 1.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.06592/0.06592, allocations: 18.14 MB / 279.2 MB, free: 11.18 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_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 358.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.012e-05, allocations: 2.312 kB / 358.6 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002637/0.002668, allocations: 1.868 MB / 360.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.003069, allocations: 191.3 kB / 360.6 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.003156, allocations: 3.938 kB / 360.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.003272, allocations: 39.55 kB / 360.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.003331, allocations: 19.8 kB / 360.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.003512, allocations: 91.86 kB / 360.8 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.003742, allocations: 240.7 kB / 361 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.00387, allocations: 40.56 kB / 361.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.003966, allocations: 79.81 kB / 361.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.00405, allocations: 71.75 kB / 361.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.00408, allocations: 16 kB / 361.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.0041, allocations: 20 kB / 361.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.561e-05/0.004136, allocations: 51.77 kB / 361.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.004187, allocations: 71.8 kB / 361.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004329, allocations: 135.3 kB / 361.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004332, allocations: 0 / 361.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004333, allocations: 0 / 361.5 MB, free: 4.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004338, allocations: 0 / 361.5 MB, free: 4.809 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005448/0.004883, allocations: 0.5352 MB / 362 MB, free: 4.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.004918, allocations: 12.92 kB / 362.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.004973, allocations: 44.78 kB / 362.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.005143, allocations: 184.9 kB / 362.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.005166, allocations: 20.88 kB / 362.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.005199, allocations: 24.38 kB / 362.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.005451, allocations: 220.4 kB / 362.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005461, allocations: 192 / 362.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.005477, allocations: 12.38 kB / 362.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.005487, allocations: 4.375 kB / 362.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.005593, allocations: 84.92 kB / 362.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.006756, allocations: 1.095 MB / 363.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.006916, allocations: 111 kB / 363.8 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.006963, allocations: 39.61 kB / 363.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.00699, allocations: 8 kB / 363.9 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.007013, allocations: 37.38 kB / 363.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.007014, allocations: 0 / 363.9 MB, free: 2.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002508/0.007265, allocations: 168.6 kB / 364.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.007292, allocations: 55.41 kB / 364.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.00742, allocations: 250.6 kB / 364.4 MB, free: 1.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.007437, allocations: 29.7 kB / 364.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.00752, allocations: 211 kB / 364.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.007569, allocations: 83.3 kB / 364.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.007643, allocations: 83.25 kB / 364.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.007771, allocations: 0.5078 MB / 365.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.007826, allocations: 35.91 kB / 365.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.00793, allocations: 159.9 kB / 365.5 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.008148, allocations: 253.2 kB / 365.7 MB, free: 244 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.008152, allocations: 4 kB / 365.7 MB, free: 240 kB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004205/0.008572, allocations: 241.2 kB / 366 MB, free: 15.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.008588, allocations: 8 kB / 366 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.008594, allocations: 4 kB / 366 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.008609, allocations: 4 kB / 366 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.008786, allocations: 79.84 kB / 366.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.008792, allocations: 8.312 kB / 366.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.008875, allocations: 43.77 kB / 366.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.008887, allocations: 8 kB / 366.1 MB, free: 15.84 MB / 346.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_E.iTS,PI_I.iTS,PI_I.iNoInc,PI_I.iNoDec) * 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.0001972/0.009084, allocations: 192.1 kB / 366.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.009119, allocations: 27.86 kB / 366.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.009343, allocations: 167.4 kB / 366.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.009347, allocations: 4 kB / 366.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.009353, allocations: 11.94 kB / 366.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.009357, allocations: 0 / 366.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.009628, allocations: 189.1 kB / 366.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.009633, allocations: 3.984 kB / 366.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.0098, allocations: 67.84 kB / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.009803, allocations: 0 / 366.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.009818, allocations: 4 kB / 366.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.009821, allocations: 3.984 kB / 366.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009823, allocations: 0 / 366.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.01021, allocations: 371.5 kB / 367.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.01023, allocations: 19.84 kB / 367.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.01025, allocations: 4 kB / 367.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.01032, allocations: 11.98 kB / 367.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.01037, allocations: 27.95 kB / 367.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01038, allocations: 0 / 367.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.781e-05/0.01045, allocations: 169.4 kB / 367.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01045, allocations: 0 / 367.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.01065, allocations: 55.83 kB / 367.4 MB, free: 14.48 MB / 346.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.206e-05/0.01075, allocations: 103.2 kB / 367.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01093, allocations: 139.4 kB / 367.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01093, allocations: 0 / 367.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.201e-05/0.011, allocations: 79.5 kB / 367.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01122, allocations: 33.39 kB / 367.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.01186, allocations: 486 kB / 368.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.01192, allocations: 80.33 kB / 368.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.012, allocations: 26.28 kB / 368.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.0121, allocations: 106.2 kB / 368.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0121, allocations: 4 kB / 368.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of Templates: time 0.004596/0.0167, allocations: 2.28 MB / 370.7 MB, free: 11.11 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9431394608691335]