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.0009905/0.0009905, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001022/0.001022, allocations: 165.1 kB / 24.85 MB, free: 8.641 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.535 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.06546/0.06546, allocations: 18.15 MB / 280 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.453e-06/1.453e-06, allocations: 0 / 359.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.065e-05, allocations: 2.312 kB / 359.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002158/0.002178, allocations: 1.846 MB / 361.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000354/0.002532, allocations: 191.3 kB / 361.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.002604, allocations: 15.81 kB / 361.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.888e-05/0.002692, allocations: 27.67 kB / 361.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.002742, allocations: 27.73 kB / 361.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.002888, allocations: 95.8 kB / 361.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.003078, allocations: 236.8 kB / 361.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.003169, allocations: 40.55 kB / 361.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.003231, allocations: 83.73 kB / 361.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.003305, allocations: 67.78 kB / 362 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.00333, allocations: 20 kB / 362 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.003351, allocations: 20 kB / 362 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.003383, allocations: 55.8 kB / 362.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.003425, allocations: 59.83 kB / 362.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003546, allocations: 139.4 kB / 362.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003548, allocations: 0 / 362.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003549, allocations: 0 / 362.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.003552, allocations: 3.938 kB / 362.3 MB, free: 3.773 MB / 282.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.000454/0.004006, allocations: 0.5391 MB / 362.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.376e-05/0.00403, allocations: 12.92 kB / 362.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.004074, allocations: 36.8 kB / 362.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.004218, allocations: 192.8 kB / 363.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.004239, allocations: 16.88 kB / 363.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.004266, allocations: 24.38 kB / 363.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.004467, allocations: 212.5 kB / 363.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.004475, allocations: 4.125 kB / 363.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.004489, allocations: 12.38 kB / 363.3 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.004496, allocations: 12.34 kB / 363.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/0.004593, allocations: 84.92 kB / 363.4 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.00546, allocations: 1.087 MB / 364.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.005592, allocations: 119 kB / 364.6 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.005636, allocations: 39.67 kB / 364.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.005653, allocations: 4 kB / 364.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.005668, allocations: 33.39 kB / 364.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.005669, allocations: 0 / 364.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002186/0.005888, allocations: 168.4 kB / 364.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.005911, allocations: 55.41 kB / 364.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.00603, allocations: 262.6 kB / 365.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006045, allocations: 33.7 kB / 365.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.006119, allocations: 207 kB / 365.4 MB, free: 444 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.006157, allocations: 79.31 kB / 365.5 MB, free: 364 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.006219, allocations: 79.3 kB / 365.6 MB, free: 276 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.006339, allocations: 0.5039 MB / 366.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.006383, allocations: 35.91 kB / 366.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/0.006482, allocations: 163.8 kB / 366.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.006677, allocations: 252.7 kB / 366.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006679, allocations: 4 kB / 366.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002249/0.006904, allocations: 249.1 kB / 366.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.006932, allocations: 10.97 kB / 366.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006936, allocations: 4 kB / 366.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.006944, allocations: 4 kB / 366.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.00711, allocations: 76.28 kB / 366.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007117, allocations: 19.86 kB / 366.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.007194, allocations: 31.78 kB / 366.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.007206, allocations: 12 kB / 366.9 MB, free: 14.8 MB / 298.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.0001141/0.00732, allocations: 189 kB / 367.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.007354, allocations: 23.86 kB / 367.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.007537, allocations: 172.1 kB / 367.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.007539, allocations: 3.984 kB / 367.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.007542, allocations: 7.938 kB / 367.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007545, allocations: 0 / 367.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.007776, allocations: 197.1 kB / 367.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007777, allocations: 0 / 367.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.007944, allocations: 51.97 kB / 367.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007946, allocations: 0 / 367.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.007959, allocations: 8 kB / 367.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.00796, allocations: 0 / 367.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007961, allocations: 0 / 367.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.008215, allocations: 362.7 kB / 367.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.008232, allocations: 23.8 kB / 367.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.008249, allocations: 4 kB / 367.9 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.00832, allocations: 11.98 kB / 367.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.008363, allocations: 27.95 kB / 368 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.00837, allocations: 4 kB / 368 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.008428, allocations: 173.3 kB / 368.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008428, allocations: 0 / 368.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.008617, allocations: 55.77 kB / 368.2 MB, free: 13.46 MB / 298.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 6.482e-05/0.008681, allocations: 111.2 kB / 368.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.008874, allocations: 143.4 kB / 368.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.008876, allocations: 0 / 368.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.008968, allocations: 69.16 kB / 368.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.009171, allocations: 38.84 kB / 368.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.009682, allocations: 482.1 kB / 369 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.009727, allocations: 84.31 kB / 369.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.35e-05/0.009801, allocations: 30.28 kB / 369.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.00989, allocations: 98.2 kB / 369.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009891, allocations: 4 kB / 369.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Templates: time 0.004118/0.01401, allocations: 2.341 MB / 371.6 MB, free: 10.03 MB / 298.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.9034236250445247]