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.001431/0.001431, allocations: 84.23 kB / 20.23 MB, free: 4.211 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.00158/0.00158, allocations: 157.7 kB / 23.54 MB, free: 0.9023 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1048/0.1048, allocations: 18.14 MB / 278.5 MB, free: 11.33 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 2.695e-06/2.695e-06, allocations: 0 / 357.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.753e-05/5.022e-05, allocations: 6.312 kB / 357.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.004017/0.004067, allocations: 1.81 MB / 359.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005721/0.004639, allocations: 195.4 kB / 359.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.004736, allocations: 11.88 kB / 359.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.004896, allocations: 31.61 kB / 359.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.004972, allocations: 15.81 kB / 359.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.005231, allocations: 99.72 kB / 359.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.005578, allocations: 236.8 kB / 359.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.005737, allocations: 44.56 kB / 359.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.005867, allocations: 83.73 kB / 359.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006002, allocations: 63.78 kB / 359.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.006048, allocations: 20 kB / 359.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.581e-05/0.006084, allocations: 20 kB / 359.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.006146, allocations: 51.8 kB / 360 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.006235, allocations: 63.77 kB / 360 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.006525, allocations: 203.2 kB / 360.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.006528, allocations: 0 / 360.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006529, allocations: 0 / 360.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.006536, allocations: 0 / 360.2 MB, free: 4.449 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.0009674/0.007503, allocations: 441.8 kB / 360.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.007547, allocations: 8.922 kB / 360.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.007655, allocations: 44.8 kB / 360.7 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.00802, allocations: 186 kB / 360.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.008065, allocations: 20.88 kB / 360.9 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.008123, allocations: 24.38 kB / 361 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.0086, allocations: 233.7 kB / 361.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.008614, allocations: 12.12 kB / 361.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.008641, allocations: 8.375 kB / 361.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.008651, allocations: 4.375 kB / 361.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.009042, allocations: 160.9 kB / 361.4 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.01091, allocations: 0.9163 MB / 362.3 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.01126, allocations: 146.6 kB / 362.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.01142, allocations: 64.83 kB / 362.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.01146, allocations: 4 kB / 362.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.0115, allocations: 38.56 kB / 362.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.0115, allocations: 0 / 362.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006646/0.01216, allocations: 248.2 kB / 362.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.01222, allocations: 55.41 kB / 362.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.01245, allocations: 207.7 kB / 363 MB, free: 1.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.01249, allocations: 29.7 kB / 363.1 MB, free: 1.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.01264, allocations: 164.2 kB / 363.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.831e-05/0.01273, allocations: 83.27 kB / 363.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.01285, allocations: 73.69 kB / 363.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.01305, allocations: 334.8 kB / 363.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.01323, allocations: 71.92 kB / 363.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.01351, allocations: 171.1 kB / 363.9 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.01509, allocations: 476.2 kB / 364.4 MB, free: 16 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.0151, allocations: 0 / 364.4 MB, free: 16 kB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006614/0.01576, allocations: 321.5 kB / 364.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.01578, allocations: 12.03 kB / 364.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01579, allocations: 0 / 364.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.323e-05/0.01582, allocations: 15.92 kB / 364.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.01616, allocations: 71.91 kB / 364.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.01617, allocations: 7.938 kB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.01636, allocations: 43.72 kB / 364.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.01639, allocations: 12 kB / 364.9 MB, free: 15.54 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_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.0002536/0.01664, allocations: 146.8 kB / 365 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.0167, allocations: 27.86 kB / 365 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.01724, allocations: 223.4 kB / 365.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.01725, allocations: 3.938 kB / 365.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.01726, allocations: 4 kB / 365.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.01727, allocations: 3.984 kB / 365.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.01776, allocations: 221.1 kB / 365.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01776, allocations: 0 / 365.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.01811, allocations: 63.97 kB / 365.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01811, allocations: 0 / 365.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.01814, allocations: 8 kB / 365.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.01815, allocations: 7.984 kB / 365.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.01815, allocations: 3.938 kB / 365.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.01887, allocations: 380.6 kB / 365.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.01892, allocations: 27.8 kB / 366 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.01895, allocations: 0 / 366 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.01911, allocations: 15.98 kB / 366 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.01921, allocations: 39.81 kB / 366 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.01922, allocations: 8 kB / 366 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.01935, allocations: 133.5 kB / 366.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01935, allocations: 0 / 366.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.01969, allocations: 51.89 kB / 366.2 MB, free: 14.14 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 0.0001467/0.01984, allocations: 103.3 kB / 366.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.02032, allocations: 205.6 kB / 366.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02033, allocations: 0 / 366.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.02053, allocations: 83.91 kB / 366.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.02088, allocations: 34.48 kB / 366.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02193, allocations: 0.4886 MB / 367.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.02209, allocations: 142.2 kB / 367.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.02221, allocations: 26.28 kB / 367.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.0223, allocations: 28.5 kB / 367.3 MB, free: 13 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.0223, allocations: 0 / 367.3 MB, free: 13 MB / 298.7 MB Notification: Performance of Templates: time 0.006331/0.02863, allocations: 2.085 MB / 369.4 MB, free: 10.93 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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.68003518297337]